about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.99 prep (#7925)Paul Frazee2025-03-061-17/+19
| | | | | | | | | * Revert #7847 (was causing layout issues) * Test fixes * Pull latest translations from crowdin * Run intl:extract:all
* Fix text not wrapping in social proof (#7920)Samuel Newman2025-03-061-0/+2
| | | | | | | * Fix text not wrapping in social proof * fix web too * add max_w_full atom
* Add context for toast messages (#7902)Minseo Lee2025-03-065-8/+10
| | | | | * add context for toast * add
* Filter searchable people list by accepted (#7915)Samuel Newman2025-03-061-1/+4
|
* Add report dialog e2e tests (#7913)Eric Bailey2025-03-052-1/+10
|
* Add language: Esperanto (#7863)surfdude292025-03-051-0/+2
| | | | | | | | | | | | | | | | | * Create messages.po * Update app.config.js * Update lingui.config.js * Update dates.ts * Update helpers.ts * Update i18n.ts * Update i18n.web.ts * Update languages.ts
* Add language: Scottish Gaelic (#7864)surfdude292025-03-051-0/+2
| | | | | | | | | | | | | | | | | * Create messages.po * Update app.config.js * Update lingui.config.js * Update dates.ts * Update helpers.ts * Update i18n.ts * Update i18n.web.ts * Update languages.ts
* Add language: Welsh (#7866)surfdude292025-03-051-0/+2
| | | | | | | | | | | | | | | | | * Create messages.po * Update app.config.js * Update lingui.config.js * Update dates.ts * Update helpers.ts * Update i18n.ts * Update i18n.web.ts * Update languages.ts
* mark label for translation (#7908)surfdude292025-03-051-1/+1
|
* Add dark mode option to in-app embed snippet dialog (#7377)Samuel Newman2025-03-051-59/+125
| | | | | | | | | * add color theme selection * change chevron direction * change chevron direction again * rm unused ref
* DMs inbox (#7778)Samuel Newman2025-03-047-45/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve error screen * add chat request prompt * mock up inbox * bigger button * use two-button layout * get inbox working somewhat * fix type errors * fetch both pages for badge * don't include read convos in preview * in-chat ui for non-accepted convos (part 1) * add chatstatusinfo * fix status info not disappearing * get chat status info working * change min item height * move files around * add updated sdk * improve badge behaviour * mock up mark all as read * update sdk to 0.14.4 * hide chat status info if initiating convo * fix unread count for deleted accounts * add toasts after rejection * add prompt to delete * adjust badge on desktop * requests -> chat requests * fix height flicker * add mark as read button to header * add mark all as read APIs * separate avatarstack into two components (#7845) * fix messages being hidden behind chatstatusinfo * show inbox preview on empty state * fix empty state again * Use new convo availability API (#7812) * [Inbox] Accept button on convo screen (#7795) * accept button on convo screen * fix types * fix type error * improve spacing * [DMs] Implement new log types (#7835) * optimise badge state * add read message log * add isLogAcceptConvo * mute/unmute convo logs * use setqueriesdata * always show label on button * optimistically update badge * change incorrect unread count change * Update src/screens/Messages/Inbox.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/screens/Messages/components/RequestButtons.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/screens/Messages/components/RequestButtons.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/screens/Messages/components/RequestListItem.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * fix race condition with accepting convo * fix back button on web * filter left convos from badge * update atproto to fix CI * Add accept override external to convo (#7891) * Add accept override external to convo * rm log --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Add metrics to reporting flow (#7871)Eric Bailey2025-03-011-2/+21
| | | | | * Add metrics to reporting flow * Remove vestigial state
* New reporting flow (#7832)Eric Bailey2025-02-289-10/+1209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to align web dialogs to top * Add new wait util * Pipe through feed view to feed components * Reset unneeded change to main * Copy over fresh report dialog based on old * Hack in temp testing data * Swap in new dialog in all cases but chat * Cleanup * Add load and initial error state * Fill in states * Add copyright link * Handle single labeler case * Comment out debug code * Improve centering of type in circles * Open details if Other is selected * Remove debug code * Tweak colors * Bump SDK * Tweak Admonition for better x-platform styles * Add retry button * Add close button * Remove todo not covered in this PR * Translate Retry
* Logger improvements (#7729)Eric Bailey2025-02-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove enablement * Refactor context and filtering * Fix imports, simplify transports config * Migrate usages of debug context * Re-org, add colors and grouping to console logging * Remove temp default context * Remove manual prefix * Move colorizing out of console transport body * Reduce reuse * Pass through context * Ensure bitdrift is enabled in dev * Enable Sentry on web only * Clean up types * Docs * Format * Update tests * Clean up tests * No positional args * Revert Sentry changes * Clean up context, use it, pass metadata through to Bitdrift * Fix up debugging * Clean up metadata before passing to Bitdrift * Correct transports * Reserve context prop on metadata and include in transports * Update tests
* tweak link handling (#7857)Hailey2025-02-272-1/+17
|
* Modify hosting provider text for better localization (#7847)Minseo Lee2025-02-261-14/+16
| | | | | | | | | * Update HostingProvider.tsx * Update src/components/forms/HostingProvider.tsx --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* label pref alignment (#7844)Samuel Newman2025-02-251-0/+1
|
* translate hosting provider text (#7834)surfdude292025-02-251-2/+2
|
* Better tablet layout (#7656)Samuel Newman2025-02-256-9/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * better tablet layout * adjust left nav spacing * add right nav to pwi * clearer logic * fix a couple screens that don't need the tablet layout * fix horiz scroll bar * fix double trending * fix ts-ignore * fix labeller screen * don't offset things within dialogs * fix load latest button (and add scale animation) * center loader on home screen * adjust break points * adjust left nav spacing * fix load latest btn (again) * add lang select to right nav if left nav is minimal * fix double scrollbar on tiny screens * fix scrollbar * fix type errors
* Fix max height of dialog flatlists (#7839)Eric Bailey2025-02-251-3/+8
| | | | | | | * Fix max height of dialog flatlists * Remove unneeded wrapper to fix Close positioning * Add wrapper back and fix with position static
* Constrain dropdown height to fit in the screen (#7730)Samuel Newman2025-02-251-1/+1
| | | | | | | * constrain dropdown height with css variable * fix duplicated dependency * fix pendantic lockfile
* Dedupe profile labels (#7833)Samuel Newman2025-02-242-6/+6
| | | | | * dedupe labels * apply to postalerts
* Tweak prompt title text when removing a feed (#7824)surfdude292025-02-241-1/+1
|
* Tweak accessibility strings (#7822)surfdude292025-02-241-1/+1
|
* Fix optimistic rendering of profile page (#7830)Samuel Newman2025-02-241-29/+28
| | | | | | | * don't hold up rendering on starter packs * add tab based on profile.associated * move query into component, fix pending states
* connect inputs together in signup (#7809)Samuel Newman2025-02-214-8/+45
|
* Fix android datepicker height (#7804)Samuel Newman2025-02-212-22/+11
| | | | | * fix datepicker height * fix suffixtext clipping
* set minimum birthday to 13 years ago (#7808)Samuel Newman2025-02-211-1/+2
|
* Get sheet padding working consistently (#7798)Samuel Newman2025-02-212-14/+23
| | | | | | | * 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
* [APP-1049] show label expiration in frontend (#7738)Eric Bailey2025-02-182-37/+115
| | | | | | | | | | | | | * Add support for label exp to LabelsOnMeDialog * Add exp to PostAlerts, align with LabelsOnMe UI * Bump weight * Improve translations * Expiry should round up * Add a little visual alignment hack
* [APP-1054] Add option to align web dialogs to top (#7760)Eric Bailey2025-02-183-7/+12
| | | | | | | * Add option to align web dialogs to top * Format * Align all dialogs to top, with relative spacing on larger screens for better balance
* `@atproto/api@next` integration (#7344)Eric Bailey2025-02-1821-97/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump SDK * Use consistent type in profile query * Omit from constraint for profile shadow * Replace isRecord with isValidRecord in QuoteEmbed * Omit type from constraint for old ProfileCard * Omit type from constraint in profile queries where appropriate * Use correct type for update profile mutation * Conslidate and fix check for isValidRecord in Post.tsx * Replace isRecord with isValidRecord in PostThreadItem * Remove redundant cast in PostThreadFollowBtn * Ignore errors in DebugMod screen * Use matching type in ProfileFollows screen * Use matching type in ProfileFollowers screen * Migrate to isValidRecord in PostFeedItem * Use matching type if PostRepostedBy * Omit type from constraint in avatar props * Use matching types in NotificationFeedItem * Todo * Use isValidRecord in NotfyFeedItem * Improve MediaPreview types * Migrate another isValidRecord in NotificationFeedItem * Migrate to isValidView in queries/util * Migrate to isValidRecord in threadgate/util * Fix types in threadgates * Fix up types in starter-packs queries * Todo * Specify exact types in search-posts * Use internal type util to align types * Ditto last * Migrate postgate/index * Specify exact types in post-thread * Use correct type in post-quotes * FIX potential bug in post-thread * Use correct type in post-feed * Add correct type guards to notifications/feed * Migrate a guard in notifications/util * Migrate guard in Wizard/State * [@next] Profile handling, migrate `ProfileCard` (#7347) * Introduce new utils for profiles, migrate old ProfileCard * Rename, reorg * Add parseEmbed utils * Expand AnyProfileView to include chat profile view, update post shadow to reflect this * Cast for perf reasons * Tighten up types now that we have AnyProfileView * Add fastIsType util * Use `assertDid` Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use util types * Comment * Use fastIsType where no validation was happening before * suggestions (#7382) * suggestions * Revert unneeded changes --------- Co-authored-by: Eric Bailey <git@esb.lol> * Use new util * Rename to dangerousIsType * Convert object shape * Use dangerous util * Use dangerous util * Use dangerous util, we can trust post records * Use dangerous util * Use AnyProfileVIew * Convert object shape * Clean up handling * Patch moderateProfile to accept known profile views, to discuss * Add AnyStarterPackView and related, implement in first usage * Remove validation, fix type, fix ref * Migrate over list-conversations * Clarify intent behind precacheProfile and its unstable query cache * Clean up unstable profile cache * Fix types during label creation in PwiOptOut (#7346) * Tighten types in queries/list * Chat: use correct profile views * Chat: fix log type check * Chat: construct lexically correct shape, even though it's only internal usage * Chat: use correct profile types * Chat: fix type check in logs * Starter: use correct profile types * Starter: use correct profile types * Starter: tighten types to match lex * Any profile type will work in blocked-and-muted * Use dangerous util * Use dangerousIsType * Update new ProfileCard to use AnyProfileView * Use dangerousIsType * Remove outdated todo * Use correct profile type * Use correct profile types * Tighten up types * Use dangerousIsType * Chat: more type fixes * Remove unused file * Add a few utils * Remove unused file * Ignore feedPost.__source * Clean up types, leave validation in critical path * Use dangerousIstype * Use ANyProfileView * Use isValidRecord * Use dangerousIsType * Fix types in ListCard * Fix FeedInterstitials types * Fix types in FeedCard * Fix types in dms ReportDialog * Fix types in SearchablePeopleList * Fix bad type in composer opts * Starter: ok these need to be loose too * Clarify docs Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Less code Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use package exports Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> * Use package exports * Bump sdk, update $Typed imports * Format * Format * Fix weird TS error * Remove patch * Beter name * It's memo, can validate * Tighten up parseEmbed, dogfood * Bump sdk * Use asPredicate * Loosen types a bit * use asPredicate * Fix types * Use asPredicate * Use asPredicate * Use asPredicate * Clean up upsertProfile types * Use asPredicate * Use Un util * Fix types * Use new AnyProfileView * Use dangerousIsType * Use asPredicate * Use asPredicate * Add fallback content-type to pass typecheck * Clean up upsertProfile types * Align types * Use dangerousIsType * Use dangerousIsType * Use asPredicate * Align types * Convert findLast * Align types * Just ignore type errors and use findLast * Rename atproto -> bsky * Add validate util * Fix type error * Loosen types * Export post * rename atp bsky * Remove unused code * minor changes * Bump deps * Fix types * Tighten back up loose check * Tighten back up loose check * Fix small bug * Update comment * Revert change --------- Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com> Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>
* Fix "log in", "log out" to "sign in", "sign out" (#7739)Minseo Lee2025-02-172-2/+2
| | | | | * log to sign * logged to signed
* Update PostInteractionSettingsDialog.tsx (#7726)Minseo Lee2025-02-131-1/+2
|
* Revert "fix quote & feed padding not being pressable (#7694)" (#7733)Samuel Newman2025-02-131-3/+2
| | | This reverts commit 521a764d4f896518af7f668e2d196b720461ec13.
* Improved search language select (#7591)Samuel Newman2025-02-132-3/+8
| | | | | | | | | | | | | | | | | * replace with Menu * new icon for native * hackfix radix dropdown height * fix jsx * reduce language names with lots of variants to what firefox returns from Intl.DisplayNames * more language label simplifications * add collision padding * adjust spacing around and left align title
* Improved search page (#7590)Samuel Newman2025-02-122-2/+3
| | | | | | | | | | | | | | | | | | | * search input revamp * fix web * rm "useThemeNew" * fix overlap during transition * animate header properly * reduce gap * animate cancel button in * don't move search bar when focused * remove cancel button animation
* Special treatment for recommended starter packs (#7706)Samuel Newman2025-02-122-42/+52
| | | | | | | * special treatment for recommended starter packs * update subtitle when SPs in recommended * fix item height
* Animate dropdown menus (#7704)Samuel Newman2025-02-121-1/+8
| | | | | * animate dropdowns * rm unused animation
* Better animations for dialogs, animate web composer (#7703)Samuel Newman2025-02-121-14/+10
| | | | | | | | | * animation atoms, use for modals * respect reduced motion * simplify animtions * fix atoms
* fix quote & feed padding not being pressable (#7694)Samuel Newman2025-02-121-2/+3
|
* [APP-1031] Add new followerRule to threadgate settings (#7681)Eric Bailey2025-02-112-1/+24
| | | | | | | | | | | | | | | | | | | | | | | * Add new followerRule to threadgate settings * Handle WhoCanReply copy * Handle follow case * fix ci * Revert "Handle follow case" This reverts commit bc454dad896fe577bec91f3d65d971ad9e0fec8d. * Hide Follow button if followedBy rule enabled * Revert "Revert "Handle follow case"" This reverts commit cadc46d2dc50120424ed460943775c58efc59c4d. --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Refine accessibilityHint (#7554)Minseo Lee2025-02-116-9/+9
| | | | | | | | | | | | | | | * `accessibilityHint` * accessibilityHint * Update Co-Authored-By: jason-me <mail@jason-hester.me> * Update LoginForm.tsx --------- Co-authored-by: jason-me <mail@jason-hester.me>
* Add language: Interlingua (#7715)Paul Frazee2025-02-111-0/+1
| | | | | * Add language: Interlingua * Add ia entry in dates
* Fix unknown threadgates causing crashes (#7692)Samuel Newman2025-02-071-1/+6
| | | | | * fix unknown threadgates * don't fuck with the styles
* simplify ui (#7670)Hailey2025-02-063-15/+0
|
* [APP-1013] Configure and apply default post interaction settings from user ↵Eric Bailey2025-02-061-26/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preferences (#7664) * Add interaction settings screen * Move header out of interaction settings form * WIP hook it up * Thread through default settings into composer * Update copy pasta * Handle edited state * Copy feedback * Sentence case Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update copy * Bump SDK * Fix new type error * Less in your face * Remove new dep * Add slot * Copy edit --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Fix slow Hosting Provider dialog (#7594)Samuel Newman2025-02-031-2/+2
| | | | | * avoid portal perf pitfall * add dep array
* make convo menu lazy (#7604)Samuel Newman2025-02-031-123/+156
|
* Fix convo header loading state (#7603)Samuel Newman2025-02-033-25/+35
| | | | | | | * get initial convo state from cache * undo useConvoQuery changes * fix shadowing situation with new hook