about summary refs log tree commit diff
path: root/src/view/com
Commit message (Collapse)AuthorAgeFilesLines
* Tags menu/muted words improvements (#3002)Eric Bailey2024-02-272-3/+7
| | | | | | | | | | | | | | | * 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-2610-3/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Scale back sentry logs for trivial events (#2997)Hailey2024-02-261-1/+1
| | | | | * scale back sentry logs * update migrate log tests
* Tweak tabbar sizing on web (#2996)dan2024-02-271-22/+23
|
* Fix imprecise header height calculation (#2995)dan2024-02-271-14/+5
| | | | | * Remove dead code * Fix header height calculation
* Remove side borders on mobile web list (#2994)dan2024-02-271-2/+2
|
* Adjust `windowSize` on `PostThread` `FlatList` (#2989)Hailey2024-02-261-0/+1
| | | | | * adjust window size, cells batching period * rm batching period change
* fix reversed icons in validator 🤦 (#2991)Hailey2024-02-261-2/+2
|
* use `showControls` to show/hide live text icon on ios (#2982)Hailey2024-02-234-2/+12
|
* Make dim theme dim (#2966)dan2024-02-231-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>
* Add handle validation to create account UI (#2959)Hailey2024-02-233-34/+116
| | | | | | | | | | | | | | | | | * 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>
* Rename Home Feed Prefs to Following Feed Prefs (#2965)dan2024-02-222-3/+3
|
* Refactor feed header components (#2964)dan2024-02-226-209/+140
| | | | | | | | | | | * 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
* Navigate back from a deleted post's route (#2948)dan2024-02-211-1/+30
|
* Last usage (#2944)Eric Bailey2024-02-201-5/+4
|
* Remove async resizing from external embed player (#2936)Hailey2024-02-202-70/+34
| | | | | | | | | | | | | | | | | | | | | * remove debug adjust youtube shorts height fix webview style simplify styles fix resizing make it more clear remove async resizes from external player * remove comment * ts * reverse aspect
* Swap `RichText` (#2934)Eric Bailey2024-02-207-29/+32
| | | | | | | | | | | | | * 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
* Update IS_PROD check (#2930)Hailey2024-02-192-5/+5
| | | | | | | * update is_prod check * remove unused constants * rename `IS_PROD` function to `IS_PROD_SERVICE`
* Implement captcha (#2882)Hailey2024-02-178-524/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * web height adjustment border radius incase of dark/dim mismatch rm country codes adjust height general form refactor more form refactor refactor form submission activity indicator after finished remove remaining phone stuff adjust captcha height adjust state to reflect switch move handle to the second step pass color scheme param ts ts update state when captcha is complete web views and callbacks remove old state allow specified hosts replace phone verification with a webview * remove log * height adjustment * few changes * use the correct url * remove some debug * validate handle before continuing * explicitly check if there is a did, dont rely on error * rm throw * update allowed hosts * update redirect host for webview * fix handle * fix handle check * adjust height for full challenge
* remove sandbox labels (#2883)Hailey2024-02-165-72/+4
| | | | | * rm sandbox * remove comment
* Fix jumps when navigating into long threads (#2878)dan2024-02-162-40/+74
| | | | | | | | | | | * Reveal parents in chunks to fix scroll jumps Co-authored-by: Hailey <me@haileyok.com> * Prevent layout jump when navigating to QT due to missing metrics --------- Co-authored-by: Hailey <me@haileyok.com>
* Fix layout measurements (again) (#2866)dan2024-02-141-21/+14
|
* Adjust post thread scroll for cached posts (#2865)dan2024-02-141-61/+82
| | | Co-authored-by: Hailey <me@haileyok.com>
* Move visual display logic out of PostThread generators (#2862)dan2024-02-131-28/+55
| | | | | | | | | | | | | * Split skeleton gen into replies and parents Co-authored-by: Hailey <me@haileyok.com> * Move REPLY_PROMPT out of the generator * Move the rest of visual logic out of gen --------- Co-authored-by: Hailey <me@haileyok.com>
* Add a little more bottom pad to be safePaul Frazee2024-02-131-1/+2
|
* Add safearea pad to bottom of native splashPaul Frazee2024-02-131-0/+3
|
* fix: style adjustmentsMary2024-02-131-2/+1
|
* fix: use the size propMary2024-02-131-1/+2
|
* feat: language selection on mobileMary2024-02-131-1/+75
|
* fix: do not remove the outlineMary2024-02-131-1/+0
|
* feat: language selection on web splash screenMary2024-02-131-3/+66
|
* fix: localize the splash screen footerMary2024-02-131-4/+6
|
* Fix duplicate keys in PostThread (#2854)dan2024-02-121-12/+15
|
* Update tests to get them passing again (#2853)Paul Frazee2024-02-122-2/+2
|
* pad right for treeview (#2849)Hailey2024-02-121-1/+11
| | | | | * pad right for treeview * add comment
* Add search button to header on feeds screen (#2848)Hailey2024-02-121-55/+70
| | | | | * add search bar to header * add button on web
* Improved server selector during account creation and signin (#2840)Paul Frazee2024-02-127-237/+273
| | | | | | | | | | | | | | | | | * Replace the ServerInput modal with a new dialog based on alf that remembers your server address history and doesnt put staging and localdev in the options * Update the server selector during account creation * dont apply capitalization, use url keyboard * Apply insets to dialog top * Improve padding of dialogs on native * Fix race condition in dialog close; also fix fire of the onClose event in dialogs --------- Co-authored-by: Hailey <me@haileyok.com>
* remove line height from text input for composer on ios (#2844)Hailey2024-02-121-1/+3
| | | | | * remove line height from text input for composer * only apply removal to ios
* Add follow button to highlighted post (#2828)Hailey2024-02-122-126/+254
| | | | | | | | | | | | | | | | | * add user-minus icon * add follow button to highlighted post * web hack for animations * adjustments * remove static string width, use flexbox * Revert "add user-minus icon" This reverts commit f1aafb3e39dce131b729864924d63a22368f9187. * better displaying of display name
* ios adult content link fix 🤦 (#2845)Hailey2024-02-121-2/+7
|
* Update `blueskyweb.xyz` links to `bsky.social` (#2830)surfdude292024-02-123-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Always show post dropdown button at the bottom of the post, add share button ↵dan2024-02-092-39/+45
| | | | | | | | | | | | | | | | | | | | | | | | to highlighted post (#2646) * Always show post dropdown at the bottom * Rm useless view (no longer needed) * space icons evenly in big, add equal padding * add share icon * add onShare * confirmed figma noob. figured it out. * use our svg naming strat * Update icon --------- Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Measure header layout reliably (#2817)dan2024-02-091-16/+21
| | | | | * Measure header layout reliably * grammar
* Fix layout calculations (#2816)dan2024-02-081-11/+31
|
* Fix flashes and jumps when opening profile (#2815)dan2024-02-084-113/+71
| | | | | | | | | | | * Don't reset the tree when profile loads fully * Give avatars a background color like placeholders * Prevent jumps due to rich text resolving * Rm log * Rm unused
* Show text cursor on web bio (#2813)dan2024-02-091-1/+1
|
* Precache basic profile from posts for instant future navigations (#2795)Hailey2024-02-092-22/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * skeleton for caching * modify some existing logic * refactor uri resolution query * add precache feed posts * adjustments * remove prefetch on hover (maybe revert, just example) * fix * change arg name to match what we want * optional infinite stale time * use `ProfileViewDetailed` * Revert "remove prefetch on hover (maybe revert, just example)" This reverts commit 08609deb0defa7cea040438bc37dd3488ddc56f4. * add warning comment back for stale time * remove comment * store profile with both the handle and did for query key * remove extra block from revert * clarify argument name * remove QT cache * structure queries the same (put `enabled` at bottom) * use both `ProfileViewDetailed` and `ProfileView` for the query return type * placeholder profile header * remove logs * remove a few other things we don't need * add placeholder * refactor * refactor * we don't need this height adjustment now * use gray banner while loading * set background color of image to the loading placeholder color * reorg imports * add border to header on loading * Fix style * Rm radius * oops * Undo edit * Back out type changes * Tighten some types and moderate shadow * Move precaching fns to profile where the cache is * Rename functions to match what they do now * Remove anys --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Remove Profile Preview modal (#2790)dan2024-02-084-204/+14
|
* Keep pager feeds in sync with the right pane (#2775)dan2024-02-081-1/+1
| | | | | | | | | | | * Hoist selected feed state * Seed state from params * Refine and fix logic * Fix scroll restoration * Soft reset on second click
* Fix error screen on native, use `Not Found` for profile errors instead of ↵Hailey2024-02-082-46/+54
| | | | | | | | | | | `Oops!` (#2789) * remove unnecessary `<CenterView>` * show back header on profile error * use `Not Found` instead of `Oops` for account errors * use `Not Found` instead of `Oops` for account errors