Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add React Hooks for customization (part 11) #2552

Merged
merged 2 commits into from
Nov 20, 2019

Conversation

compulim
Copy link
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

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 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