Skip to content

Add React Hooks for customization (part 11)#2552

Merged
compulim merged 2 commits intomicrosoft:masterfrom
compulim:origin/feat-redux-hooks-11
Nov 20, 2019
Merged

Add React Hooks for customization (part 11)#2552
compulim merged 2 commits intomicrosoft:masterfrom
compulim:origin/feat-redux-hooks-11

Conversation

@compulim
Copy link
Copy Markdown
Contributor

@compulim compulim commented Nov 4, 2019

Related to #2539.

Please merge #2540, #2541, #2542, #2543, #2544, #2547, #2548, #2549, #2550, #2551 before reviewing this one.

Changelog Entry

  • Resolves #2539, added React hooks for customization, by @compulim, in the following PRs:
    • PR #2540: useActivities, useReferenceGrammarID, useSendBoxDictationStarted
    • PR #2541: useStyleOptions, useStyleSet
    • PR #2542: useLanguage, useLocalize, useLocalizeDate
    • PR #2543: useAdaptiveCardsHostConfig, useAdaptiveCardsPackage, useRenderMarkdownAsHTML
    • PR #2544: useAvatarForBot, useAvatarForUser
    • PR #2547: useEmitTypingIndicator, usePeformCardAction, usePostActivity, useSendEvent, useSendFiles, useSendMessage, useSendMessageBack, useSendPostBack
    • PR #2548: useDisabled
    • PR #2549: useSuggestedActions
    • PR #2550: useConnectivityStatus, useGroupTimestamp, useTimeoutForSend, useUserID, useUsername
    • PR #2551: useLastTypingAt, useSendTypingIndicator, useTypingIndicator
    • PR #2552: useFocusSendBox, useScrollToEnd, useSendBoxValue, useSubmitSendBox, useTextBoxSubmit, useTextBoxValue

Description

Add several post message related hooks:

  • useFocusSendBox
  • useScrollToEnd
  • useSendBoxValue
  • useSubmitSendBox
  • useTextBoxSubmit
  • useTextBoxValue

Specific Changes

  • Added the following hooks:
    • useFocusSendBox
    • useScrollToEnd
    • useSendBoxValue
    • useSubmitSendBox
    • useTextBoxSubmit
    • useTextBoxValue
  • Updated components to use aforementioned hooks

  • Testing Added

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 4, 2019

Coverage Status

Coverage decreased (-0.2%) to 63.792% when pulling ca2ef6b on compulim:origin/feat-redux-hooks-11 into a08d889 on microsoft:master.

@compulim compulim force-pushed the origin/feat-redux-hooks-11 branch from e331287 to ca2ef6b Compare November 19, 2019 23:32
@compulim compulim merged commit 39ab54e into microsoft:master Nov 20, 2019
@compulim compulim deleted the origin/feat-redux-hooks-11 branch November 20, 2019 07:41
@corinagum corinagum added the R7 label Dec 3, 2019
@compulim compulim mentioned this pull request Dec 10, 2019
73 tasks
@corinagum corinagum mentioned this pull request Dec 13, 2019
73 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move to Redux Hooks

3 participants