about summary refs log tree commit diff
path: root/src/view/com/util
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix double border on web hashtag list (#3091)Hailey2024-03-062-2/+13
| | | | | * add `topBorder` to Views.tsx * fix double border
* Revert "Enable tags inside of quotes (#3041)" (#3075)Hailey2024-03-011-4/+1
| | | This reverts commit f016cdbca9660d9e10faefae5c34c8574795419e.
* Enable tags inside of quotes (#3041)Hailey2024-03-011-1/+4
| | | | | | | | | | | * enable tags for quote posts * mentions too * just disable pointer events instead * apply fix for both web and native * minimize diff
* Fix icons on blurred posts (#3068)Eric Bailey2024-03-012-2/+2
|
* Dedicated screen for hashtags, POC ALF list (#3047)Hailey2024-02-291-37/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix link warnings (#3058)Hailey2024-02-292-6/+5
| | | | | | | | | | | | | * fix problems where www.bsky.app shows as a potential danger * never default to disabling warning * remove more defaults * update storybook cases * oops * reverse
* Show tab bar on desktop web (#2998)dan2024-02-271-1/+15
| | | | | | | | | | | | | | | * Show tabbar on desktop * Make bottom border always 1px * Don't hide/show navbar when switching tabs * two rows WIP * Top bar tweaks * Make scroll adjustement native-only * Add new web scroll behavior
* 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-264-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Remove side borders on mobile web list (#2994)dan2024-02-271-2/+2
|
* Navigate back from a deleted post's route (#2948)dan2024-02-211-1/+30
|
* 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-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
* remove sandbox labels (#2883)Hailey2024-02-161-35/+0
| | | | | * rm sandbox * remove comment
* Update tests to get them passing again (#2853)Paul Frazee2024-02-121-1/+1
|
* Add search button to header on feeds screen (#2848)Hailey2024-02-121-55/+70
| | | | | * add search bar to header * add button on web
* Always show post dropdown button at the bottom of the post, add share button ↵dan2024-02-091-15/+44
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fix flashes and jumps when opening profile (#2815)dan2024-02-081-1/+4
| | | | | | | | | | | * 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
* Precache basic profile from posts for instant future navigations (#2795)Hailey2024-02-091-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-081-32/+12
|
* Fix error screen on native, use `Not Found` for profile errors instead of ↵Hailey2024-02-081-45/+53
| | | | | | | | | | | `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
* Fix open-in-new-tab for TextLink (#2773)dan2024-02-061-0/+22
|
* Display the language selection dialog correctly on web (#2719)Hailey2024-02-062-15/+37
| | | | | | | | | * add event to callback * position translation button correctly based on press position * properly place the background * remove worthless comment
* Prevent post meta misclicks in QT (#2701)dan2024-02-061-7/+9
|
* fix some youtube videos not properly loading (#2726)Hailey2024-02-061-2/+6
| | | | | | | | | * add player iframe to bskyweb * iframe for youtube content * update tests * ts error
* fix web aux click on all browsers (#2633)Hailey2024-02-062-11/+44
|
* Long press external embed to share (#2621)Samuel Newman2024-02-051-2/+15
| | | | | * long press external embed to share * use existing shareUrl function
* show bottom bar on web tablet breakpoints when logged out (signup cta) (#2747)Hailey2024-02-041-2/+8
| | | | | | | | | * show signup bottom bar on web tablet * show signup bottom bar on web tablet * comment * adjust load latest btn position based on logged in/out
* Workaround Safari content-visibility bug (#2699)dan2024-01-301-1/+4
|
* Merge pull request #2695 from bluesky-social/hailey/fix-android-swipeHailey2024-01-302-11/+35
|\ | | | | fix left swipe on android
| * add commentHailey2024-01-301-0/+2
| |
| * update commentHailey2024-01-301-4/+9
| |
| * cleanupHailey2024-01-301-2/+2
| |
| * cleanupHailey2024-01-301-4/+13
| |
| * use variableHailey2024-01-301-1/+1
| |
| * use gap on nativeHailey2024-01-302-12/+20
| |
* | Merge pull request #2679 from bluesky-social/hailey/check-blocks-load-profileHailey2024-01-301-1/+5
|\ \ | |/ |/| clear cache when blocking/unblocking and whenever we get blocked, better invalidation logic for `useProfileQuery`
| * better namingHailey2024-01-291-1/+5
| |
| * dont invalidate profile queries if they are only for display name resolutionHailey2024-01-291-1/+1
| |
* | use in app browser for translations when enabled (#2663)Hailey2024-01-301-3/+5
|/
* Adjust placeholder to be pixel-perfect (#2650)dan2024-01-261-17/+28
|
* Two UI tweaks after recent updates (#2647)Paul Frazee2024-01-262-14/+14
| | | | | * Readd the top border to the highlighted post when a reply (revert #2628) * Readd right pad to post controls
* Account creation improvements & some other fixes (#2636)Paul Frazee2024-01-251-5/+3
| | | | | | | | | | | * Quick fix to mobile * Enlarge tap targets in account creation * Improve keyboard behaviors during account creation * Improve autocompletion behaviors during account creation * Use the logo in the Deactivated screen
* Prefetch profile links on web (#2634)dan2024-01-253-1/+17
|
* Clean up some sentry logs (#2630)Eric Bailey2024-01-251-2/+2
| | | | | | | * Change prop name for sentry ingestion * Fix test * Add default object
* Fix post controls tap areas (#2627)dan2024-01-253-67/+87
|
* Fix races for post like/repost toggle (#2617)dan2024-01-251-46/+29
|
* Derive shadow like count (#2616)dan2024-01-251-6/+0
|
* Clean up the post controls UI (#2614)dan2024-01-254-41/+52
| | | | | | | | | * Hide zeros on post ctrls * Align buttons between posts * Update loading placeholders * Remove unused
* Use consistent spinners for loading screens (#2611)dan2024-01-241-0/+14
| | | | | * Use consistent spinners for loading screens * Consolidate into LoadingScreen