Reinaldo Neto
28ee43f817
[FIX] Avatar pixel size ( #4285 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-21 16:23:55 -03:00
Danish Ahmed Mirza
5899b1f789
[NEW] Go to RoomView if the mentioned #channel is already joined ( #4204 )
...
* [NEW] Go to RoomView if the mentioned #channel is already joined
* Update stories and fix lint errors
* Use getSubscriptionByRoomId
* Fix channel name issue
* Use goRoom
* add jest-expo to jest preset
* update snapshot
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-10 17:33:48 -03:00
Alex Junior
e212a3c946
[IMPROVE] Redesign search box component ( #4195 )
...
Co-authored-by: Danish Ahmed Mirza <danishmirza30602@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-06 10:53:02 -03:00
Danish Ahmed Mirza
02c1bc50b9
[NEW] Update room item animations ( #4024 )
...
* Upgrade react-native-gesture-handler to 2.3.0
* Update room item animations to reanimated v2
* Add Parallax animation on fav and hide buttons and additional swipe gesture to toggleFav
* Fix tests
* Ignore typescript error for setTimeout function
* Update pods
* Fix blank area on swiping all the way right/left
* Fix Action Buttons on devices with notch
* Update snapshot
* Use colors from useTheme
* Destructure props
* Proper types for nativeEvent and event
* Remove toggleFav gesture
* Clean bits
* Fix lint error
* Fix position of Room Action Buttons on MasterDetail
* Remove comment
* Update animations logic
* Add haptic feedback on swipe
* Add haptic feedback on unswipe gesture
* Update react-native-gesture-handler to 2.4.2
* update pods
* Migrating off RNGHEnabledRootView
* Update types to ReturnType<typeof setTimeout>
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-06 10:23:49 -03:00
Gleidson Daniel Silva
329e74b720
[FIX] Unify attachment rendering logic ( #4260 )
...
* fix verification adding fields logic
* update snapshot
* Change order for both logics
* Cleanup
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-02 16:58:42 -03:00
Alex Junior
6220375f7b
Chore: upgrade react navigation to 6.0.10 version ( #4120 )
2022-06-01 16:46:37 -03:00
Alex Junior
1ce7d5cf6a
Regression: right icons overlapping when users name is long ( #4224 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-27 14:27:43 -03:00
Reinaldo Neto
a82e3e6c1a
[FIX] Navigate to MarkdownTableView using tablets ( #4222 )
...
* [FIX] Navigate to MarkdownTableView using tablets
* [FIX] Navigate to MarkdownTableView using tablets
* fix lint
* update yarn.lock
Co-authored-by: Alex Junior <alexalexandrejr@gmail.com>
2022-05-27 14:18:51 -03:00
Reinaldo Neto
bc34706f48
Chore: Update Detox to 19.7.0 ( #4215 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-26 14:10:24 -03:00
Alex Junior
4fc8e5e9a4
[FIX] Unify RoomItem UpdatedAt and Message time styles ( #4205 )
2022-05-20 14:56:07 -03:00
Danish Ahmed Mirza
6384d60efc
Chore: Migrate containers/Button to Typescript and Hooks ( #4071 )
2022-05-20 13:37:57 -03:00
Alex Junior
1e09589eca
Chore: Update @react-native-slider from 3.0.3 to 4.2.2 ( #4176 )
2022-05-20 00:14:23 -03:00
Alex Junior
4a84e47cfa
Chore: Evaluate TextInput component ( #4181 )
...
* changing from `containers/TextInput` to `containers/TexInput/FormTextInput`
* changing from `presentation/TextInput` to `containers/TexInput/index`
* update storybook
* update status view after merge with develop
* removing `app/containers/__snapshots__/TextInput.stories.storyshot` in favor from `app/containers/TextInput/__snapshots`
2022-05-18 16:17:42 -03:00
Alex Junior
5cd4186f64
[IMPROVE] Place time after username on message ( #4177 )
2022-05-15 15:29:07 -03:00
Alex Junior
e0bfdee70c
[IMPROVE] Create edited component for edited messages ( #4048 )
2022-05-10 14:40:08 -03:00
Alex Junior
d99b31849a
Chore: Evaluate Icon - Typescript ( #3982 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-02 16:21:15 -03:00
Gerzon Z
744ee27e18
Regression: Omnichannel icons ( #4136 )
...
* fix: Omnichannel icons
* update: `RoomItem.storyshot`
2022-04-29 13:08:19 -04:00
Gerzon Z
8a75dcf87b
Chore: evaluate `RoomItem` ( #4023 )
...
* chore: evaluate `RoomItem`
* update: `RoomItem.storyshot`
* update: interfaces for RoomItem components
* update: UnreadBadge import and RoomItem interfaces
* remove: `avatarSize` from interfaces
* update: `RoomItem.storyshot`
2022-04-20 17:37:54 -04:00
Gerzon Z
aab4e4b12a
[FIX] Avatar's size on display mode change ( #4042 )
...
* fix: avatar's size
* update snapshot
* update: snapshots
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-20 17:02:18 -04:00
Reinaldo Neto
0a67cb8096
[IMPROVE] Visibility of the “incoming chats” in queue ( #4039 )
...
* [IMPROVE] Visibility of the “incoming chats” in queue
* fix the custom icon for rtl
* fix thumb colors
* clean queue empty
* added alert to confirm enable omnichannel
* switch to normal
* fix storyshot because was added a new props to list item
* fix height container
* minor tweak
* minor tweak
* fix title
2022-04-15 00:11:36 -03:00
Reinaldo Neto
064920e61b
Chore: Evaluate UnreadBadge to Typescript ( #4018 )
...
* Chore: Evaluate UserItem to Typescript and moved from presentation to container
* minor tweak
2022-04-14 23:51:59 -03:00
Reinaldo Neto
b75ac1de8b
[IMPROVE] Support Omnichannel icons ( #3959 )
...
* [IMPROVE] Support Channel Icons for Omnichannel
* Prop drilling sourceType
* create a column for source in WatermelonDB
* Add sms icon
* start of fetching
* removed usefetch
* custom icon to RoomHeader, RoomActions, RoomInfo
* minor tweak in interface
* fix margin
* add connected to sourceType
* make ts happy
* minor tweak
* fix storyshot
* refactor omnichannel source interface
* minor tweak roomActionsview
* Added storyshot
* minor tweak
* fix storyshot
* fix display extended without avatar
* fix connected object
* wip android build
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-14 23:27:36 -03:00
Gerzon Z
b9651493d2
Chore: update `theme` type ( #4025 )
...
* chore: update `theme` type
* update: components
* update: storyshots
* add: `theme` type to `DirectoryItem`
* chore: update theme type on `message/index.tsx`
* update: `RoomTypeIcon`'s useTheme
2022-04-12 12:27:05 -04:00
Reinaldo Neto
ec952b058a
Chore: Upgrade @types/react-native to 0.64.2 ( #4026 )
...
* Chore: Upgrade @types/react-native to 0.64.2
* minor tweak in comment
* minor tweak
* Chore: Upgrade @types/react-native to 0.64.2
* minor tweak in comment
* minor tweak
* fix accessibility within bordelessbutton
2022-04-08 11:27:10 -03:00
Gerzon Z
cd0c8abced
Chore: evaluate ServerItem - TypeScript Migration ( #4015 )
...
* chore: evaluate ServerItem
* update: IServerInfo interface
* chore: move `ServerItem` to `containers` folder
* update: `ServerItem` import on Storybook
* update: `themes` import
2022-04-07 13:07:16 -04:00
Gleidson Daniel Silva
bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript ( #4022 )
...
* create keys file and export all consts
* fix import E2E_MESSAGE_TYPE
* fix constants import
* fix constants import
* fix E2E_BANNER_TYPE import
* fix E2E_ROOM_TYPES import
* fix THEME_PREFERENCES_KEY import
* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import
* fix MIN_ROCKETCHAT_VERSION import
* fix constantDisplayMode import
* fix environment imports
* fix links imports
* fix localAuthentication imports
* fix localPath imports
* fix messagesStatus imports
* fix messageTypeLoad imports
* fix defaultSettings imports
* fix tablet imports
* update with todo for colors
* move to lib folder
* change constant/colors to constant
2022-04-07 11:10:03 -03:00
Gleidson Daniel Silva
5bd060b7b2
Chore: Add `colors` prop to useTheme hook ( #3993 )
...
* create react-native-appearance mock
* create base for colors theme
* mend
* export TColors prop
* update snapshot
2022-03-31 20:04:29 -03:00
Gerzon Z
49c92cfa7b
[FIX] `AttachedActions`'s button ( #3989 )
...
* fix: `AttachedActions`'s button
* fix: text color
* update: `Message.storyshot`
2022-03-30 17:55:57 -04:00
Gleidson Daniel Silva
f3cf4f1e7f
[FIX] Adds a check to see if the collapsed property exists. ( #3973 )
...
* Adds a check to see if the collapsed property exists.
* 👀
* update snapshot
* revert
* revert yarn.lock
2022-03-28 12:08:18 -03:00
Diego Mello
902827422b
Chore: Properly type Status ( #3911 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-25 17:05:49 -03:00
Reinaldo Neto
70cb252d1b
Chore: Migrate containers: List to Typescript ( #3921 )
...
* Chore: Migrate containers: List to Typescript
* minor tweak
* fix storyshot List - item flatlist
* fix IListContainer
* fix type of childrens
* minor tweak
2022-03-25 15:09:02 -03:00
Gerzon Z
d5ac663199
[FIX] Drawer failing to open/close on ProfileView ( #3963 )
2022-03-25 11:35:25 -03:00
Gerzon Z
f9064bf5af
Chore: Evaluate HeaderButton - TypeScript ( #3925 )
...
* update: `HeaderButton` components
* update: types
* fix types
* fix lint and update snapshot
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-03-24 15:55:01 -04:00
Gerzon Z
8ea183373e
[FIX] Audio thumb's size ( #3945 )
...
* update: Audio component
2022-03-23 10:49:45 -04:00
Gerzon Z
9a17ce91a8
[FIX] "Sent an attachment" text on media preview for threads ( #3947 )
...
* update: `Content` component
* update: `Message` snapshots
2022-03-23 10:37:11 -04:00
Alex Junior
6f31a00e90
Chore: Clean Check component - TypeScript ( #3919 )
...
* chore: clear Check component
* chore: update tests
2022-03-22 10:53:09 -03:00
Gerzon Z
b0580bf547
[NEW] Redesign quoted messages ( #3883 )
2022-03-21 17:44:06 -03:00
Reinaldo Neto
82acb917fc
[FIX] Wrong param sent to system message ( #3943 )
...
* [FIX] Display added user to team
* tweak when remove members from team too
* update storyshot
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2022-03-21 17:25:40 -03:00
Gleidson Daniel Silva
75f3f90913
[NEW] Collapsible Message ( #3879 )
...
* create new collapsible component
* create collapsible tests and update snapshot
* fix quote :)
* update snapshot
* add support to color
* add collapsed prop
* fix some styles
* fix tests
* wip
* clean
* add CollapsibleQuote story
* better style
* update snapshots
* add better tests
* remove testID
* update storyshot
2022-03-18 07:01:30 -03:00
Diego Mello
091055a255
[FIX] Condensed layout cutting text on smaller text sizes ( #3831 )
2022-03-07 17:48:45 -03:00
Diego Mello
51ed83a33e
[IMPROVE] Team system messages feedback ( #3771 )
...
* almost there
* Update stories
2022-02-23 17:31:14 -03:00
Reinaldo Neto
5ac4700d51
Chore: Migrate Markdown to Typescript ( #3558 )
...
* Chore: Migrate Markdown to TS
* Chore: Migrate Markdown to TS
* minor tweak
* added preview where markdown was preview and fixed params within markdown
* removed ts-ignore
* fix lint
* removed numbersofline={0} and default value to numberOfLines=1
* change how to import markdown preview and remove numberOfLines
* using useTheme inside markdownPreview and remove theme from components
* minor tweak on interfaces
* isNewMarkdown return as boolean
* minor tweaks
* minor tweaks
* removed unused component
* fixed markdown stories
* updated snapshot because removed numberOfLines={0} from message/content
* create IEmoji.ts in definitions and refactor all places where getCustomEmoji was called
* onLinkPress typed
* todo: refactor navtoroominfo
* formatText.test.ts
* markdown stories to typescript too
* minor tweak
* IMessage definition
* refactor: update new types and interfaces for use ISubscription
* refactor: update threadItem for use new MarkdownPreview
* refactor: rollback wrong file commited
* formatHyperlink
* fix lint
* updated item story shot
* refactor and refactor some types
* Remove non-null assertion
* Minor change on useRealName
* tweak
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-17 12:27:01 -03:00
Gerzon Z
04f3c7e04e
Merge branch 'fix-ci-limiter-and-test' into new.add-discusions-roomactionsview
2022-02-01 09:28:23 -04:00
GleidsonDaniel
93edb9b96d
update snapshot
2022-02-01 09:03:15 -03:00
Gerzon Z
89613bb85b
Merge branch 'develop' into new.add-discusions-roomactionsview
2022-01-31 17:32:49 -04:00
Gleidson Daniel Silva
2f7ff43ea0
[FIX] StoryShots not working for async rendered components ( #3677 )
2022-01-31 18:15:44 -03:00
Gerzon Z
89ae4304c4
add storybooks, update snapshots and DiscussionsView
2022-01-17 15:55:33 -04:00
Reinaldo Neto
f7418791a2
Chore: Migrate DisplayPrefsView to Typescript ( #3555 )
2022-01-11 11:47:23 -03:00
Diego Mello
b2db7c8adf
[FIX] Different token types inside list items ( #3458 )
...
* Fix different token types inside list items
* Fixing more styles
* Update tests
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
2021-10-27 10:13:20 -03:00
Diego Mello
e0a0a31257
[FIX] Markdown not rendering as preview for threaded messages ( #3465 )
...
* Use older preview logic
* Stories
2021-10-27 10:09:09 -03:00