vn-verdnaturachat/app/containers/message
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
..
Attachments.tsx Update snapshots 2021-10-06 11:16:29 -04:00
Audio.tsx Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
Blocks.ts Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
Broadcast.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
CallButton.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
Content.tsx Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
Context.ts Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
Discussion.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
Emoji.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
Encrypted.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
Image.tsx Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
Message.tsx [FIX] Disable tap gesture on call messages (#3694) 2022-02-08 09:47:23 -03:00
MessageAvatar.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
MessageError.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
Reactions.tsx Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
ReadReceipt.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
RepliedThread.tsx Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
Reply.tsx Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
Thread.tsx update definitions 2022-01-17 10:18:32 -04:00
Touchable.tsx Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
Urls.tsx [FIX] TypeScript's errors raised by HOCs (#3535) 2022-01-17 13:10:39 -03:00
User.tsx [FIX] TypeScript's errors raised by HOCs (#3535) 2022-01-17 13:10:39 -03:00
Video.tsx Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
constants.ts Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
index.tsx Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
interfaces.ts Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00
styles.ts [NEW] Support new message parser (#3313) 2021-10-20 13:32:58 -03:00
utils.ts Chore: Migrate Markdown to Typescript (#3558) 2022-02-17 12:27:01 -03:00