Simplify test cases
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Sep 22 2023
Sep 21 2023
Decode alternative text
I've tested this diff on Android and it's working properly.
Sep 20 2023
I'm no longer using entityTextToRawString since I only need to extract alternative text. Please take a look at the latest diff, 31258. Throughout the entire stack, I use the useResolvedThreadInfo hook. Also, I'm not handling ENS names in this stack; user mentions are handled as they were before. The only change was made in the search index -> however this change does affect mentioning in the input bar only. I can add a comment that the new search index needs to be refactored to support ENS names.
Sep 19 2023
Abandoning this diff since I don't have much time left in Comm.
Abandoning this diff since I don't have much time left in Comm.
Remove unused utilities and introduce renderChatMentionsWithAltText
Use getRawChatMention
Remove oldValidUsernameRegexString.
Remove oldValidUsernameRegexString from mention regex
Extract mention text to separate function and apply DRY rule
In D8901#267694, @inka wrote:
Rename addEntryHandler to addAllPrefixes and simplify code
Rebase
Change void to mixed
Rename textPrefix to query
Wrap <a> with <strong>
Rebase and early return textMessageRules
Rebase
@tomek's improvement makes sense, but I'm not applying them right now because I don't believe it will bring significant improvements. If there will be any performance issues during testing, it might be worth wrapping default rules with memo.
Early return textMessageRules
Yes, the sidebarAnimationType is set to move_source_message in this case.
Rebase
Move match word
Sep 18 2023
Fix flow
Fix flow bugs
Rebuild
Rebuild
Failing CI fix
Use new syntax
Destructure options.
Sep 15 2023
Sep 14 2023
This code works properly on iOS, but I need to check if it is working properly on Android.
Sep 13 2023
Unfortunately, I don't have time to fix this diff, so I'll have to abandon it because it requires a refactor.
Unfortunately, I don't have time to fix this diff, so I'll have to abandon it because it requires a refactor.
Sep 4 2023
Sep 3 2023
Sep 1 2023
Refactor useThreadChatMentionCandidates
Change getDefaultTextMessageRules
Change getDefaultTextMessageRules
Since _memoize can use too much memory, I'm abandoning this diff and leaving the previous approach.
Fix nits
Change test messages
Aug 31 2023
Rebase
Rebase
Rebase
Use idSchemaRegex
Fix
Rebase
Rebase
Change renderTypeaheadButton to component since this function does not return an array of components like on web
Simplify useMemos
Aug 30 2023
Refactor getMentionTypeaheadChatSuggestions
Change useChatMentionSearchIndex
Rename variable and hook
Remove memoization and threadInfo prop
Rebase
Change chat to threadInfo
Rebase
Add read-only type
Remove style prop
Rebase
Move style condition to chat mention component
Remove threadInfo prop