about summary refs log tree commit diff
path: root/src/components/Menu/index.tsx
Commit message (Collapse)AuthorAgeFilesLines
* 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