about summary refs log tree commit diff
path: root/src/view
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-2615-6/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-232-90/+17
| | | | | | | | | | | | | | | | | | | | | * 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-224-12/+12
|
* Refactor feed header components (#2964)dan2024-02-227-211/+142
| | | | | | | | | | | * 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
|
* Add optional close callback to Dialog (#2947)Eric Bailey2024-02-201-1/+5
| | | | | * Add optional close callback * No emitter
* Last usage (#2944)Eric Bailey2024-02-201-5/+4
|
* Update blogpost URL in ExportCarDialog.tsx (#2939)surfdude292024-02-201-1/+1
|
* 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-209-37/+40
| | | | | | | | | | | | | * 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
* Improve dialogs issue (#2941)Eric Bailey2024-02-201-5/+38
| | | | | | | * Fix collapse, update backdrop color * Remove test prop * Remove debug code
* Improve dialogs (#2933)Eric Bailey2024-02-191-1/+1
| | | | | | | | | * Improve dialogs * Remove comment, revert storybook * Hacky fix * Comments
* 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`
* Add `selectable` to new text components (#2899)Eric Bailey2024-02-191-1/+4
| | | | | | | | | * Make new text selectable (broken) * Fixes * Fix bad conflict resolution * Remove console
* 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-166-82/+6
| | | | | * rm sandbox * remove comment
* Fix default loader color (#2891)Eric Bailey2024-02-161-0/+9
|
* Link updates (#2890)Eric Bailey2024-02-161-1/+6
| | | | | | | | | * Link updates, add atoms * Update comments * Support download * Don't open new window for download
* 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>
* Tune the feeds page a little morePaul Frazee2024-02-131-17/+24
|
* 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
|
* Merge branch 'feat/logged-out-improvements' of ↵Paul Frazee2024-02-132-8/+146
|\ | | | | | | https://github.com/mary-ext/fork-bsky-app into mary-ext-feat/logged-out-improvements
| * 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
| |
* | Add copy to feeds page (#2852)Hailey2024-02-131-88/+120
|/ | | | | | | | | | | | | | | | | | | | | | | | | * move `IconCircle` to `components` for reuse * add copy to feeds page * start of a header * saveit * add lg size * add your feeds * don't show Your Feeds if you don't have any * Minor ui tweaks * cleanup * remove unused activity indicator --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix duplicate keys in PostThread (#2854)dan2024-02-121-12/+15
|
* Remove invites code UI (#2851)Eric Bailey2024-02-123-193/+66
| | | | | * Hide invite codes UI, comment in settings * Just comment out
* Update tests to get them passing again (#2853)Paul Frazee2024-02-122-2/+2
|
* basic export repository link in settings (#2641)bnewbold2024-02-123-35/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * basic export repository link in settings Absolutely no prior React experience, and limited TypeScript, so probably doing all kinds of things wrong! I tried to make it a download button instead of link but that didn't work. There is probably a safer way to construct the URL string. I think having the download open in the browser is reasonable, as opposed to an in-app save flow in mobile. But i'm not sure. * Remove appview proxy toggle * Move Settings screen to a subfolder * Add support for the download attribute on links in web * Rewrite ExportRepository modal using ALF * Mobile ui tweaks --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* 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-122-72/+126
| | | | | * 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