about summary refs log tree commit diff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* [Statsig] Track posting, end reached (#3206)dan2024-03-141-0/+12
| | | | | * Track post create * Track feed endReached
* [Statsig] Track likes, reposts, follows (#3195)dan2024-03-132-4/+36
| | | | | | | | | | | | | * [Statsig] Track likes * Move tracking to intent * Track repost/unrepost * Track profile follows/unfollows * Less copy paste * Reorder
* filter out files with non-image mime typesSamuel Newman2024-03-131-7/+14
|
* Send route name with Statsig events (#3194)dan2024-03-132-5/+27
| | | | | * Add types to Statsig events * Send route name with events
* Unfork Statsig for web (#3192)dan2024-03-131-75/+0
|
* ALF confirmation dialogs (Dialogs Pt. 3) (#3143)Hailey2024-03-121-37/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Dedupe navigation events (push, navigate, pop, etc) (#3179)Hailey2024-03-122-0/+97
|
* await `share` before closing menu (#3173)Hailey2024-03-111-2/+2
|
* Fix RSS URLs treated as internal (#3156)Eric Bailey2024-03-092-4/+30
| | | | | | | | | | | * Fix RSS URLs treated as internal * Add utils to patch relative RSS external links * modify router to support multiple paths --------- Co-authored-by: Hailey <me@haileyok.com>
* Poll Statsig for config changes (#3158)dan2024-03-082-0/+24
|
* Enable gating and experimentation on native, send init event (#3149)dan2024-03-082-6/+70
| | | | | * Add the mobile fork * Add init event
* Adjust FlatList performance in main feeds (#3134)Hailey2024-03-061-0/+11
| | | | | | | | | * adjust flatlist perf settings * calculate initial num to render based on screen height * adjust window size * don't react to screen height changes
* fix internal links showing up as external pt2 (#3129)Hailey2024-03-061-2/+5
| | | | | * fix internal links showing up as external pt2 * fix internal links showing up as external pt2
* fix internal links showing up as external (#3128)Hailey2024-03-061-1/+6
| | | | | * fix internal links showing up as external * fix internal links showing up as external
* Initial feature gating and A/B testing integration (#3122)dan2024-03-062-0/+62
| | | | | | | | | | | | | | | | | | | | | | | * Add statsig dependency * Add SDK provider * Move to separate file, add tier and hashing * Disable local storage for now * Add initial gate testing fixture * Fork for web just in case * More WIP * wip * Rm test gate * Add shim on native * Clarify
* Theme tweaks (#3004)Eric Bailey2024-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Simplify intent path logic, ensure all variations work for bluesky://, ↵Hailey2024-03-011-9/+11
| | | | | | | bluesky:///, and https://bsky.app/ (#3045) * Simplify intent path logic, ensure all variations work * use startsWith
* Fix muting of embedded data (#3071)Eric Bailey2024-03-011-13/+132
|
* Dedicated screen for hashtags, POC ALF list (#3047)Hailey2024-02-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-291-9/+3
| | | | | | | | | | | | | * fix problems where www.bsky.app shows as a potential danger * never default to disabling warning * remove more defaults * update storybook cases * oops * reverse
* Don't mute your own posts (#3037)Hailey2024-02-282-0/+98
| | | | | * Don't mute your own posts. * fix and add tests
* close open dialogs when deep linking to composer (#3020)Hailey2024-02-281-1/+5
|
* Improve muted word matching (#3018)Eric Bailey2024-02-282-248/+313
| | | | | * Use name params * Add language exception matching
* Share Extension/Intents (#2587)Hailey2024-02-271-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Tags menu/muted words improvements (#3002)Eric Bailey2024-02-271-2/+19
| | | | | | | | | | | | | | | * 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
* Intent handler (#2992)Hailey2024-02-271-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle URL params * Add resources * Add other params * refactor for scope * modify the pr to support intents rather than utm remove linebreak remove linebreak handle web adjust path check to work on web add a short delay for opening the composer setup compose intent, move to `intents` directory fix intent logic ignore incoming intents in the navigation router * refactor --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Log to Sentry whenever users encounter Bluesky feed errors (#2999)Hailey2024-02-271-0/+6
|
* Add tags and mute words (#2968)Eric Bailey2024-02-265-1/+751
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-3/+3
| | | | | * scale back sentry logs * update migrate log tests
* Fix dim mode unread notif colorPaul Frazee2024-02-231-2/+2
|
* 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-231-0/+29
| | | | | | | | | | | | | | | | | * 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>
* Normalize relative day (#2874)Mary2024-02-231-1/+1
| | | | | | | | | | | | | * fix: normalize relative date * chore: add comments * refactor: skip flooring normalized diff * refactor: let -> const * fix: get own copy of date to prevent mutating * refactor: rounding does the same trick
* increase timeout to 15s (#2958)Hailey2024-02-231-1/+1
|
* Rename Home Feed Prefs to Following Feed Prefs (#2965)dan2024-02-221-1/+1
|
* Remove async resizing from external embed player (#2936)Hailey2024-02-201-14/+14
| | | | | | | | | | | | | | | | | | | | | * 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
* Update IS_PROD check (#2930)Hailey2024-02-192-92/+9
| | | | | | | * update is_prod check * remove unused constants * rename `IS_PROD` function to `IS_PROD_SERVICE`
* Implement captcha (#2882)Hailey2024-02-171-256/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Bump contrast on dim mode for old ds (#2888)Eric Bailey2024-02-161-0/+19
|
* Update tests to get them passing again (#2853)Paul Frazee2024-02-121-1/+2
|
* basic export repository link in settings (#2641)bnewbold2024-02-121-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Round line height (#2824)Eric Bailey2024-02-091-1/+1
| | | | | * Round line height * Add to existing
* Correct the country code name of Taiwan (#2797)Edison Lee2024-02-081-1/+1
|
* Options for selecting dark theme, fix some white flashes when in dark mode ↵Hailey2024-02-062-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2722) * add dark theme selection to settings/schema * use `useThemePrefs` where needed * adjust theme providers to support various themes * update storybook * handle web themes * better themeing for web * dont show dark theme prefs when color mode is light * drop the inverted text change on oled theme * get the color mode inside of `useColorModeTheme` * use `ThemeName` type everywhere * typo * use dim/dark instead of dark/oled * prevent any fickers on web * fix styles * use `dim` for dark default * more cleanup * 🤔 * set system background color * ts
* fix some youtube videos not properly loading (#2726)Hailey2024-02-061-5/+8
| | | | | | | | | * add player iframe to bskyweb * iframe for youtube content * update tests * ts error
* password flow improvements (#2730)Hailey2024-02-061-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add button to skip sending reset code * add validation to reset code * comments * update test id * consistency sneak in - everything capitalized * add change password button to settings * create a modal for password change * change password modal * remove unused styles * more improvements * improve layout * change done button color * add already have a code to modal * remove unused prop * icons, auto add dash * cleanup * better appearance on android * Remove log * Improve error messages and add specificity to function names --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* fix web aux click on all browsers (#2633)Hailey2024-02-062-45/+0
|
* Bump replies (#2604)Mary2024-02-051-3/+14
| | | | | * fix: bump replies * refactor: only bump if not at 0
* fix: listen for error event on image (#2736)Mary2024-02-051-0/+3
|
* i18n interests, allow for fallbacks (#2692)Eric Bailey2024-01-301-0/+3
|