Commit Graph

35 Commits

Author SHA1 Message Date
Reinaldo Neto edd4fb699a switch useLayoutEffect to useEffect 2023-07-05 12:36:54 -03:00
Reinaldo Neto b6dceecf50 fix the loading in image and video at begin 2023-07-04 15:16:26 -03:00
Reinaldo Neto b3f460598f don't need to controle the filepath in the view 2023-07-04 14:22:20 -03:00
Reinaldo Neto c85f98955c set the blur as always dark and add the possibility to overlay 2023-07-04 12:31:59 -03:00
Reinaldo Neto 53ed61df39 add Audio to i18n and minor tweak 2023-07-04 00:54:25 -03:00
Reinaldo Neto d39a5c7da2 thumbnail video and video behavior 2023-07-04 00:35:31 -03:00
Reinaldo Neto b88603173f separate blurview 2023-07-03 19:15:58 -03:00
Reinaldo Neto b6ae55e57f remove mediaType and refactor audio and image 2023-07-03 14:28:22 -03:00
Reinaldo Neto 469d42bdd0 avoid auto download from reply 2023-06-26 20:33:24 -03:00
Reinaldo Neto e7244d9bbe fix the name of searchMediaFIleAsync's result 2023-06-07 18:56:36 -03:00
Reinaldo Neto b4a9b8af6e refactor video 2023-06-07 18:15:37 -03:00
Reinaldo Neto 8c0c1d7dc0 message/Image refactored, change the component to show the image from FastImage to Image 2023-06-07 17:14:31 -03:00
Reinaldo Neto 1dc038d321 refactor some changes requested 2023-05-30 11:07:34 -03:00
Reinaldo Neto ce67d05852 clean up 2023-05-19 11:52:22 -03:00
Reinaldo Neto 99973c0d28 fix the try catch download media 2023-05-19 11:35:36 -03:00
Reinaldo Neto 02ba6e9961 done for image and audio 2023-05-19 02:42:21 -03:00
Reinaldo Neto d3c87a19eb remove blurcomponent, fix the blur style in image.tsx, minor tweak video function name 2023-05-16 21:31:53 -03:00
Reinaldo Neto 6c49c57046 video download and auto download, also keeped the behavior to download unsuportted videos to the gallery 2023-05-15 23:10:14 -03:00
Reinaldo Neto 389057aa2c refactor blur component 2023-05-15 19:53:29 -03:00
Reinaldo Neto 991cdf1476 add the possibility to cancel image download and clear local images 2023-05-15 15:31:24 -03:00
Reinaldo Neto cdad2884b9 image download and autoDownload, algo fix the formatAttachmentUrl to show the image from local 2023-05-15 15:10:43 -03:00
Reinaldo Neto 7fc975f63e creation of isAutoDownloadEnabled, evaluate hist hook, Image Full Size preload done 2023-05-11 20:20:48 -03:00
Danish Ahmed Mirza 1486204546
[IMPROVE] Redesign emoji picker (#4328)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-10-21 15:27:55 -03:00
Gleidson Daniel Silva 2b08b683d7
Chore: Upgrade React Native to 0.68.2 (#4316)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-08-08 18:02:08 -03:00
Diego Mello 3072bbd5b3
Revert "Chore: Migration to Hooks - Markdown (#4264)" (#4338)
This reverts commit 4fd0084bc1.
2022-07-04 15:10:14 -03:00
Alex Junior 4fd0084bc1
Chore: Migration to Hooks - Markdown (#4264)
* chore: migrate TextInput from class to functional

* changing from themes[theme] to colors

* removing markdown theme props from other files

* adding a force update and fix a stories

* adding testID and tests for markdown

* fixing some interfaces

* minor tweak

Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-27 18:27:22 -03:00
Gleidson Daniel Silva c85fd0ba99
Chore: Update react-native-fast-image from 8.2.0 to 8.5.11 (#4210)
* upgrade react-native-fast-image

* change import to react-native-fast-image

* bump version

* update path from lib

* fix import
2022-05-31 13:08:18 -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
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 7d2ae5ea7c
Chore: Evaluate helpers and methods - Typescript (#4030)
* move userPreferences to methods folder

* create formatAttachmentUrl file

* create compareServerVersion file

* create generateLoadMoreId file
2022-04-07 10:13:19 -03:00
Alex Junior 488074b4ae
Chore: Evaluate Message - TypeScript (#3944)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-01 18:52:38 -03:00
Reinaldo Neto 40cb3b1ae7
Chore: Evaluate UiKit - TypeScript (#3939)
* Chore: Evaluate UiKit - TypeScript

* minor tweak
2022-03-29 17:06:50 -03:00
Gerzon Z b0580bf547
[NEW] Redesign quoted messages (#3883) 2022-03-21 17:44:06 -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
Alex Junior 69a67ea998
Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00