packages/api/src/hooks/Composer.tsx (14 lines): - line 119: * @todo TODO: [P3] We should change this one to async/await. - line 205: activityRenderer?: any; // TODO: [P4] Remove on or after 2022-06-15. - line 207: activityStatusRenderer?: any; // TODO: [P4] Remove on or after 2022-06-15. - line 209: attachmentRenderer?: any; // TODO: [P4] Remove on or after 2022-06-15. - line 211: avatarRenderer?: any; // TODO: [P4] Remove on or after 2022-06-15. - line 213: groupTimestamp?: boolean | number; // TODO: [P4] Remove on or after 2022-01-01 - line 215: sendTimeout?: number; // TODO: [P4] Remove on or after 2022-01-01. - line 217: toastRenderer?: any; // TODO: [P4] Remove on or after 2022-06-15. - line 219: typingIndicatorRenderer?: any; // TODO: [P4] Remove on or after 2022-06-15. - line 292: * @todo TODO: [P3] disconnect() is an async call (pending -> fulfilled), we need to wait, or change it to reconnect() - line 418: * @todo TODO: [P4] Might be able to throw without returning a function -- investigate and possibly fix - line 526: * @todo TODO: [P3] We should think about if we allow the user to change onSendBoxValueChanged/sendBoxValue, e.g. - line 529: * @todo TODO: [P4] Revisit all members of context - line 607: * @todo TODO: [P3] We should consider moving some data from Redux store to props packages/playground/src/App.js (7 lines): - line 29: // TODO: Add action buttons in tooltip later - line 167: // TODO: (#3515) change to TOAST - line 174: // TODO: (#3515) remember if user was connected to official mock bot or local, then fetch token from that - line 188: // TODO: (#3515) Change to TOAST - line 196: // TODO: (#3515) Change to TOAST - line 375: {/* TODO: (#3515) enable search */} - line 525: {/* TODO: (#3515) info icon: Send 'herocard long title' to test this feature */} packages/support/cldr-data-downloader/src/state.js (4 lines): - line 36: // TODO: Consider using in-memory file system. - line 37: // TODO: Turn this into async. - line 56: // TODO: Consider using in-memory file system. - line 57: // TODO: Turn this into async. packages/core/src/sagas/connectSaga.js (4 lines): - line 39: // TODO: [P2] We should move this check and rectification to DirectLineJS. - line 45: // TODO: Add test to make sure "jwt-decode" work as expected. - line 100: // TODO: [P2] DirectLineJS should kill the connection when we unsubscribe - line 186: // TODO: [P2] Checks if this attached subtask will get killed if the parent task is complete (peacefully), errored out, or cancelled. packages/bundle/src/adaptiveCards/Styles/StyleSet/AudioCardAttachment.js (3 lines): - line 1: // TODO: [P4] We are moving attachments related to Adaptive Cards out of "component" - line 7: // TODO: [P2] We should not set "display" in styleSet, this will allow the user to break the layout for no good reasons. - line 12: // TODO: [P2] We should not set "listStyleType" in styleSet, the user have no good reasons to change this. packages/support/cldr-data-downloader/src/download.js (3 lines): - line 67: // TODO: Consider in-memory file system. - line 68: // TODO: Turn this into async. - line 82: // TODO: Consider in-memory file system. packages/bundle/src/adaptiveCards/Styles/StyleSet/AnimationCardAttachment.js (3 lines): - line 1: // TODO: [P4] We are moving attachments related to Adaptive Cards out of "component" - line 7: // TODO: [P2] We should not set "display" in styleSet, this will allow the user to break the layout for no good reasons. - line 12: // TODO: [P2] We should not set "listStyleType" in styleSet, the user have no good reasons to change this. packages/support/cldr-data-downloader/src/available_locales.js (3 lines): - line 22: // TODO: Turn this into async. - line 26: // TODO: Turn this into async. - line 56: // TODO: Turn this into async. packages/directlinespeech/src/createAdapters.js (2 lines): - line 181: // TODO: We should use a public implementation if Speech SDK has one related to "privIsDisposed". - line 221: // TODO: We should use a public implementation if Speech SDK has one related to "privIsDisposed". packages/api/src/hooks/useLocalize.ts (2 lines): - line 5: // TODO: Remove on or after 2022-02-12. - line 10: // TODO: [P3] Use useMemo to cache the result. packages/directlinespeech/src/patchDialogServiceConnectorInline.js (2 lines): - line 41: // TODO: [P1] #2664 startContinuousRecognitionAsync is not working yet in Speech SDK 1.15.0. - line 60: // TODO: stopContinuousRecognitionAsync is not working yet. packages/core/src/reducers/activities.js (2 lines): - line 30: // TODO: [P2] #2869 This "contentURL" removal code should be moved to DirectLineJS adapter. - line 107: // TODO: [P4] #2100 Move "typing" into Constants.ActivityType packages/component/src/BasicTranscript.tsx (2 lines): - line 510: // TODO: [P2] #2858 We should use core/definitions/speakingActivity for this predicate instead - line 897: {/* TODO: [P2] Fix ESLint error `no-use-before-define` */} packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.tsx (2 lines): - line 512: // TODO: [P2] #3199 We should consider using `adaptiveCard.selectAction` instead. - line 633: // TODO: [P3] Checks if we could make the "renderMarkdownAsHTML" per card packages/api/src/StyleOptions.ts (2 lines): - line 227: // TODO: [P4] Will be removed on or after 2023-06-02. - line 727: // TODO: [P4] Will be removed on or after 2023-06-02. packages/directlinespeech/src/DirectLineSpeech.js (2 lines): - line 84: // TODO: [P2] We should move user ID into options of DirectLineJS, instead of Web Chat. - line 91: // TODO: [P1] Direct Line Speech server currently do not ack the outgoing activities with any activity ID or timestamp. packages/component/src/Activity/Speak.tsx (2 lines): - line 12: // TODO: [P4] Consider moving this feature into BasicActivity - line 15: // TODO: [P3] We should add a "spoken" or "speakState" flag to indicate whether this activity is going to speak, or spoken packages/support/cldr-data-downloader/src/util.js (2 lines): - line 41: // TODO: Consider using in-memory file system. - line 42: // TODO: Turn this into async. packages/component/src/Activity/StackedLayout.tsx (1 line): - line 84: // TODO: [P4] We want to deprecate botAvatarInitials/userAvatarInitials because they are not as helpful as avatarInitials packages/component/src/Middleware/CardAction/createCoreMiddleware.js (1 line): - line 69: * @todo TODO: [P3] We should prime the URL into the OAuthCard directly, instead of calling getSessionId on-demand packages/bundle/src/speech/createMicrophoneAudioConfigAndAudioContext.ts (1 line): - line 13: // TODO: [P2] #3975 We should consider building our own PcmRecorder: packages/api/src/normalizeStyleOptions.ts (1 line): - line 26: // TODO: [P4] We should add a notice for people who want to use "styleSet" instead of "styleOptions". packages/component/src/BasicSendBox.tsx (1 line): - line 33: // TODO: [P3] We should consider exposing core/src/definitions and use it instead packages/component/src/Middleware/Attachment/createCoreMiddleware.tsx (1 line): - line 10: // TODO: [P4] Rename this file or the whole middleware, it looks either too simple or too comprehensive now packages/core/src/actions/connectionStatusUpdate.js (1 line): - line 1: // TODO: [P3] We should obsolete this action in favor of DIRECT_LINE/UPDATE_CONNECTION_STATUS. packages/component/src/Styles/StyleSet/Toaster.ts (1 line): - line 73: // TODO: Checks if pass A11y contrast ratio requirement packages/component/src/SendBox/UploadButton.tsx (1 line): - line 65: // TODO: [P3] We need to find revokeObjectURL on the UI side packages/component/src/hooks/internal/UITracker.js (1 line): - line 22: // TODO: [P2] #2937 Differentiate between Cognitive Services and browser speech packages/component/src/hooks/internal/useObserveFocusVisible.ts (1 line): - line 70: // TODO: Add tests packages/api/src/patchStyleOptionsFromDeprecatedProps.js (1 line): - line 3: // TODO: [P4] We should add a notice for people who want to use "styleSet" instead of "styleOptions". packages/component/src/hooks/useSendFiles.ts (1 line): - line 41: // TODO: [P3] We need to find revokeObjectURL on the UI side packages/component/src/Middleware/Activity/createCoreMiddleware.tsx (1 line): - line 15: // TODO: [P4] Can we simplify these if-statement to something more readable? packages/component/src/SendBox/SuggestedAction.tsx (1 line): - line 90: // TODO: [P3] #XXX We should not destruct DirectLineCardAction into React props and pass them in. It makes typings difficult. packages/component/src/SendBox/MicrophoneButton.tsx (1 line): - line 118: // TODO: [P2] We should revisit this function later packages/bundle/src/speech/createAudioConfig.ts (1 line): - line 1: // TODO: [P2] #3976 We should export this to allow web developers to bring in their own microphone. packages/bundle/src/createFullStyleSet.ts (1 line): - line 6: // TODO: [P4] We should add a notice for people who want to use "styleSet" instead of "styleOptions". packages/component/src/Activity/SayAlt.js (1 line): - line 6: // TODO: [P3] Although this is for development purpose, prettify it packages/bundle/src/speech/createAudioContext.ts (1 line): - line 14: // TODO: Fix this. packages/core/src/sagas/queueIncomingActivitySaga.js (1 line): - line 86: // TODO: [P3] We could put this logic inside reducer to minimize number of actions dispatched. packages/api/src/types/ActivityStatusMiddleware.ts (1 line): - line 6: // TODO: Migrate this legacy middleware signature. packages/api/src/hooks/internal/useTracker.js (1 line): - line 12: // TODO: [P2] #2937 Track how many of them customized the following: packages/component/src/connectToWebChat.js (1 line): - line 40: // TODO: [P1] Instead of exposing Redux store via props, we should consider exposing via Context. packages/playground/src/DebugAdaptiveCardAttachment.js (1 line): - line 20: // TODO: [P3] Move from "onParseError" to "card.parse(json, errors)" packages/component/src/hooks/internal/useAcknowledgedActivity.ts (1 line): - line 29: // TODO: [P2] #3670 Move the "conversation history acknowledgement" logic mentioned above to polyfill of chat adapters. packages/api/src/hooks/middleware/createDefaultCardActionMiddleware.ts (1 line): - line 20: // TODO: [P4] Instead of calling dispatch, we should move to dispatchers instead for completeness packages/component/src/Styles/createStyleSet.ts (1 line): - line 44: // TODO: [P4] We should add a notice for people who want to use "styleSet" instead of "styleOptions". packages/api/src/hooks/useDictateState.ts (1 line): - line 3: // TODO: [P3] We should update this code to use core/src/selectors/dictateState.js packages/component/src/Styles/StyleSet/AudioAttachment.ts (1 line): - line 5: // TODO: [P2] We should not set "display" in styleSet, this will allow the user to break the layout for no good reasons. packages/component/src/Utils/activityAltText.ts (1 line): - line 83: // TODO: [P2] #3923 Revisit this logic with W3C standard, we could do a better text alternatives computation. packages/core/src/sagas/stopDictateOnCardActionSaga.js (1 line): - line 8: // TODO: [P2] We should stop speech input when the user click on anything on a card, including open URL which doesn't generate postActivity packages/api/src/types/ActivityMiddleware.ts (1 line): - line 23: // TODO: [P2] This is inherited from our older signature (pre-hook) which requires passing "renderAttachment" argument. packages/component/src/Middleware/TypingIndicator/createCoreMiddleware.tsx (1 line): - line 22: // TODO: [P4] Rename this file or the whole middleware, it looks either too simple or too comprehensive now packages/core/src/reducer.ts (1 line): - line 37: // TODO: [P3] Take this deprecation code out when releasing on or after 2022-02-16 packages/component/src/SendBox/DictationInterims.tsx (1 line): - line 76: // TODO: [P3] After speech started, when clicking on the transcript, it should packages/core/src/sagas/markAllAsSpokenOnStopSpeakActivitySaga.js (1 line): - line 16: // TODO: [P4] We should turn this into a reducer instead packages/component/src/Styles/StyleSet/ErrorBox.ts (1 line): - line 5: // TODO: [P2] We should not set "display" in styleSet, this will allow the user to break the layout for no good reasons. packages/bundle/src/createDirectLine.ts (1 line): - line 30: // TODO: [P3] Checks if DLJS supports ponyfilling fetch. packages/bundle/src/adaptiveCards/Styles/createAdaptiveCardsStyleSet.ts (1 line): - line 10: // TODO: [P4] We should add a notice for people who want to use "styleSet" instead of "styleOptions". packages/bundle/src/createDirectLineSpeechAdapters.ts (1 line): - line 13: // TODO: When using DLSpeech via bundle, we will add our own MicrophoneAudioConfig. packages/component/src/Dictation.js (1 line): - line 11: // TODO: [P1] #3350 No /lib/, we need to move setDictateState from bf-wc-core (Redux) to React Context. packages/component/src/Styles/StyleSet/ConnectivityNotification.ts (1 line): - line 13: // TODO: [P2] We should not set "display" in styleSet, this will allow the user to break the layout for no good reasons. packages/core/src/sagas.js (1 line): - line 27: // TODO: [P2] Since fork() silently catches all exceptions, we need to find a way to console.error them out. packages/core/src/sagas/postActivitySaga.js (1 line): - line 74: // TODO: [P4] Currently in v3, we send the capabilities although the client might not actually have them packages/component/src/Styles/StyleSet/ScrollToEndButton.ts (1 line): - line 16: // TODO: [P3] Can we not to unset borderWidth and outline earlier? packages/component/src/Attachment/YouTubeContent.tsx (1 line): - line 23: // TODO: We should encodeURI the URL packages/component/src/Styles/StyleSet/WarningNotification.ts (1 line): - line 15: // TODO: [P2] We should not set "display" in styleSet, this will allow the user to break the layout for no good reasons. packages/playground/src/css.js (1 line): - line 1: // TODO: (#3515) make into proper emotion objects packages/component/src/SendBox/SuggestedActions.tsx (1 line): - line 87: // TODO: The content of suggested actions should be the labelled by the activity. packages/api/src/types/AttachmentForScreenReaderMiddleware.ts (1 line): - line 3: // TODO: We should consider using a prop for "attachmentMiddleware" to render for screen reader, instead of having another middleware. packages/core/src/sagas/startDictateOnSpeakCompleteSaga.js (1 line): - line 20: // TODO: [P4] We should turn this into a reducer instead packages/directlinespeech/src/playCognitiveServicesStream.js (1 line): - line 137: // TODO: [P0] #3692 Remove the following if-condition block when the underlying bugs are resolved.