about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* add padding to the `ScrollableInner`Hailey2024-03-152-3/+3
|
* change to scrollable innerSamuel Newman2024-03-151-2/+2
|
* make alignment platform specific rather than size specificSamuel Newman2024-03-151-6/+6
|
* center date inputSamuel Newman2024-03-151-12/+14
|
* rename BirthdaySettings -> BirthDateSettings + remove legacy modalSamuel Newman2024-03-151-1/+1
|
* ALF the birthday modal and remove legacy oneSamuel Newman2024-03-151-0/+122
|
* Tweak prompt styles on mobile web (#3193)Eric Bailey2024-03-121-1/+3
|
* Fix dropdown close via a portaled backdrop (#3191)Eric Bailey2024-03-121-0/+16
|
* Fix sensitivity while scrolling (#3190)Eric Bailey2024-03-122-0/+9
|
* ALF confirmation dialogs (Dialogs Pt. 3) (#3143)Hailey2024-03-124-38/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve a11y on ios * Format * Remove android * Fix android * ALF confirmation dialog * Use ALF for Delete Post confirmation organize diff fix text minimize change copy alternative confirm prompt revert type changes add ButtonColor param * small adjustment to buttons in prompt * full width below gtmobile * update hide post dialog * space out dialogs * update dialogs for lists * add example * add to app passwords * Revert some changes * use sharedvalue for `importantForAccessibility` * add back `isOpen` * fix some more types * small adjustment to buttons in prompt * full width below gtmobile * update the rest of the prompts rm old confirm modal rm update prompt feed error prompt feed source card and profile block/unblock composer discard * Update src/view/screens/AppPasswords.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * lint * How about a default * Reverse reverse * Port over confirm dialogs * Add some comments * Remove unused file * complete merge * add testID where needed --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Use new menu for Profile (#3168)Hailey2024-03-126-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Small fixes (#3184)Eric Bailey2024-03-121-2/+2
| | | | | | | | | * Fix alignment of MutedWords close button * Add cancel button to dropdowns * Revert "Add cancel button to dropdowns" This reverts commit b8f5ddce924311e439aeaa844a80d38f6e7da051.
* Combine actions, convert to new menu (#3174)Eric Bailey2024-03-123-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | * Combine actions, convert to new menu * remove about tab and move content to header * Tweak alignment * fix missing rkey * hog the like button * Add a little more whitespace * Improve a11y * Yeah toast * Update usage * Pin to Home --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Convert profile edit avatar/banner dropdown menus to new menu (#3177)Hailey2024-03-123-2/+42
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Dedupe navigation events (push, navigate, pop, etc) (#3179)Hailey2024-03-122-10/+6
|
* Unwrap Menu.Trigger on web (#3182)Eric Bailey2024-03-122-26/+67
|
* Fix `lineHeight` problems on native with new `Text` (#3175)Hailey2024-03-111-4/+4
|
* Adjustments to ALF prompt buttons (Dialogs Pt. 2) (#3144)Hailey2024-03-082-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve a11y on ios * Format * Remove android * Fix android * small adjustment to buttons in prompt * full width below gtmobile * Revert some changes * use sharedvalue for `importantForAccessibility` * add back `isOpen` * fix some more types * small adjustment to buttons in prompt * full width below gtmobile --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Make ALF prompt scrollable for accessibility (#3150)Hailey2024-03-081-5/+15
| | | | | * make alf prompt scrollable * padding
* Fix reactivity of dialogs (Dialogs Pt. 1) (#3146)Hailey2024-03-082-5/+3
| | | | | | | | | | | | | | | | | | | | | * Improve a11y on ios * Format * Remove android * Fix android * Revert some changes * use sharedvalue for `importantForAccessibility` * add back `isOpen` * fix some more types --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Refactor `PostDropdownBtn` to use new `Menu` (#3112)Eric Bailey2024-03-086-4/+29
| | | | | | | | | | | | | | | | | | | | | * Refactor PostDropdownBtn (cherry picked from commit 0adf6cb75e3d4b7c1630cf6153c0d7e289e1b859) * Update icons (cherry picked from commit ac89ef9b28721c00736b1388455f3f5f092de0ad) * Port over fixes * fix scrollbar disappearing * Try CSS solution * Disable arrow for now --------- Co-authored-by: Hailey <me@haileyok.com>
* Allow all encoding for hashtags in URL (#3131)Hailey2024-03-072-4/+4
|
* Switch date picker libraries (#3126)Hailey2024-03-062-32/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert other base PR changes, switch date picker library rm expo-linear-gradient Revert "remove unused packages, switch to `expo-linear-gradient`" This reverts commit 20a0ffcf Revert "upgrade expo deps" This reverts commit a43dca92caa120d45fb771431752dd2db3b37ab5. Revert other library changes This reverts commit 5219f66e Revert "re-add normalize-url" This reverts commit 654019c4babe2e455f6069a6c725eb51140ab1ab. Revert "add `expo-haptics`" This reverts commit ff3a0399b1c7eae07b83946f13543eedf7cdfe82. Revert "add `expo-clipboard`" This reverts commit 440ae91632153e22ff79050d8ac803a7305e88a0. Revert "add `expo-file-system`" This reverts commit c0fe0c94534564982399c22299a8a19052bf3e54. fix android alf use modal on android migrate to `react-native-date-picker` rm `@reactnativecommunity/datetimepicker` add `react-native-date-picker` add `expo-file-system` add `expo-clipboard` add `expo-haptics` re-add normalize-url rm blur view upgrade expo deps remove unused packages, switch to `expo-linear-gradient` * rm old library * Use UTC for dates --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Fix double border on web hashtag list (#3091)Hailey2024-03-061-5/+8
| | | | | * add `topBorder` to Views.tsx * fix double border
* Add `Menu` component (#3097)Eric Bailey2024-03-056-11/+534
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* use `onClose` instead of `onChange` for close callback (#3116)Hailey2024-03-051-22/+16
|
* Improve dialogs a11y (#3094)Eric Bailey2024-03-042-44/+51
| | | | | | | | | * Improve a11y on ios * Format * Remove android * Fix android
* Revert "Enable tags inside of quotes (#3041)" (#3075)Hailey2024-03-011-18/+24
| | | This reverts commit f016cdbca9660d9e10faefae5c34c8574795419e.
* dismiss keyboard on touch mute dialog (#3074)Hailey2024-03-011-157/+164
|
* Theme tweaks (#3004)Eric Bailey2024-03-013-32/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve contrast using existing scale * Make it mathy * Tweaks * Adjust noty * Remove console * Cleanup * Match saturation * Replace usages of tokens with correct palette (cherry picked from commit 1d9c7079dc25dfa492bd482c1c7661ea2e822d68) * Replace other colors, tweak usages (cherry picked from commit df97f249b2f140bbc010449fddb011a31795919a) * Last couple things (cherry picked from commit 3b5cee131f68ea8f4125f2c32b9a4b20f5b91086) * fix "Users" being the wrong color on user list about --------- Co-authored-by: Hailey <me@haileyok.com>
* Fix backdrop issues by using custom logic (#3072)Hailey2024-03-011-11/+47
| | | | | | | | | * use custom backdrop * use custom backdrop * org imports * rm log
* Enable tags inside of quotes (#3041)Hailey2024-03-011-24/+18
| | | | | | | | | | | * enable tags for quote posts * mentions too * just disable pointer events instead * apply fix for both web and native * minimize diff
* Few list tweaks on web (#3062)Hailey2024-03-011-5/+23
| | | | | | | | | | | | | | | * share button only on native * update gttablet to be 1300px * improve web layout * change re-layout to mobile breakpoint * adjustable not found reason * don't show the borders on mobile web * slight padding for the spinner
* Dedicated screen for hashtags, POC ALF list (#3047)Hailey2024-02-294-44/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * create dedicated hashtag "search" screen clarify loading component name more adjustments rework `ViewHeader` to keep chevron centered w/ first line adjustments adjustments use `author` instead of `handle` in route add web route for url add web route for url Add desktop list header support web keep header lowercase add optional subtitle to view header correct isFetching logic oops use `isFetching` for clarity in footer combine logic update bskyweb finish screen style, add footer, add spinner, etc add list add header, params create a screen * add variable to server path * localize `By` * add empty state * more adjustments * sanitize author * fix web * add custom message for hashtag not found error * ellipsis in middle * fix * fix trans * account for multiple # * encode # * replaceall * Use sanitized tag * don't call function in lingui * add share button --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Bump API SDK, add validation to MutedWords (#3055)Eric Bailey2024-02-293-16/+55
| | | | | | | | | * Bump API SDK, add validation to MutedWords * Tweaks to error state * Comment * Early return
* Dismiss keyboard when closing dialog (#3053)Hailey2024-02-291-2/+10
|
* Fix link warnings (#3058)Hailey2024-02-292-9/+8
| | | | | | | | | | | | | * fix problems where www.bsky.app shows as a potential danger * never default to disabling warning * remove more defaults * update storybook cases * oops * reverse
* Add TagMenu controls stub on web (#3028)Eric Bailey2024-02-291-1/+14
|
* Integrate new dialogs into old back handling (#3023)Eric Bailey2024-02-284-12/+36
|
* Protect against non functions being passed to close callback (#3019)Eric Bailey2024-02-284-11/+20
|
* Remove dangerous derived state from RichText (#3007)dan2024-02-271-21/+4
| | | | | * Remove facet resolution from RichText * Remove derived state
* Tags menu/muted words improvements (#3002)Eric Bailey2024-02-272-6/+27
| | | | | | | | | | | | | | | * Fix translations * Handle loooong words * Truncate on desktop web, revert mobile changes * Break the words * Small enough for mobile web * Fix alignment on mobile web * Clarify
* Add tags and mute words (#2968)Eric Bailey2024-02-2615-28/+907
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add bare minimum hashtags support (#2804) * Add bare minimum hashtags support As atproto/api already parses hashtags, this is as simple as hooking it up like link segments. This is "bare minimum" because: - Opening hashtag "#foo" is actually just a search for "foo" right now to work around #2491. - There is no integration in the composer. This hasn't stopped people from using hashtags already, and can be added later. - This change itself only had to hook things up - thank you for having already put the hashtag parsing in place. * Remove workaround for hash search not working now that it's fixed * Add RichTextTag and TagMenu * Sketch * Remove hackfix * Some cleanup * Sketch web * Mobile design * Mobile handling of tags search * Web only * Fix navigation woes * Use new callback * Hook it up * Integrate muted tags * Fix dropdown styles * Type error * Use close callback * Fix styles * Cleanup, install latest sdk * Quick muted words screen * Targets * Dir structure * Icons, list view * Move to dialog * Add removal confirmation * Swap copy * Improve checkboxees * Update matching, add tests * Moderate embeds * Create global dialogs concept again to prevent flashing * Add access from moderation screen * Highlight tags on native * Add web highlighting * Add close to web modal * Adjust close color * Rename toggles and adjust logic * Icon update * Load states * Improve regex * Improve regex * Improve regex * Revert link test * Hyphenated words * Improve matching * Enhance * Some tweaks * Muted words modal changes * Handle invalid handles, handle long tags * Remove main regex * Better test * Space/punct check drop to includes * Lowercase post text before comparison * Add better real world test case --------- Co-authored-by: Kisaragi Hiu <mail@kisaragi-hiu.com>
* Make dim theme dim (#2966)dan2024-02-232-2/+2
| | | | | | | | | | | | | | | | | | | | | * Make dim color scheme dim * Tweaks * Overall tweaks * We have to go darker * Tweak saturation of blues in dim * Increase contrast on dark-dark mode * adjust dim --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* use `useOpenLink` hook for links in ALF (#2975)Hailey2024-02-231-10/+13
| | | | | * use `useOpenLink` hook for links in ALF * web only for `outline`
* Add optional close callback to Dialog (#2947)Eric Bailey2024-02-203-8/+16
| | | | | * Add optional close callback * No emitter
* Swap `RichText` (#2934)Eric Bailey2024-02-202-5/+8
| | | | | | | | | | | | | * Switch to new RT * Allow early exit from links * Build in tracking to text atoms * Clean up FeedSourceCard * Clean up leading after new default * Add deprecated notice
* Improve dialogs issue (#2941)Eric Bailey2024-02-201-1/+3
| | | | | | | * Fix collapse, update backdrop color * Remove test prop * Remove debug code
* Improve dialogs (#2933)Eric Bailey2024-02-195-84/+122
| | | | | | | | | * Improve dialogs * Remove comment, revert storybook * Hacky fix * Comments
* Add `selectable` to new text components (#2899)Eric Bailey2024-02-193-68/+70
| | | | | | | | | * Make new text selectable (broken) * Fixes * Fix bad conflict resolution * Remove console