about summary refs log tree commit diff
path: root/src/view
Commit message (Collapse)AuthorAgeFilesLines
* rename BirthdaySettings -> BirthDateSettings + remove legacy modalSamuel Newman2024-03-153-155/+4
|
* ALF the birthday modal and remove legacy oneSamuel Newman2024-03-154-12/+25
|
* Remove `FixedTouchableHighlight` , fix Android press issues (#3214)Hailey2024-03-147-76/+11
| | | | | | | * rm `FixedTouchableHighlight` * adjust delay for highlight * remove unnecessary background colors to support background ripple
* add warning to profile as wellSamuel Newman2024-03-141-1/+22
|
* use prompt.basic instead of full promptSamuel Newman2024-03-141-2/+28
|
* [Statsig] Track posting, end reached (#3206)dan2024-03-142-1/+26
| | | | | * Track post create * Track feed endReached
* [Statsig] Track likes, reposts, follows (#3195)dan2024-03-1311-10/+41
| | | | | | | | | | | | | * [Statsig] Track likes * Move tracking to intent * Track repost/unrepost * Track profile follows/unfollows * Less copy paste * Reorder
* Tweak prompt styles on mobile web (#3193)Eric Bailey2024-03-121-1/+1
|
* ALF confirmation dialogs (Dialogs Pt. 3) (#3143)Hailey2024-03-1212-515/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve a11y on ios * Format * Remove android * Fix android * ALF confirmation dialog * Use ALF for Delete Post confirmation organize diff fix text minimize change copy alternative confirm prompt revert type changes add ButtonColor param * small adjustment to buttons in prompt * full width below gtmobile * update hide post dialog * space out dialogs * update dialogs for lists * add example * add to app passwords * Revert some changes * use sharedvalue for `importantForAccessibility` * add back `isOpen` * fix some more types * small adjustment to buttons in prompt * full width below gtmobile * update the rest of the prompts rm old confirm modal rm update prompt feed error prompt feed source card and profile block/unblock composer discard * Update src/view/screens/AppPasswords.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * lint * How about a default * Reverse reverse * Port over confirm dialogs * Add some comments * Remove unused file * complete merge * add testID where needed --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Use new menu for Profile (#3168)Hailey2024-03-122-201/+313
| | | | | | | | | | | | | | | | | | | | | | | | | * use new menu on profile * organize imports * fix testID * add person icons * use `style` prop for minWidth * use new icons * rm circleban * Add unfollow option if account is blocked/blocking * use `StyleProp` 🤯 * ts after merge --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Combine actions, convert to new menu (#3174)Eric Bailey2024-03-121-199/+162
| | | | | | | | | | | | | | | | | | | | | | | | | * Combine actions, convert to new menu * remove about tab and move content to header * Tweak alignment * fix missing rkey * hog the like button * Add a little more whitespace * Improve a11y * Yeah toast * Update usage * Pin to Home --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Convert profile edit avatar/banner dropdown menus to new menu (#3177)Hailey2024-03-122-223/+239
| | | | | | | | | | | | | | | | | | | | | | | * convert profile edit dropdown menu to new menu fix banner text add `showCancel` prop to menu outer banner dropdown to menu add Cancel button to menu replace user avatar dropdown with menu add StreamingLive icon add camera icon * remove export * use new camera icon * adjust icon color
* Save image to user media library when taken from camera during composing (#3180)Hailey2024-03-121-1/+18
| | | | | | | | | * save images to media library when taken from camera * ensure we have access to media library * `canAskAgain` * just use MediaLibrary directly to avoid duplication
* Dedupe navigation events (push, navigate, pop, etc) (#3179)Hailey2024-03-123-15/+15
|
* Unwrap Menu.Trigger on web (#3182)Eric Bailey2024-03-122-28/+11
|
* move imports to topSamuel Newman2024-03-121-2/+2
|
* move button inline if viewport is small (vertically)Samuel Newman2024-03-121-4/+11
|
* Fix button widths in the Settings on web (#3165)Alice2024-03-101-0/+1
| | | | | | | | | | | | | | * Fix button widths in the Settings on Web Had to set `box-sizing: content-box` because in certain translations the buttons would become multiline. Fixes #3060. * you know what. whatever. i didn't want to be able to change box-sizing anyways. i'm perfectly happy with this workaround. * ... * flex-grow: 1
* Fix `aria-label` on the Share button (#3159)Alice2024-03-091-3/+1
| | | It had the same one as the Like button for some reason
* Fix missing check for invite code (#3157)Hailey2024-03-081-1/+1
|
* Fix reactivity of dialogs (Dialogs Pt. 1) (#3146)Hailey2024-03-081-14/+5
| | | | | | | | | | | | | | | | | | | | | * Improve a11y on ios * Format * Remove android * Fix android * Revert some changes * use sharedvalue for `importantForAccessibility` * add back `isOpen` * fix some more types --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Refactor `PostDropdownBtn` to use new `Menu` (#3112)Eric Bailey2024-03-083-173/+215
| | | | | | | | | | | | | | | | | | | | | * Refactor PostDropdownBtn (cherry picked from commit 0adf6cb75e3d4b7c1630cf6153c0d7e289e1b859) * Update icons (cherry picked from commit ac89ef9b28721c00736b1388455f3f5f092de0ad) * Port over fixes * fix scrollbar disappearing * Try CSS solution * Disable arrow for now --------- Co-authored-by: Hailey <me@haileyok.com>
* rm waitlist modal, button during sign up (#3148)Hailey2024-03-074-222/+2
|
* Adjust FlatList performance in main feeds (#3134)Hailey2024-03-061-0/+4
| | | | | | | | | * adjust flatlist perf settings * calculate initial num to render based on screen height * adjust window size * don't react to screen height changes
* Switch date picker libraries (#3126)Hailey2024-03-061-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert other base PR changes, switch date picker library rm expo-linear-gradient Revert "remove unused packages, switch to `expo-linear-gradient`" This reverts commit 20a0ffcf Revert "upgrade expo deps" This reverts commit a43dca92caa120d45fb771431752dd2db3b37ab5. Revert other library changes This reverts commit 5219f66e Revert "re-add normalize-url" This reverts commit 654019c4babe2e455f6069a6c725eb51140ab1ab. Revert "add `expo-haptics`" This reverts commit ff3a0399b1c7eae07b83946f13543eedf7cdfe82. Revert "add `expo-clipboard`" This reverts commit 440ae91632153e22ff79050d8ac803a7305e88a0. Revert "add `expo-file-system`" This reverts commit c0fe0c94534564982399c22299a8a19052bf3e54. fix android alf use modal on android migrate to `react-native-date-picker` rm `@reactnativecommunity/datetimepicker` add `react-native-date-picker` add `expo-file-system` add `expo-clipboard` add `expo-haptics` re-add normalize-url rm blur view upgrade expo deps remove unused packages, switch to `expo-linear-gradient` * rm old library * Use UTC for dates --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Fix double border on web hashtag list (#3091)Hailey2024-03-062-2/+13
| | | | | * add `topBorder` to Views.tsx * fix double border
* Fix jumpy moderation icon on desktop (#3125)dan2024-03-061-1/+1
|
* Add `Menu` component (#3097)Eric Bailey2024-03-052-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add POC menu abstraction * Better platform handling * Remove ignore * Add some menu items * Add controlled dropdown * Pass through a11y props * Ignore uninitialized context * Tweaks * Usability improvements * Rename handlers to props * Add radix comment * Ignore known type * Remove todo * Move storybook item * Improve Group matching * Adjust theming
* Hide feeds topbar on scroll (#3108)dan2024-03-051-2/+17
|
* Improve dialogs a11y (#3094)Eric Bailey2024-03-041-1/+15
| | | | | | | | | * Improve a11y on ios * Format * Remove android * Fix android
* Don't warn on internal links (#3089)Eric Bailey2024-03-041-0/+1
| | | | | * Don't want on internal links * Just disable mismatch for this inline link
* Sticky desktop header (#3077)dan2024-03-014-39/+43
|
* Fix Profile tab switch jumps on Chrome (#3076)dan2024-03-021-0/+2
|
* Revert "Enable tags inside of quotes (#3041)" (#3075)Hailey2024-03-011-4/+1
| | | This reverts commit f016cdbca9660d9e10faefae5c34c8574795419e.
* Theme tweaks (#3004)Eric Bailey2024-03-012-45/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve contrast using existing scale * Make it mathy * Tweaks * Adjust noty * Remove console * Cleanup * Match saturation * Replace usages of tokens with correct palette (cherry picked from commit 1d9c7079dc25dfa492bd482c1c7661ea2e822d68) * Replace other colors, tweak usages (cherry picked from commit df97f249b2f140bbc010449fddb011a31795919a) * Last couple things (cherry picked from commit 3b5cee131f68ea8f4125f2c32b9a4b20f5b91086) * fix "Users" being the wrong color on user list about --------- Co-authored-by: Hailey <me@haileyok.com>
* 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 new post button on web after following intent URL (#3044)Hailey2024-03-011-3/+3
| | | | | * Fix new post button on web after following intent URL * Ensure that `routes` exists before attempting to use it
* Integrate new tag detection and regexes (#3063)Eric Bailey2024-03-012-9/+18
| | | | | | | | | | | * Integrate new tag detection and regexes * Bump SDK * Can use const * Clarify intent * Enhance clarity
* 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-293-26/+13
| | | | | | | | | | | | | * fix problems where www.bsky.app shows as a potential danger * never default to disabling warning * remove more defaults * update storybook cases * oops * reverse
* Use selected feed for window title on Home (#3016)dan2024-02-281-0/+3
|
* Fix wrong feed being shown (#3015)dan2024-02-283-8/+18
|
* Remove dangerous derived state from RichText (#3007)dan2024-02-271-2/+4
| | | | | * Remove facet resolution from RichText * Remove derived state
* Safeguard posts from clobbered state (#3006)dan2024-02-282-0/+4
|
* Share Extension/Intents (#2587)Hailey2024-02-273-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add native ios code outside of ios project * helper script * going to be a lot of these commits to squash...backing up * save * start of an expo plugin * create info.plist * copy the view controller * maybe working * working * wait working now * working plugin * use current scheme * update intent path * use better params * support text in uri * build * use better encoding * handle images * cleanup ios plugin * android * move bash script to /scripts * handle cases where loaded data is uiimage rather than uri * remove unnecessary logic, allow more than 4 images and just take first 4 * android build plugin * limit images to four on android * use js for plugins, no need to build * revert changes to app config * use correct scheme on android * android readme * move ios extension to /modules * remove unnecessary event * revert typo * plugin readme * scripts readme * add configurable scheme to .env, default to `bluesky` * remove debug * revert .gitignore change * add comment about updating .env to app.config.js for those modifying scheme * modify .env * update android module to use the proper url * update ios extension * remove comment * parse and validate incoming image uris * fix types * rm oops * fix a few typos
* Show tab bar on desktop web (#2998)dan2024-02-276-88/+134
| | | | | | | | | | | | | | | * 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-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