* 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
* extract as constant
* move styles to the top
* always update the created_at value in the database.
* remove unused function
* - remove useMemo of recent
- set or remove props on AnimatedFlatlist
* styling adjustments
* styling changes
* divider takes up 1ox so only need 15px margin to get the 16px total to
the neighboring veritcal views
* update compassIcon to match figma design
* update divider opacity to match figma design
* update styling from UX PR requests
* increase close button to touchable area of 40x40 and adjust menuitem
container
* use logError instead of console.log and trowing an error
* remove surrounding parenthesis
* There is only one record, so no need to batch. Just call
destroyPermanently.
* call destroyPermanently directly
* when not useing the onScroll callback you don't need to set the
scrollEventThrottle
* set the max searches saved to 15
* no need to memoize
* shoud be a function call
* batch the add/update with the delete of the oldest model
* Minor improvements
* Fix bug when hitting back on search screen
* Fix long channel names in search results
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* add observables for search component
add loader screen
add file client searches for files
* hook up loader component for loading state
* search results with found posts now working
* get and store files when searching
* query file results from the database
display dummy file text for now
* add filter screen and icon to the results header
* needs some cleanup but functionally works
- applied filters reduce files to subset of selectd types
- no filters will show all files
* update number files in parenthesis to match the filtered number of files
(if filtered)
* added the missing file extensions found in webapp
added document_types which is a superset of other types
* remove clear all text from filter and from bottom_sheet component
* checkin before merge latest gekidou branch
- change filters to use latest figma design
- from multiselect to single select
- revert changes to bottom sheet content that allowed adding a RHS title button
- start of the file attachement cards show in file results
* Cleanup and fixes
* Remove nested scroll views
* Address feedback
* Address feedback
* extract the fileInfos from the results object, from an array
* add translations for filters
* add translations
* use Object values to determine if has file info results
* Combine fetch recent mentions and search for posts
* add search icon back to home screen
* remove unused function import
* fix formatting and add 3 dot onPress option
* don't show search button
* Add touchable opacity for pressing the card
Add function for opening gallery
Fix `...` so only clicking directly over it calls it's function. Everywhere else calls open gallery
* place compassIcon in a touchable and add hitslop
create individual objects for flex column and row
* use one-liner for text
move constant outside of the component
* truncate filename if over max filename lenght and append ...
fix style for filename
* remove all commented filetype code. This will not be added to the card
because of added length to second row. Feedback from UX discussion
* remove trimFileName function and MAX_FILENAME_LENGTH constant
make the textContainer grow in width. The other flex boxes are constant width
align main container center and remove vertical margins
* create TabTypes contant and TabType Type to replace all uses of 'messages' and
'files'
* make padding adjustments based on the selected tab and if there are
results.
When no results are shown, we want the 'Check the spelling or try
another search' text to not move or flicker when switching between files
and messages
* put the margin on the touchable container, not the compassicon so the
hitslop is relative to the compassicon.
* Add the channel name to the filecard.
each fileInfo from the server contain a channel_id. Add to the reponse type
* Move the channel name to a separate line
* implement changes from PR. Shrink channel name when it doesn't fit
* use a useMemo instead of useCallback
* initial commit
* working copy using the File component instead of creating a new FileCard
component
* add styhling for long channel name
* update styling for info text
* update styling
* disable lint check for console statement until function is hooked up
* fixt linting errors caused by api including channel_id. It needs to be
optional or the model will complain
* when a file is an image, show the image or video as an image instead of
the generic file icon
* make `asCard` File Prop optional
* shift the image icon over 4px
* tweaked styles
* tweaked styles for file info
* move files directory from inside the post_list/post/body/ folder to its
own component because is it referenced from other screens and components
including:
app/components/post_draft/uploads/upload_item/index.tsx
app/components/post_list/post/body/content/image_preview/image_preview.tsx
app/components/post_list/post/body/content/message_attachments/attachment_image/index.tsx
app/components/post_list/post/body/index.tsx
app/screens/gallery/document_renderer/document_renderer.tsx
app/screens/home/search/results/results.tsx
* create useImageAttachments hook and share with files component and
results
* rename all renderXXXFile useMemo options to xxxFile. These return the
actual component
* use explicit Boolean(onOptionsPress)
* isSingleInput does not need to be a function
* use find instead of filter().map()
* add dependencies and refactor to reduce some file dependency arrays
* order files by reverse create_at date
* remove console.log and leave as a comment for now
* update styling so that the view wrapper has the borderRadius. Now
android and ios get the correct borderRadius surrounding the channel
name
* use the results of the ordered useImageAttachements results as data for
File and Gallery
* remove extra empty line
* PR feedback
- rename capitalize const
- add several useCallbacks
- use typescript optional parareter instead of if statement
* - remove useMemos that only return a component
- fix bug - when channel name is not present, don't show the channel
component. This happened when looking at posts in a channel because
post comes from the model, which does not include the channelName.
This is because in the channel view all images are in a specific
channel and no need to store it
* remove useMemo import
* remove callback
* - remote unused operator
- nothing needed outside of try catch
* remove unused Client import
* s/xxxFile/renderXxxFile/ because theare are a function that returns a
component
* move constant above component
* default to 0 instead of forcing to be defined
* use observerConfigBoolean
* import as type because not useing to construct as models
* add links to Jira ticket and github PR
* add line breaks and sort alphabetically
* use ternary operator to reduce number of lines
* move up as far as possible
* remove unused style
* sort props and input vars alphabetically
* move higher in the component
* return ealier
* no need for useDerivedValue. useMemo instead
* use useCallback
* Minor tweaks and fixes
* Remove floats from style
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Matthew Birtch <mattbirtch@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>
* Add column last_fetched_at to MyChannel & Thread tables and the migration
* Fix schema tests
* Handle lastFetchAt, retrieve threads on init and properly observe thread unreads (#6436)
* [Gekidou] Set lastFetchAt when fetching posts for a channel (#6437)
* Set lastFetchAt when fetching posts for a channel
* When resetting _preparedState set always to null
* Revert changes in WS
* Handle and set lastFetchedAt for MyChannel in iOS push notification
* feedback review
* iOS fallback to last post createAt if no lastFetchAt set
* Handle lastFetchAt on Android push notifications
* create storePostsForChannel local action
* Fix iOS fallback to last post create_at
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
* 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>
* adding nav hooks
* added save button
* capturing value from OptionItem
* notification - saving in progress
* tested API
* corrections after review
* Update en.json
* Update notification_push.tsx
* ts fixes
* minor improvement
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Add empty unreads placeholder
* ux feedback
* Use SidebarText witn 0.12 opacity as the button bg color
* Set tertiary button helper to use theme.sidebarText color
* 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
* added chevron to menu item component
* starting with the skeleton
* starting with the skeleton
* starting with the skeleton
* starting with the skeleton
* remove extra line
* tested on tablets
* some corrections
* corrections as per review
* starting with notification skeleton
* attached notification settings to navigation
* added auto responder
* update translation
* update snapshot
* updated snapshot
* correction after review
* removed unnecessary screen
* refactored
* updated the testIDs
* Update Package.resolved
* refactor
* removed Mattermost as default server name
* fix ts
* refactored settings constant
* display settings skeleton
- pending: query for allowed themes
* added 'allowedThemes' query
* added section item
* mention screen skeleton in place
* added section and sectionItem component
* added reply section to the mention screen
* update i18n
* rename screens properly
* update i18n
* Refactored to MentionSettings component
* Refactored to ReplySettings component
* style clean up
* textTransform uppercase
* rename Section/SectionItem to Block/BlockItem
* added mobile push notif screen - push status section
* adding text to those two components
* correction following review
* added mobile push notification section
* added mobile push notification thread section
* style fix
* code fix
* code fix
* MM-39711 - Gekidou Notification - Auto Responder main screen (#6313)
* added skeleton for auto responder
* code clean up
* correction from peer review
* correction from PR review
* clean up
* PR review correction
* correction
* clean up
* clean up
* code clean up
* code clean up
* Fix navigation stack tracking
* Fix hardwareBackPress handlers
* Use user locale for formattedTime
* Show in-app notifications when in a thread but hide when in the same thread
* Fix post draft archived & read only safe area
* Do not show reply post option in thread screen
* Open permalink as full screen modal
* Fix crash when using chinese locale
* Fix team list and call handle team change
* 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>
* first commit to update heading styles for markdown
* updated heading styles to use typography helper
* fix imports
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Add try again functionality to failed posts
* Fix attach files on Android
* feedback review
* Prevent android crash when uploading files for the first time
* Update the timestamp for updateAt when retrying to post
* Add POST TIME TO FAIL
* use function isPostFailed
* CRT fixes for MM-44210 & MM-44156
* Covered other conditions and renamed variables to be consistent
Co-authored-by: Anurag Shivarathri <anurag6713@gmail.com>
* Unify entry functions
* Handle switched to channel on websocket reconnect
* Simplify global threads by moving it to switchByChannelId
* Keep in mind team when changing to global threads view
* Avoid unneeded channel switches on notification entry
* Fix effects on home screen
* Address feedback
* channels update on teamMate display name change
* code clean up
* fixes DM and GM display name
* code clean up
* ts fix
* removed extra await
* implemented some guard conditions
* code clean up
* config & license ws events - wip
* tested config change on local server
* adding license to the ws event
* fix display name
* fix display name
* replace map + filter with a reduce
* rename function name
* adding missing await
* update following review
* moved differsFromLocalNameFormat to /queries/preference
* fix gm/dm
* Revert "fix gm/dm"
This reverts commit 92905c707d.
* added guard clause on DM channel type
* refactor function signature
* Add verification for push proxy and related interface
* Fix lint and extract i18n
* Be specific about undefined equalities.
* Fix test
* Address feedback
* Fix long server names styles
* Fix tests and typo
* Add AppsForm and Interactive Dialogs
* Add the missing plumbing for Interactive Dialogs and minor fixes
* Remove widgets subfolder
* Fix paths
* Address feedback
* Address feedback
* i18n extract
* Only set the dialog if we are in the same server
* Global threads
* Added translations
* User avatar stack
* In-Channel experience
* Misc Fixes
* Fixed fetchPostThread & added observer
* using the observable for participants & check fix
* Test case fix
* Fix tablet view thread screen switching
* No back button for tablets
* folders for thread options only if needed
* Using the existing observable
* Users stack refactor fix
* Reusing the user component
* Refactor fix
* Fixes double loaders when empty threads
* Feedback
* Moved some post options to common post options
* Combined follow/unfollow functions
* Feedback fixes
* Addressing Feedback
* Merge fix
* Threads button component moved
* Addressing feedbackk
* Not rendering message when it's empty, removed unwanted Props exports
* Addressing feedbac
* Updated snapshot
* Added emoji to removemarkdown component
* Moved MD rendering into the component
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: koox00 <3829551+koox00@users.noreply.github.com>
* Show login screen when selecting a previous server
* Update app/screens/home/channel_list/servers/servers_list/server_item/server_item.tsx
Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>
Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>