about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
* [Explore] Base (#8053)Samuel Newman2025-04-022-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * migrate to #/screens * rm unneeded import * block drawer gesture on recent profiles * rm recommendations (#8056) * [Explore] Disable Trending videos (#8054) * remove giant header * disable * [Explore] Dynamic module ordering (#8066) * Dynamic module ordering * [Explore] New headers, metrics (#8067) * new sticky headers * improve spacing between modules * view metric on modules * update metrics names * [Explore] Suggested accounts module (#8072) * use modern profile card, update load more * add tab bar * tabbed suggested accounts * [Explore] Discover feeds module (#8073) * cap number of feeds to 3 * change feed pin button * Apply suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * restore statsig to log events * filter out followed profiles, make suer enough are loaded (#8090) * [Explore] Trending topics (#8055) * redesigned trending topics * rm borders on web * get post count / age / ranking from api * spacing tweaks * fetch more topics then slice * use api data for avis/category * rm top border * Integrate new SDK, part out components * Clean up * Use status field * Bump SDK * Send up interests and langs --------- Co-authored-by: Eric Bailey <git@esb.lol> * Clean up module spacing and borders (cherry picked from commit 63d19b6c2d67e226e0e14709b1047a1f88b3ce1c) (cherry picked from commit 62d7d394ab1dc31b40b9c2cf59075adbf94737a1) * Switch back border ordering (cherry picked from commit 34e3789f8b410132c1390df3c2bb8257630ebdd9) * [Explore] Starter Packs (#8095) * Temp WIP (cherry picked from commit 43b5d7b1e64b3adb1ed162262d0310e0bf026c18) * New SP card * Load state * Revert change * Cleanup * Interests and caching * Count total * Format * Caching * [Explore] Feed previews module (#8075) * wip new hook * get fetching working, maybe * get feed previews rendering! * fix header height * working pin button * extract out FeedLink * add loader * only make preview:header sticky * Fix headers * Header tweaks * Fix moderation filter * Fix threading --------- Co-authored-by: Eric Bailey <git@esb.lol> * Space it out * Fix query key * Mock new endpoint, filter saved feeds * Make sure we're pinning, lower cache time * add news category * Remove log * Improve suggested accounts load state * Integrate new app view endpoint * fragment * Update src/screens/Search/modules/ExploreTrendingTopics.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/screens/Search/modules/ExploreTrendingTopics.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * lint * maybe fix this --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Hailey <me@haileyok.com>
* Add plural formatting, translate and tweak some accessibility strings in ↵surfdude292025-04-022-26/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | composer (#7997) * add plural formatting and translate accessibility strings * tweak accessibility label and add comments for translators * fix * tweak comments * make label conditionally plural * rm stray bracket * try to fix prettier * nope * lint * more lint * prettier --------- Co-authored-by: Hailey <me@haileyok.com>
* Simplify content warning dialog text (#7943)surfdude292025-04-021-3/+2
| | | | | | | | | | | | | * simplify content warning dialog text * tweak copy * Update src/view/com/composer/labels/LabelsBtn.tsx Co-authored-by: Hailey <hailey@blueskyweb.xyz> --------- Co-authored-by: Hailey <hailey@blueskyweb.xyz>
* Add plural formatting for alt text truncated string (#7994)surfdude292025-04-012-6/+12
| | | | | | | | | * add plural formatting in GifAltText.tsx * add plural formatting in ImageAltTextDialog.tsx * import Plural * format
* Fix loading jumps and footer on feeds tab (#8063)Samuel Newman2025-04-012-54/+54
| | | | | * Fix loading jumps and footer on feeds tab * same for lists/starter packs
* Preload emoji picker data for reactions on web (#8079)Eric Bailey2025-03-281-0/+24
| | | | | * Preload emoji picker data for reactions on web * Sort imports
* fix people list footer (#8039)Samuel Newman2025-03-271-11/+18
|
* Extract center column offset, reduce by 20px (#7974)Samuel Newman2025-03-241-1/+2
| | | | | * extract offset, reduce by 20px * move constant to `Layout/const.ts`
* Revert "Small revert to be on the safe side (#7932)" (#7958)Samuel Newman2025-03-244-28/+41
| | | This reverts commit 0014b8b9cd0a5858ea7fad31361e5b611296e912.
* haptics on external link card (#8049)Samuel Newman2025-03-241-4/+12
|
* Fix post thread item hider line height crop (#8028)Samuel Newman2025-03-202-3/+2
|
* remove from iab (#8017)Hailey2025-03-171-2/+2
|
* remove .parse usage (#8016)Hailey2025-03-172-3/+3
| | | | | * remove .parse usage * add one more usage
* Don't poll for latest for Discover (#7993)Eric Bailey2025-03-171-1/+16
|
* Restore hardcoded DIDs for Discover debug (#7977)Samuel Newman2025-03-131-2/+5
|
* tweak label (#7937)surfdude292025-03-121-1/+1
|
* Update `VideoTooLargeError` strings (#7923)surfdude292025-03-121-1/+1
|
* Small revert to be on the safe side (#7932)Eric Bailey2025-03-074-41/+28
| | | | | | | | | * Revert "fix autocomplete (#7930)" This reverts commit f06a78017a92de96bb4df0812c5934023440df95. * Revert "#6861: Use available space to make focus on Composer TextInput easier (copy) (#7836)" This reverts commit e40656128d2fad41762ec1e7f022bc10fcdd25fc.
* fix autocomplete (#7930)Samuel Newman2025-03-072-2/+2
|
* Catch thrown error for autoplay in Safari (#7921)Eric Bailey2025-03-061-2/+10
|
* tweak ci (#7916)Samuel Newman2025-03-062-9/+13
|
* Merge #7903 (#7917)Eric Bailey2025-03-065-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add missing msg macro calls for i18n (#7903) * Add missing msg macro calls for i18n * Update src/screens/Settings/AppIconSettings/useAppIconSets.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Apply surfdude29's suggestions from code review Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Format --------- Co-authored-by: Stanislas Signoud <signez@stanisoft.net> Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* fixing moderation blur gap when replying via the thread feed (#7783)Seth Wood2025-03-061-1/+2
|
* Add context for toast messages (#7902)Minseo Lee2025-03-066-23/+27
| | | | | * add context for toast * add
* skeletons for chat list (#7907)Samuel Newman2025-03-051-0/+42
|
* DMs inbox (#7778)Samuel Newman2025-03-041-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix progress guide location breakpoints (#7887)Samuel Newman2025-03-031-3/+2
|
* New reporting flow (#7832)Eric Bailey2025-02-282-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* tweak link handling (#7857)Hailey2025-02-274-0/+5
|
* Tweak accessibility label and add translation comment (#7843)surfdude292025-02-261-1/+3
| | | | | * make label clearer * add translation comment
* Fix for avatar preloading (#7816)Seth Wood2025-02-262-15/+26
| | | | | | | * mobile avatar profile preloading fix * updating fix to include moderation * removing comments, adding disableNavigation to PreviewableUserAvatarProps
* improve toasts on oled dark mode (#7842)Samuel Newman2025-02-251-2/+7
|
* Add soft reset to chat list (#7771)Samuel Newman2025-02-251-1/+0
| | | | | * add soft reset to chat list * refresh when soft resetting
* Remove `moderatePost_wrapped` (#7188)Samuel Newman2025-02-254-5/+8
| | | | | | | | | * rm `moderatePost_wrapped` * Handle display in app --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Better tablet layout (#7656)Samuel Newman2025-02-254-42/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* #6861: Use available space to make focus on Composer TextInput easier (copy) ↵Samuel Newman2025-02-253-27/+40
| | | | | | | | | | | | | | | | | | | | (#7836) * 6861: Use available space to make focus on Composer TextInput easier * Undo web * bluesky-social#6861: Adjust focus area for native platforms taking Embeds into consideration * use atoms * remove empty div * remove debug atom, whoopsie --------- Co-authored-by: GrizliK1988 <dgrachikov@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Plural formatting for `TimeIndicator` `accessibilityLabel` (#7826)surfdude292025-02-241-2/+7
|
* Tweak prompt title text when removing a feed (#7824)surfdude292025-02-241-1/+1
|
* Basic minimum password requirements, plus field-specific errors (#7811)Samuel Newman2025-02-241-3/+14
| | | | | | | | | | | | | | | | | | | | | | | * add min password requirement * add field specific errors * move email tld check to after other email checks * add password length check to change password dialog * Update src/view/com/modals/ChangePassword.tsx Co-authored-by: Hailey <me@haileyok.com> * Update src/screens/Signup/StepInfo/index.tsx Co-authored-by: Hailey <me@haileyok.com> * fix lint --------- Co-authored-by: Hailey <me@haileyok.com>
* Fix optimistic rendering of profile page (#7830)Samuel Newman2025-02-242-2/+2
| | | | | | | * don't hold up rendering on starter packs * add tab based on profile.associated * move query into component, fix pending states
* make composer pills tappable when keyboard is active (#7717)gpp2025-02-231-0/+1
|
* Mute account from post (#7712)Samuel Newman2025-02-211-1/+51
| | | | | * mute account from post * move options around
* consistent sentence case captialisation (#7749)Samuel Newman2025-02-211-17/+17
|
* Remove shadowed follow gate handling (#7774)Eric Bailey2025-02-181-10/+1
|
* `@atproto/api@next` integration (#7344)Eric Bailey2025-02-1813-31/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-175-5/+5
| | | | | * log to sign * logged to signed
* Screen for searching user's posts (#7622)Samuel Newman2025-02-141-0/+17
| | | | | | | | | | | * search user's posts screen * custom placeholder copy if self * navigate to /profile/:handle * add name to title * show header on desktop
* [Instrumentation] Signin (#7742)Samuel Newman2025-02-141-1/+5
| | | | | * first pass at instrumenting login * round time taken
* Revert "fix quote & feed padding not being pressable (#7694)" (#7733)Samuel Newman2025-02-132-9/+45
| | | This reverts commit 521a764d4f896518af7f668e2d196b720461ec13.
* Add dev mode for easy copying of at:// URIs and DIDs (#7723)Tom Sherman2025-02-132-2/+69
| | | | | | | | | | | * Add dev mode for easy copying at:// URIs and DIDs * Use storage API * Share text instead of URL * Cleanup persisted schema * Change translation msg