* Ensure no unresolved types in the definition files
* Address feedback and general cleanup
* Move import from @constants/x to @constants where relevant
* Remove unneeded "import as"
* initial check in
* add search value to memoized dependencies in modifier component
* ignore the back press
* UI adjustments from PR feedback
* initial commit
* recent search are getting rendered from WDB
* search terms from the search bar are getting added
* can delete recent searches from WDB from recent searches Options
* will now add new ters to the table and recreate existing terms with new
timestamp
* push for scrollview
* use flatlist instead of scrolview
* s/deleteRecentTeamSearchById/removeSearchFromTeamSearchHistory/
* s/addRecentTeamSearch/addSearchToTeamSearchHistory/
* Fix search to use a flatlist and remove douplicate reference
* fix eslint
* Fix android autoscroll search field to the top
* limit the number of saved searches to 20 for a team.
return the results a team Search History sorted by createdAt
* set display to term for now
* clean up
* clean up
* initial commit
* - From the search screen, you cna now set the team for the search
- Recent searches are saved for the specified team
* fix styling fo icon in modifiers
* - move team picker to its own component and call from modifiers
- will use for results header also
* - show team image if available
- pass optional size to TeamPickerIcon
- add TeamPickerIcon to Resuls Header
- styling fixes
* add team name to recent searches title
* parameter renaming
* fix lint
* fix callback bug that was calling itself
* when changing a team while showing search results:
- update the search results with new selected team and current search
term.
- save the recent search the new selected team TeamSearchHistory for
that team
* move to bottom for reduction of PR review lines and comparison to
changes in theh component logic
* - add dependencies
- rename function
* fix PR feedback
* - created helper function for bottom sheet with TeamList
BottomSheetContent
- share the bottomScreen calls from AddTeam and TeamPickerIcon
* Add title back to renderContent of bottomSheet call. This is needed for
tablets
* remove unnecessary check of selectTeamId. it will be undefined and fail
the equality check
* - now all team_icons are all radius of 8. Includes the following icons:
- team picker icon in in search screen
- each team icon in the search screen bottom sheet team list
- team picker icon in in search results screen
- each team icon in the home screen team side bar list
- each team icon in the join new team bottom sheet team list (from home screen)
* use padding in the width of the header so the margins are extended full
width, and dateline separator of post list does not creep into the
header region
* add smallText prop to team_icon.
- allows using 200 instead of default 400 value.
- 200 is used for the TeamPickerIcon used in the searcha nd results
headers
* - add dependency back to handle renderItem and allow selecting files or
messages view
- when handling the search, save the term to the correct team
* adjust styling so the rounded edges appear for the header. Use the
header container height to set the height of the header to 40 and then
set top and bottom margins for the rounded top edge and the bottom
margin to the divider
* use typography
* add title dependency
* update dependencies
* use bottomSheetSnapPoint to get the height of the total items
* rename variable
* Always use Metropolis-SemiBold for the team icon fallback
* use a fragment because there is not styling
* move title inside onPress function and can remove the title as a
dependency
* just use strings for testID
* calculate the observable inside the return object
* - remove const and use string
- correct the name of the testID
* - use more specific dependency value team.id
- add onPress dependency
* move to a constant
* move to a constant
* replace with logical AND
* add all logic for the style to textStyle
* remove the separate divider view and just use the outside container with
bottomBorder with and color
* extend the image vertically in the results
* Fix size of bottom sheet
* Refactor unneeded change
* Minor tweaks
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* Timezone search results not updating on term edit MM-45621
* Fix update theme MM-45604 / MM-45591
* Prevent channel items from stacking when collapse/expand category MM-45590
* Remove current channel from unread section MM-45589
* Latex code block style MM-45572
* Update Post input style when theme update
* Show tutorial only for the first item in the first section MM-45549
* Fix close user profile modal on iPad
* Move style out of component
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* WIP
* Actions updated to fetch remote first, and local on error
* Groups fetch and save
* PR Feedback: prepare vs store and undefined fix
* Forgot to add file
* Groups Mention WIP
* Groups highlight!
* Merge, PR Feedback
* PR Feedback
* PR Feedback: Try/Catch blocks
* PR Feedback
* Rebased with PR feedback
* Exclusion fix, plus id order
* Tidies up iterations
* Loops updated
* Update app/database/operator/server_data_operator/handlers/group.ts
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
* PR Feedback: Remove unnecessary prepare/store methods
* Newline ESLint error
* Extracts out id generation for group-associations
* Batches if not fetchOnly
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
* WIP
* Actions updated to fetch remote first, and local on error
* Groups fetch and save
* PR Feedback: prepare vs store and undefined fix
* Forgot to add file
* Groups Mention WIP
* Groups highlight!
* Merge, PR Feedback
* PR Feedback
* PR Feedback: Try/Catch blocks
* PR Feedback
* Fix permalink to not joined channels and to not fetched posts.
* i18n-extract
* Implement as designed
* Revert unintended change
* Minor fix and fix svgs
* updated svg to fix masking problems and colors
* Fix lint
* Address feedback
* Update join_public_channel.tsx
fixed public channel svg
* Update join_public_channel.tsx
* Update join_private_channel.tsx
* Address feedback
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
* User profile
* Access User Profile from reaction list
* Fix threads participants list & open user profile on tap
* Extra bottom padding
* Profile long press tutorial
* Adjust heights
* Reduce label margin from 12 to 8
* Channel Info screen
* Delete the channel & related data when archiving while viewing archived channels is off
* feedback review
* UX feedback
* Add missing isOptionItem prop
* Fix Markdown when theme changes / latex correct font color
* Do not fetch emojis that are unicode
* Check for unicode emoji before searching for custom emoji
* Initial attempt at search highlighting for Markdown
* Remove fonts from highlighted text so that it can be bolded
* Add initial task list support
* Render markdown checkbox
* Switch to Commonmark fork
* Use searchPatterns prop
* searchPatterns prop at post level
* Update app/components/markdown/transform.ts
Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>
* Add error boundry around latex to avoid crash
* Do not update channel display name when displayName is empty
* Show Muted unread channel as muted unless it has mentions
* Video size to wrapperWidth if thumbnail is not available
* Hide Threads button in channel list when only unreads filter if it does not have any unreads or mentions
* Ensure channel_item muted state is bolded when unread
* Bump network default retry to 3 attempts
* Sort only unreads by last root post if CRT is enabled
* Default canPost to true if permission is not found
* rename to ErrorBoundary (typo fix)
* simplify filterAndSortMyChannels
* Fix channel name collision with mention badges
* Display local results
* Fix queryPreferencesByCategoryAndName to observeWithColumns value
* Find channels (remote)
* ux feedback review
* dev review
* dev review 2
* Fetch deleted channels from other teams
* Extract common observers to queries
* Separate also queries and more agressive refactoring
* Use query to avoid throws from findAndObserve
* Fix minor error
* Address feedback
* Address feedback
* Address feedback
* Fix model types
* Address feedback
* Permalink initial commit
* Fixes: 10 items per page
* MM-40203: permalink modal viewer for mentions
Is triggered by pressing on an item in mentions,
and shows posts around that item, including the item in a modal.
* Adds previously deleted file
* address feedback
* Move showPermalink as a remote action
* address more feedback
* fetchPostsAround to only return PostModel
* Attempt to autoscroll to highlighted item
* Permalink to not highlight saved and pinned posts
* Add bottom margin using insets to permalink screen
* Use lottie loading indicator
* Switch to channel
* Missing translation string
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>