Commit Graph

2364 Commits

Author SHA1 Message Date
Reinaldo Neto 9ca70c799d [FIX] System messages should be not italic (#4484) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 99d1bb6d8a Chore: Hooks app/views/ForgotPasswordView (#4485)
* Chore: Hooks app/views/ForgotPasswordView

* validating email and using hook forms

* using mode onCHange

* add return

* fix theme

Co-authored-by: Gleidson Daniel <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto bd117c401f Chore: Hooks app/views/SetUsernameView (#4488)
* Chore: Hooks app/views/SetUsernameView

* semantic change of loading state

Co-authored-by: Gleidson Daniel <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 64598cc5dd [FIX] Add loading prop on RoomActionsView to avoid double click (#4462) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva d161fc6221 [FIX] Wrong Team's icon on SelectTeam item's list (#4469) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 47c02308c0 Regression: Jump to message from search view (#4476) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 360ecc1f43 [IMPROVE] Redesign create room flow (#4381)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 9091fabcc6 [NEW] Unify members section (#4399)
* create useUserPermissions hook

* create CheckRadioButton component

* fix return

* create MembersSection component

* apply MembersSection and header filter

* fix re-render and testID

* fix detox tests

* rename to RadioButton

* move the component closer to the screen

* remove useUserPermissions

* remove theme prop

* migrate to hooks

* fix team permissions

* remove theme prop from UserItem

* remove options prop

* fix Member

* remove commented test

* fixes

* fix for room not joined

* add room members events

* adds empty option

* add members filter and pagination

* clear RoomMembersView

* remove unused styles

* Update app/views/RoomMembersView/index.tsx

Co-authored-by: Diego Mello <diegolmello@gmail.com>

* wip

* Temp workaround for SearchBox background color

* Rename import

* Fix missing params for 5.0

* Fix e2e tests

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto 2b80530e35 [IMPROVE] Remove show message in main thread preference (#4435)
* [IMPROVE] Remove show message in main thread preference

* default settings

* created the get

* fix compare server version

* fix E2E tests

* settings to logged user

* remove constant and get alsosendtochannel from user

* fix send to channel first message

* fix when the alsoSendThreadToChannel is checked

* added list picker user preference

* tweaks in messagebox tmid and detox

* added pt-br and deleted expectToBeVisible id

* reactive alsoSendThreadTOChannel

* fix the behavior when press or long press threads messages

* remove reply in thread from threads

* clean helpers detox

* tweak onMessageLongPress and onSubmit

* Remove unnecessary calculations inside ListPicker

* Fix long press logic

* Fix onReplyInit logic

* fix data_setup at detox for servers greater than 5.0

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-12 14:51:31 -03:00
Diego Mello e74f9da6aa [NEW] Use Inter font (#4459) 2022-09-12 14:51:31 -03:00
Diego Mello cdcb396251 [FIX] Jump to message stuck on loading animation (#4410) 2022-09-12 14:51:31 -03:00
Diego Mello 0055ce79a9 Chore: Update Storybook libs to v6 (#4439) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 8d56c75fd5 [FIX] Pagination when search by members and fix the duplicated members in a Room's member's list (#4446)
* [FIX] Duplicate members in a Room's member's list

* fix search and pagination

* fix the pagination for server lower than 3.16

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto 7da5801452 Chore: Hooks app/views/DefaultBrowserView (#4424)
* Chore: Hooks app/views/DefaultBrowserView

* fix type

* minor tweak

* item on new file

* minor tweaks

* minor tweak
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva f2d76167d5 [NEW] Persist audio files (#4448)
* downloads and store the audios instead of loading them

* remove unused function
2022-09-12 14:51:31 -03:00
Reinaldo Neto 8810f80b7e Chore: Hooks App/share (#4417)
* Chore: Hooks App/share

* getTheme to outside

* update types

Co-authored-by: Gleidson Daniel <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto 13ad685ecb Chore: Hooks app/views/SelectServerView (#4445)
* Chore: Hooks app/views/SelectServerView

* refactor row_height

* minor tweak
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 1e029407f8 [FIX] Add method and id to method calls (#4444)
* add method and id to method calls

* 🧹
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 496efc315d Chore: Migrate E2ESaveYourPasswordView to hooks (#4432) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva ab58208139 Chore: Migrate Touch to hooks (#4422)
* migrate to hooks and fix types

* fix import and remove theme prop

* update tests

* fix touch file name

* wip

* rename

* change to touch

* remove button and change to touch
2022-09-12 14:51:31 -03:00
Diego Mello 1ba4ba669e [FIX] Requests being skipped after reconnecting on onboarding (#4429) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 21fa551674 [IMPROVE] Set native theme when launching the share extension (#4430) 2022-09-12 14:51:31 -03:00
PetMoln 69e581c301 [FIX] Can't connect to RC through Gitlab Oauth (#4421)
[FIX] Can't connect to RC through Gitlab Oauth

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Diego Mello 306607b045 Regression: Resume the app with a deep link not navigating (#4428) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 049d24dec1 [FIX] Text composer is pushing modals outside the screen on Android's tablet (#4393)
* [FIX] Text composer is pushing modals outside the screen

* added isLandscape

* refactor useKeyboard

* refactor landscape
2022-09-12 14:51:31 -03:00
Reinaldo Neto f01555a473 Regression: Room header not showing room type when not joined (#4427) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 07766f3c06 Chore: Ignore icons on Prettier (#4426) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 76efadac0e Chore: Migrate E2EEnterYourPasswordView to hooks (#4423)
* migrate E2EEnterYourPasswordView to hooks

* remove navigation options

* minor tweak

Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 4a5c15ce66 Chore: Migrate E2EHowItWorksView to hooks (#4416)
* remove navigation obligatory

* remove the obliglatory to use theme with the withTheme HOC

* migrate E2EHowItWorksView to hooks

* remove navigate options

* adds non-null assertion because theme is injected
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 5800cc10d4 Chore: Migrate WithoutServerView to hooks (#4415)
* migrate WithoutServerView to hooks

* remove navigation options

* minor tweak

Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva e1e4305cbc [FIX] Markdown's ListItem not using the entered index (#4388)
* fix ordered list number

* update snapshot
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 7e9d528904 Chore: Remove github actions (#4425) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 3bb4518c3e [NEW] Create useEndpointData for call endpoints using hooks (#4342)
* create basic useEndpointData for call endpoints using hooks

* remove cache

* create base for useEndpointData test

* create basic useEndpointData for call endpoints using hooks

* remove cache

* create base for useEndpointData test

* fix preset

* update tests

* change order

* create ErrorResult and add error to return

* update tests
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 02d6b997c1 Chore: Upgrade React Native to 0.68.2 (#4316)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto d19bb9c28a [IMPROVE] Add emoji picker to iOS (#4366)
* [IMPROVE] Add emoji picker to iOS

* clean left and right buttons

* fix the redux in emojipicker

* fix behavior when emoji keyboard is openning

* added isIOS

* fix show reactions when emoji is open

* minor tweak

* add provider

* fix baseurl

* minor tweak

* create closeEmojiAndAction and added to record

* fix actionsheet for omnichannel

* fix action sheet

* fix close emoji when navigate to other screen

* added iactionsheetprovider to roomview

* clean variables

* fix theme

* close the emojikeyboard when click on message

* apoint package.json to new pr

* fix branch

* fix package.json
2022-09-12 14:51:31 -03:00
Danish Ahmed Mirza 28bb6a045d [NEW] Redesign reactions list (#4346) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 7aa94e0a9e [FIX] Fix display order render on RoomListView (#4392) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva aa1d9c35c2 Chore: Migrate NotificationPreferencesView to hooks (#4327)
* add none option

* create showErrorAlertWithEMessage function

* migrate NotificationPreferencesView to hooks and improves overall

* change icon to right

* fix navigation options

* remove none

* fix types

* remove memo

* cleaning

* switching to destructuring

* add observe for hideUnreadStatus

* fix desktop options

* remove unused options

Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva b12bb402d0 [FIX] Github Actions folder (#4400) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 75d10df4be Chore: Try Github Actions (#4376) 2022-09-12 14:51:31 -03:00
Reinaldo Neto a87d986fab [FIX] iFrame login takes user to blank screen (#4389) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 17e08213f2 [FIX] Add support to non ascii url characters on ios devices (#4364)
* add support to non ascii url caracters on ios

* rename module and add tests

* remove last slice
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 6716d06b40 [IMPROVE] Add support to Linebreak and Katex on markdown (#4361)
* fix enableMessageParser logic

* create LineBreak component

* fix code style

* add KaTeX support

* add Katex and Inline Katex stories

* update snapshots

* add color prop

* update snapshot

* update snapshot
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 30af60cd58 [FIX] Share Extension shows a server that has no user logged in (#4336)
* [FIX] Share Extension shows a server that has no user logged in

* set server after login
2022-09-12 14:51:31 -03:00
Diego Mello affa768728 Bump version to 4.30.0 (#4378) 2022-09-12 14:51:31 -03:00
Diego Mello 772e8afaf5
Merge 4.29.0 into master 2022-07-18 12:54:28 -03:00
Diego Mello a2858438ab Merge branch 'master' into beta 2022-07-18 11:03:24 -03:00
Reinaldo Neto 2f51224f3f
[FIX] Rename done to save on Status View (#4363) 2022-07-15 17:44:24 -03:00
Reinaldo Neto 5a7f77a159
[FIX] User status update with hooks (#4362)
* [FIX] User status update with hooks

* add log

* fix dispatch

Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-07-15 17:18:36 -03:00
Reinaldo Neto fe7722ca10
[IMPROVE] Support for tag request close when is obligatory to close Omnichannel's Channel (#4353)
* [IMPROVE] Support for tag request close

* clean up

* refactor isObrigatory and value

* fix obligatory

* removed onSubmitEditing

* create closelivechatview

* Refactor Close Omnichannel from ActionSheet to a new Screen

* Fix navigation

* fix screen title

* back to before actionsheetwithinput

* added string in pt-br

* refactor canSubmit

* fix the method closeRoom

* comment of server's version

* some tweaks

* Update app/lib/services/restApi.ts

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-07-15 17:06:27 -03:00