about summary refs log tree commit diff
path: root/src/view/shell/Drawer.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Revert "use comment instead of context (#8987)" (#8990)Samuel Newman2025-09-051-1/+1
| | | This reverts commit c7f8da8f9768515be7d3c79e9128c0411390c48e.
* use comment instead of context (#8987)Samuel Newman2025-09-051-1/+1
|
* add translation context for "saved" (#8982)Samuel Newman2025-09-051-1/+1
|
* 📓 Bookmarks (#8976)Eric Bailey2025-09-041-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add button to controls, respace * Hook up shadow and mutation * Add Bookmarks screen * Build out Bookmarks screen * Handle removals via shadow * Use truncateAndInvalidate strategy * Add empty state * Add toasts * Add undo buttons to toasts * Stage NUX, needs image * Finesse post controls * New reply icon * Use curvier variant of repost icon * Prevent layout shift with align_start * Update api pkg * Swap in new image * Limit spacing on desktop * Rm decimals over 10k * Better optimistic adding/removing * Add metrics * Comment * Remove unused code block * Remove debug limit * Fork shadow for web/native * Tweak alt * add preventExpansion: true * Refine hitslop * Add count to anchor * Reduce space in compact mode --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Update react-navigation (#5967)dan2025-06-091-4/+18
|
* Live (#8354)Samuel Newman2025-05-101-0/+3
|
* Verification (#8226)Eric Bailey2025-04-181-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * Alignment with icon * Add create/remove prompts * Fill out check dialog a bit * Reorg * Handle was verified state * Add warning to edit profile * Add warning to handle dialog * Decent alignment in posts on all platforms * Refactor alignment for posts, chatlist, hover card * Disable on profile * Convo header * Compute simple verification state * Add other icon, rename, integrate * Swap in simple state for profile edits * Clean up utility hooks * Add verifications UI to dialog * Add edu nux * Revert change * Fix wrapping of check on profile * Rename * Fix gap under PostMeta * Update check dialogs * Handle takendown verifiers in check dialog * alf composer reply to * Refactor verification state * Add create/remove mutations, non-functional for now * Fix up post-rebase * Add check to first author noty * Do cache updates after mutations * DRY up hook, add to profile updates too * Add to drawer * Update account list * Adapt to new types * Hook up mutations * Use profile shadow in feeds * Add to settings * Shadow currentAccountProfile * Add invalid state to verifications * Fix alignment and overflow in Settings and Drawer * Re-integrate post rebase * Remove debug code * Update copy * Add unverified notification support * Remove link * Make sure dialog closes * Update URL * Add settings screen * Integrate new setting into verification states * Add metrics, bump package, fix bad import * NUX fixes * Update copy * Fixes * Update types * fix search autocomplete * fix lint * add display name warning to new dialog * update default prefs * Add parsing support for notifications * Bump pkg * Tweak noty styles * Adjust check alignment * Tweak check alignment * Fix badge for verifier * Modify copy --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Rename search to explore in titles and links (#8116)Eric Bailey2025-04-041-5/+5
| | | | | * Rename search to explore in titles and links * Conditionally use Explore
* Plural formatting for accessibility `unread items` strings (#7743)surfdude292025-02-241-2/+7
|
* fix padding on android 15 (#7411)Samuel Newman2025-01-091-2/+7
|
* Slightly reduce rerenders in drawer (#6270)Samuel Newman2024-11-121-31/+38
| | | | | * slightly reduce renders in drawer * fix missing hook
* Fix drawer icon alignment (#5991)Eric Bailey2024-10-281-0/+1
|
* drawer border (#5893)Samuel Newman2024-10-281-1/+3
|
* tweak hover state (#5892)Samuel Newman2024-10-211-109/+104
|
* Fix up drawer background (#5785)Eric Bailey2024-10-171-3/+2
|
* Unified 'Chats' in drawers into 'Chat' (#5790)Frudrax Cheng2024-10-171-2/+2
|
* Clean up drawer (#5761)Samuel Newman2024-10-161-315/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clean up drawer * add a lil bit of padding * Drawer nits (#5778) * Avi stuff * Rm SafeAreaView, not working on Android * Dividers and spacing * Fix count on android, ended up refactoring the whole MenuItem * Litttttle more space * Improve NavSignupCard * format nit --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Make 'em round (#5654)Eric Bailey2024-10-081-0/+1
|
* Font tweaks (#5597)Eric Bailey2024-10-031-2/+3
| | | | | | | * Increase fontWeight on android * Use atoms for a couple stray fontWeights * Rm unused file
* Remove Segment (#5518)Hailey2024-09-271-14/+6
|
* [Neue] Font weights (#5442)Eric Bailey2024-09-201-13/+13
| | | | | | | * Align all font weights * Only load necessary fonts * Also comment out from hook
* Localize dates, counts (#5027)Eric Bailey2024-08-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Improve styles (#4916)Minseo Lee2024-08-111-26/+38
| | | | Co-authored-by: Hailey <me@haileyok.com>
* Replace incongruous buttons in drawer (#4772)Eric Bailey2024-07-121-34/+24
| | | | | * Replace incongruous buttons in drawer * Improve a11y help
* Move feeds screen into common navigator, handle usages (#4365)Eric Bailey2024-06-111-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move feeds screen into common navigator, handle usages * Add link to Feeds from home screen (#4366) * Add link to feeds to home screen header * Center logo * Replace icons * Tweak spacing * Tweak spacing * Swap icon, sizing * Buttonize, size * Make menu same alignment on all screens * Remove FeedsTab support, enable drawer swipe on MessagesTab * Add note * Vertically align header * Swap in Pin * Use hashtag icon * Remove png * Fix reference * Ensure alignment with home and other screens
* Add icons to drawer (#3956)Eric Bailey2024-05-101-55/+41
|
* Improve localization marks (#3285)Minseo Lee2024-05-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update Lightbox.tsx * Change strings for easier localization * Update DeleteAccount.tsx * Update LabelsOnMeDialog.tsx * Update FeedCard.tsx * Update index.tsx * Update LabelsOnMeDialog.tsx * Update index.tsx * Update FeedCard.tsx * Update SelfLabel.tsx * Update Hashtag.tsx * Update index.tsx * Update Hashtag.tsx * Update ChangeHandle.tsx * Update index.web.tsx * Update index.web.tsx * Update index.tsx * Remove unnecessary `<Trans>` tags * Update Drawer.tsx
* Replace pluralize by plural by @tkusano (#3882)Paul Frazee2024-05-061-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace pluralize with plural or Plural * Replace all pluralize (defined by src/lib/strings/helpers.ts) with plural or Plural (defined by @lingui/macro) to make some UI elements translatable. * Delete pluralize() and related test. * Import @formatjs polyfill libraries for plural on ios and android - ios and andorid: import `@formtjs/intl-locale` and `@formatjs/intl-pluralrules` to polyfill `Intl.Locale` and `Intl.PluralRules` which are used in `plural()` and '<Plural />'. - update `plural` use in notification messages for better translation. * Rewrite to pass lint * Add Catalan plural polyfill * more replacement * import zh plural data for zh-CN * Refactor feed header components (#2964) * Move home-related files to view/com/home * Add HomeHeader in front of FeedTabBar * Move isDekstop check outside FeedsTabBar * Remove PWI logic from tabbar * Separate platform-specific layout from shared logic * Rename Home Feed Prefs to Following Feed Prefs (#2965) * use `useOpenLink` hook for links in ALF (#2975) * use `useOpenLink` hook for links in ALF * web only for `outline` * increase timeout to 15s (#2958) * Normalize relative day (#2874) * fix: normalize relative date * chore: add comments * refactor: skip flooring normalized diff * refactor: let -> const * fix: get own copy of date to prevent mutating * refactor: rounding does the same trick * Add handle validation to create account UI (#2959) * show uiState errors in the box as well simplify copy update ui for only letters and numbers add ui validation to handle selection * simplify names * Fix accidental text-node render --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> * Make dim theme dim (#2966) * 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> * Fix dim mode unread notif color * use `showControls` to show/hide live text icon on ios (#2982) * Update .po files * fix reversed icons in validator 🤦 (#2991) * Adjust `windowSize` on `PostThread` `FlatList` (#2989) * adjust window size, cells batching period * rm batching period change * Pluralize 'follow(s)' * Include a space between the msgid count and "follower(s)/following(s)" so the translator can adjust the translated count line to fit within the Drawer. * pluralie '# following' * Fix & Update * Rewrite to use Plural * rmeove unused import * When commiting changes, disable 'simple-import-sort' plugin in .eslintrc.js to sync with bluesky-social:main * Revert simple-import-sort/imports related changes * Move ProfileHoverCard web to plural util * Followings -> following * Add plural following to hovercard * Followings -> Following --------- Co-authored-by: Takayuki KUSANO <kusano@tkusano.jp> Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com> Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Add kawaii mode (#3773)Samuel Newman2024-05-011-0/+13
|
* Remove Moderation from sidebar (#3692)dan2024-04-241-27/+0
|
* Increase hit slop for web's app language picker (#3535)Mary2024-04-131-1/+3
| | | | | | | | | * fix: make app language picker tap region larger * fix: add right padding on drawer signup card noticeable on portuguese language * fix: mimic hitSlop
* PWI improvements (#3489)Paul Frazee2024-04-121-26/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable home and feeds on the PWI * Add global SigninDialog to drive useRequireAuth() * Tweak desktop styles * Make the logo in leftnav PWI a clickable home link * Add label * Improve dialog on web * Fix query key * Go to home after signout from settings screen * Filter out feeds from the discover listing for logged out users which are known to break without auth * Update profile header follow/subscribe to give signin prompt * Show profile feeds tabs on pwi * Add language selector to account creation footer and pwi left nav desktop --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Merge branch 'patch-3' of https://github.com/quiple/social-app into ↵Paul Frazee2024-03-191-4/+6
|\ | | | | | | quiple-patch-3
| * Update Drawer.tsxMinseo Lee2024-02-141-4/+6
| |
* | Use consistent avatar shape/defaults for labelers (#3257)Eric Bailey2024-03-191-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | * Add type: labeler to easy spots * Search and ProfileCard * Filter out of suggested follows * ComposeReplyTo * PReviewable avatar in posts * Lists * PostMeta * Notifications * Autocomplete * Straggler * Bump sdk
* Remove invites code UI (#2851)Eric Bailey2024-02-121-54/+1
| | | | | * Hide invite codes UI, comment in settings * Just comment out
* Update `blueskyweb.xyz` links to `bsky.social` (#2830)surfdude292024-02-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update blogpost link to bsky.social and remove unnecessary localisation params at end of Play Store URL in README.md * Update privacy policy link to bsky.social in PrivacyPolicy.tsx * Update TOS link to bsky.social in TermsOfService.tsx * Update links to bsky.social in Links.tsx * Update links to bsky.social in SplashScreen.web.tsx * Update link to bsky.social in base.html * Update links to bsky.social in HomeLoggedOutCTA.tsx * Update links to bsky.social in RightNav.tsx * Update links to bsky.social in Drawer.tsx * Update DMCA link to bsky.social in Modal.tsx * Update link to copyright policy on bsky.social in CopyrightPolicy.tsx * Update link to bsky.social in CommunityGuidelines.tsx * Update links to bsky.social in Settings.tsx * Update to bsky.social in Typography.tsx
* Use new palette values for main palette (#2566)Eric Bailey2024-01-181-1/+4
| | | | | * Use new palette values for main palette * Drawer bg in dark mode
* Internationalize more strings (#2440)Stanislas Signoud2024-01-091-2/+4
| | | Co-authored-by: Ansh <anshnanda10@gmail.com>
* Add policy links to left nav and settings page (#2300)Paul Frazee2023-12-241-0/+19
|
* Some brand, some pwi (#2212)Eric Bailey2023-12-141-11/+11
| | | | | | | | | | | | | | | * Add logo to left nav in logged out * Protect last routes * Hide links in left nav, hide nav * Replace bottom bar for pwi * Remove same links from drawer * Hide reply prompt * Allow search
* PWI behavior updates (#2207)Paul Frazee2023-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable PWI * Disable access to feeds on PWI * Remove feeds nav item from drawer when signed out * Replace discover feed on home with a CTA * Wire up the sign in and create account buttons to go straight to their respective screens * Give a custom ScreenHider interface for no-pwi * Add side borders on desktop to the screen hider * Filter accounts in the autocomplete according to mod settings * Trim replies in the post thread that are pwi opt-out * Show 'learn more' on the content hider when no-override is enabled * Apply the moderation filter on profile cards * Disable post search on logged-out view * Update locale files * Bump api pkg * Ensure feeds with no posts don't show as NSFPublic * Fix types --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Multiple notifications fixes (#2154)Paul Frazee2023-12-091-9/+1
| | | | | | | | | | | | | | | * Dont reset notifications feed on push notification event * Dont separate notifications by read state to avoid jank * On notifications screen focus, check latest and only rerender if not scrolled down * Reuse the cached notifs page when its not stale * Bump ios build number * Improve comments * Change the 'mark all read' condition to avoid firing too early
* Optimize Drawer re-renders (#2108)dan2023-12-061-184/+312
|
* Maintain some feed data to avoid needless glimmers (#2054)Paul Frazee2023-11-301-3/+2
|
* Various fixes (#2053)Paul Frazee2023-11-301-13/+6
| | | | | * Fix invite code translations (plural api not availabe in ios) * Speed up the composer animation a smidge
* Merge remote-tracking branch 'upstream/main' into invite-code-warningSamuel Newman2023-11-301-1/+1
|\
| * Fix infinite query reloading behavior (reset, not invalidate) (#2031)Paul Frazee2023-11-291-1/+1
| | | | | | | | | | * Reset, not invalidate, notification queries * Reset, not invalidate, feed queries
* | show informative message when token scope is wrongSamuel Newman2023-11-301-10/+25
|/
* [PWI] Shell (#1967)Eric Bailey2023-11-211-81/+94
| | | | | | | | | | | | | | | * Sidebars * Bottom bar * Drawer * Translate * Spacing fix * Fix responsive regression * Fix nit