* MM-61148 Rewrite table parsing based off cmark-gfm
* MM-61148 Add better error handling to Markdown code
* Use logError instead of console.error
* Switch back to published release
* Update import paths
(cherry picked from commit 0efa409023)
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
* refactor to improve requests on login
* include in team sidebar order by display name teams not present in the order preference
* Fix iOS reload while developing
* fix code causing tests to fail
* feedback review
* update network-client
(cherry picked from commit ea2cb45a18)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Add test notification menu
* Reduce the minimum version for testing purposes
* Address feedback
* Add missing strings
* Address feedback
* Fix snapshots
* Bump version limit and use correct link
* Fix tests
* Fix URL issues
* fix: remove ephemeral posts on refresh
* fix: remove ephemeral posts during app launch
* fix: remove code to await the cleanup
* use built in constant instead of string `system_ephemeral`
* remove sort from `queryPostsByType()`
* switch back to the `await` approach in `cleanupEphemeralPosts`
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* feat: Add visible to you text on ephemeral posts
* docs: update localization file
* style: system header of ephemeral post
* feat: visible to you text for ephemeral posts
* MM-59973: fix the emoji count 0 issue when archive and unarchive channels
* ref to null and initialing it
* refactor: added a safe condition
* refactor code
* more clean up
* clean-ups
* index to tosting as a key to component
* refactor code
* fix: (MM-59973) emoji count 0 update (#8256)
* reversed from all useMemo to useMemo + useEffect
* tried to include everything into useMemo was an anti-pattern
* moved back to useMemo + useEffect
* previousNumber and animateToNumber comparison has some flaw when dealing with difference length between the two
* simple fix
* fix more silly mistakes
* move _previousNumberString to constant
* Test: increase timeout-minutes to 120 for e2e test
* reverted the timeout-minutes back to 40
---------
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* fix: disables the gallery click on images inside a markdown link
* feat: removing the logic for acknowledging children that is inside link
* chore: renaming for consistency
* fix: MM-58164 search text hides behind textbox
* clean up unit test for useCollapsibleHeader
* simplify math
* unlock doesn't need to use useCallback as it doesn't have any deps
* revert changes on unlock
* using lockValue & headerOffset directly into children props
* disable scrolling to prevent scrollValue from being updated
* properly snapping flatlist to the proper spot in a few scenarios
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* notification ringing, settings screen, native code patch, ringing mp3s
* i18n
* play preview on first press
* prevent playing from background (only affects Android) to match iOS beh
* stop ringing/vibration on entering background
* ring when coming back from background and new incoming call is present
* no push notification sound when it's a call; improve ringing
* move sounds to asset folder; copy on postinstall for android bundling
* make Ringtone type a string enum
* make Android ring async + await ring and stop; changes from PR comments
* missing fields after merge
* release lock on an exception
* cancel sample ringing when turning notifications off
* copy sound files for android build
* typo
* update snapshots
* testing if the problem is copying the mp3 files
* fix android mp3 assets when building for non-release
* add sounds to .gitignore
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* showing unread and threads, of group unread setting in on
* using third variable to maintain state for showing categories
* removed useState from useMemo
* Removed state, return orderctegroies if onlyUnreads & unreadsOnTop is true
* test cases updates
* removed onlyUnreads props from threads
* removed onlyUnreads
* test cases updated
* removed unnecessary changes
* removed onlyUnreads from dep
---------
Co-authored-by: Mattermost Build <build@mattermost.com>