about summary refs log tree commit diff
path: root/src/components/Menu/index.tsx
Commit message (Collapse)AuthorAgeFilesLines
* [DMs] Emoji reaction picker (#8023)Samuel Newman2025-03-281-0/+2
|
* New `ContextMenu` menu type for DM messages (#8014)Samuel Newman2025-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * get context menu somewhat working ish * take screenshot rather than double rendering * get animations somewhat working * get transform animation working * rm log * upwards safe area * get working on android * get android working once and for all * fix positioning on both platforms * use dark blur on ios always, fix dark mode * allow closing with hardware back press * try and fix type error * add note about ts-ignore * round post * add image capture error handling * extract magic numbers * set explicit embed width, rm top margin * Message embed width tweaks * Format * fix position of embeds * same as above for web --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Get sheet padding working consistently (#7798)Samuel Newman2025-02-211-1/+1
| | | | | | | * tweak height/padding of iOS * tweak android ratio calculation * add a bit of extra padding to full height iOS to account for the bit below the safe area
* Update hashtag menu to use `Menu`, convert to native link for additional ↵Eric Bailey2025-01-211-1/+8
| | | | | | | | | | | | | | | a11y and click handling (#7529) * Make tag a normal link on web * Replace old TagMenu with new RichTextTag component, expand and improve click utils * Clarify intents * Ensure we're passing down hint * ope * DRY
* Fork close logic for android to match previous usage (#7165)Eric Bailey2024-12-181-3/+15
|
* Adjust height of radio (#7164)Eric Bailey2024-12-181-3/+3
|
* Add reply sorting in-thread (#7156)dan2024-12-181-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add button * Extract component * Make it work * Extract and use RadioCircle * Add tree/list setting * Prefer local state * Factor out threadViewPrefs * Fix optimistic stuff * Revert RadioButton changes * Tweak radio styles, add Menu.LabelText * Labels * Margins * Update copy --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Fix share button not working for some users (#5849)Hailey2024-12-121-18/+18
| | | | | | | | | | | | | | | * fix share button * Revert "fix share button" This reverts commit 3521c241729dc9bbe3dd7b62fc6e3e61e011cdf9. * tweak * Clean up context --------- Co-authored-by: Eric Bailey <git@esb.lol>
* fix(a11y): avoid plain `div`s as button or tabs (#6084)Cynthia2024-11-031-1/+2
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Cleanup unused props from dialogs (#5665)Hailey2024-10-091-5/+1
|
* Move Dialogs to Radix (#5648)Samuel Newman2024-10-081-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use Redix FocusTrap (#5638) * Use Redix FocusTrap * force resolutions on radix libs * add focus guards * use @radix-ui/dismissable-layer for escape handling * fix banner menu keypress by using `Pressable` * add menu in dialog example to storybook --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * use DismissableLayer/FocusScope for composer * fix storybook dialog * thread Portal through Prompt and avatar/banner * fix dialog style regression * remove tamagui --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-041-10/+11
| | | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* Expose more methods, support disabled items (#4954)Eric Bailey2024-08-191-7/+27
|
* [Clipclops] Clop menu, leave clop, mute/unmute clop (#3804)Samuel Newman2024-05-021-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * convo menu * memoize convomenu * add convoId to useChat + memoize value * leave convo * Create mute-conversation.ts * add mutes, remove changes to useChat and use chat.convo instead * add todo comments * leave convo confirm prompt * remove dependency on useChat and pass in props instead * show menu on long press * optimistic update * optimistic update leave + add error capture * don't `popToTop` when unnecessary --------- Co-authored-by: Hailey <me@haileyok.com>
* Update index.tsxMinseo Lee2024-03-131-2/+4
|
* Use new menu for Profile (#3168)Hailey2024-03-121-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * use new menu on profile * organize imports * fix testID * add person icons * use `style` prop for minWidth * use new icons * rm circleban * Add unfollow option if account is blocked/blocking * use `StyleProp` 🤯 * ts after merge --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Convert profile edit avatar/banner dropdown menus to new menu (#3177)Hailey2024-03-121-2/+28
| | | | | | | | | | | | | | | | | | | | | | | * convert profile edit dropdown menu to new menu fix banner text add `showCancel` prop to menu outer banner dropdown to menu add Cancel button to menu replace user avatar dropdown with menu add StreamingLive icon add camera icon * remove export * use new camera icon * adjust icon color
* Add `Menu` component (#3097)Eric Bailey2024-03-051-0/+190
* Add POC menu abstraction * Better platform handling * Remove ignore * Add some menu items * Add controlled dropdown * Pass through a11y props * Ignore uninitialized context * Tweaks * Usability improvements * Rename handlers to props * Add radix comment * Ignore known type * Remove todo * Move storybook item * Improve Group matching * Adjust theming