about summary refs log tree commit diff
path: root/src/components/dialogs/Embed.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Localize dates, counts (#5027)Eric Bailey2024-08-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * refactor: consistent localized formatting * refactor: localized date time * refactor: localize relative time with strings * chore: fix typo from copy-paste * Clean up useTimeAgo * Remove old ago * Const * Reuse * Prettier --------- Co-authored-by: Mary <git@mary.my.id>
* add ref_src (#3532)Samuel Newman2024-04-131-2/+6
|
* [Embeds] "Embed post" post dropdown option (#3513)Samuel Newman2024-04-131-0/+191
* add embed option to post dropdown menu * put embed post button behind a gate * increase line height in dialog * add gate to gate name union * hide embed button if PWI optout * Ungate embed button * Escape HTML, align implementations * Make dialog conditionally rendered * Memoize EmbedDialog * Render dialog lazily --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>