Commit Graph

27 Commits

Author SHA1 Message Date
Diego Mello 6b3730ce43
Chore: Migrate RoomView to Typescript (#3754) 2022-03-02 11:18:01 -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
Diego Mello 1ffa592201
Chore: dehydrate small server requests away from rocketchat.js (#3740) 2022-02-15 15:50:55 -03:00
Gerzon Z 67541baf95 Add missing DiscussionsView snapshot 2022-01-31 17:49:37 -04:00
Gerzon Z 350a20d3cd remove console.log 2022-01-31 17:21:26 -04:00
Gerzon Z a093af38fe test 2022-01-31 10:27:16 -04:00
Gerzon Z 4f9460b8b2 Remove style.ts 2022-01-24 15:18:59 -04:00
Gerzon Z 5d84468561 Minor tweaks 2022-01-24 15:12:09 -04:00
Gerzon Z bce775d88d Fix navigation logic and update interfaces 2022-01-24 14:35:06 -04:00
Gerzon Z ce8a208e42 Update interfaces and minor tweaks to DiscussionsView screen and components 2022-01-24 13:40:39 -04:00
Gerzon Z 0a6e5d3fb0 Move onDiscussionpress logic on message, update SearchHeader and DiscussionDetails component, add useLayoutEffect at DiscussionsView 2022-01-24 11:51:31 -04:00
Gerzon Z 79eeb5524d Remove unused import 2022-01-17 16:33:48 -04:00
Gerzon Z 23244e30b9 Fix lint 2022-01-17 16:19:48 -04:00
Gerzon Z 6c9a3f977e Minor tweaks 2022-01-17 16:15:58 -04:00
Gerzon Z 89ae4304c4 add storybooks, update snapshots and DiscussionsView 2022-01-17 15:55:33 -04:00
Gerzon Z 18da04ba08 update definitions 2022-01-17 10:18:32 -04:00
Gerzon Z dc70bf617b Add DiscussionDetails and Item for DiscussionsView; update ThreadDetails, BackgroundContainer and DiscussionsView 2022-01-14 13:38:08 -04:00
Gerzon Z bd534f5fd4 Minor tweak 2021-11-04 15:44:52 -04:00
Gerzon Z 0a3bdb65bd Update index.tsx 2021-11-04 14:25:05 -04:00
Gerzon Z ffb17d603e Minor tweaks 2021-10-29 11:56:57 -04:00
Gerzon Z 8e064a54e6 Fix lint 2021-10-13 17:12:02 -04:00
Gerzon Z 35d869df85 Update types and onCancelSearchPress 2021-10-13 17:09:50 -04:00
Gerzon Z 086d13b4ef Remove no-non-null-assertion 2021-10-13 11:59:16 -04:00
Gerzon Z cc07128eb1 Remove unused params 2021-09-17 16:17:50 -04:00
Gerzon Z 9473bf4024 Minor tweaks 2021-09-17 15:55:06 -04:00
Gerzon Z 88dbf345ea Update e2e tests 2021-09-17 15:26:48 -04:00
Gerzon Z ecee12c9d0 Migrate to TypeScript, update interfaces and some changes to container components 2021-09-17 15:15:26 -04:00