Commit Graph

2420 Commits (a289e6bce5cf645c8e422f4e2c03a1fb2cda7a95)

Author SHA1 Message Date
Hailey e4a1069b43
await `share` before closing menu (#3173) 2024-03-11 10:42:37 -07:00
Alice 596e744d41
Fix button widths in the Settings on web (#3165)
* 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
2024-03-10 15:00:51 -07:00
Alice f6685419d8
Fix `aria-label` on the Share button (#3159)
It had the same one as the Like button for some reason
2024-03-09 13:07:56 -08:00
Eric Bailey 594958c6dc
Fix RSS URLs treated as internal (#3156)
* 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>
2024-03-09 10:35:23 -06:00
dan aad8c080ed
Poll Statsig for config changes (#3158) 2024-03-08 16:29:31 -08:00
Hailey 7899a6fd09
Fix missing check for invite code (#3157) 2024-03-08 15:25:33 -08:00
Hailey 62e57c3b08
Adjustments to ALF prompt buttons (Dialogs Pt. 2) (#3144)
* Improve a11y on ios

* Format

* Remove android

* Fix android

* small adjustment to buttons in prompt

* full width below gtmobile

* Revert some changes

* use sharedvalue for `importantForAccessibility`

* add back `isOpen`

* fix some more types

* small adjustment to buttons in prompt

* full width below gtmobile

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2024-03-08 14:43:28 -08:00
Hailey 8ee325e73d
Make ALF prompt scrollable for accessibility (#3150)
* make alf prompt scrollable

* padding
2024-03-08 14:31:50 -08:00
Hailey 0f9f08b1ef
Fix reactivity of dialogs (Dialogs Pt. 1) (#3146)
* 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>
2024-03-08 14:31:24 -08:00
Eric Bailey 8f623c3bdf
Refactor `PostDropdownBtn` to use new `Menu` (#3112)
* 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>
2024-03-08 14:45:59 -06:00
dan dd86d0964d
Enable gating and experimentation on native, send init event (#3149)
* Add the mobile fork

* Add init event
2024-03-08 04:33:42 +00:00
Hailey 31826633cb
rm waitlist modal, button during sign up (#3148) 2024-03-07 20:14:24 -08:00
dan c8e0fa9c97
Mark bundle start time on web (#3147)
* Mark bundle start time on web

* TS
2024-03-08 04:13:36 +00:00
Hailey 1cf49517b5
Allow all encoding for hashtags in URL (#3131) 2024-03-07 09:04:02 -08:00
Hailey 8b0e575f64
Adjust FlatList performance in main feeds (#3134)
* adjust flatlist perf settings

* calculate initial num to render based on screen height

* adjust window size

* don't react to screen height changes
2024-03-06 15:33:23 -08:00
Hailey 800eecbfe4
fix internal links showing up as external pt2 (#3129)
* fix internal links showing up as external pt2

* fix internal links showing up as external pt2
2024-03-06 11:40:10 -08:00
Hailey 4e6020b88c
fix internal links showing up as external (#3128)
* fix internal links showing up as external

* fix internal links showing up as external
2024-03-06 11:34:48 -08:00
Hailey 2d9a5db967
Switch date picker libraries (#3126)
* 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>
2024-03-06 13:13:03 -06:00
Hailey b8f36a8bca
Fix double border on web hashtag list (#3091)
* add `topBorder` to Views.tsx

* fix double border
2024-03-06 11:02:48 -08:00
dan 5b8d116e33
By default, hide replies to people you don't follow in the Following feed (#3124)
* Show replies from followed by default

* Update @atproto/api
2024-03-06 17:27:59 +00:00
dan 2e0f806441
Fix jumpy moderation icon on desktop (#3125) 2024-03-06 16:12:37 +00:00
dan eb298d2e60
Initial feature gating and A/B testing integration (#3122)
* 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
2024-03-06 05:55:34 +00:00
Eiichi Yoshikawa 26fc0cf66d
Improve splash display on android (#3105)
* Set window background during startup on android

* Set statusbar color to transparent and fine-tune it
2024-03-05 21:28:27 -08:00
Eric Bailey 317e0cda7a
Add `Menu` component (#3097)
* 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
2024-03-05 21:15:42 -06:00
Hailey 57854e6fc2
use `onClose` instead of `onChange` for close callback (#3116) 2024-03-05 16:55:20 -08:00
dan 20b88f43e2
Hide feeds topbar on scroll (#3108) 2024-03-05 16:45:08 +00:00
Eric Bailey 6c9d6f5b05
Improve dialogs a11y (#3094)
* Improve a11y on ios

* Format

* Remove android

* Fix android
2024-03-04 15:37:11 -06:00
Eric Bailey ebd279ed68
Don't warn on internal links (#3089)
* Don't want on internal links

* Just disable mismatch for this inline link
2024-03-04 09:25:47 -08:00
dan b70c404d4b
Sticky desktop header (#3077) 2024-03-01 18:40:47 -08:00
dan f2249614be
Fix Profile tab switch jumps on Chrome (#3076) 2024-03-02 01:34:43 +00:00
Hailey b07846f2fa
Revert "Enable tags inside of quotes (#3041)" (#3075)
This reverts commit f016cdbca9.
2024-03-01 17:15:45 -08:00
Hailey 4fc0b566ef
dismiss keyboard on touch mute dialog (#3074) 2024-03-01 17:15:20 -08:00
Eric Bailey 2962862de2
Theme tweaks (#3004)
* 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>
2024-03-01 16:06:59 -08:00
Hailey 411061ea32
Fix backdrop issues by using custom logic (#3072)
* use custom backdrop

* use custom backdrop

* org imports

* rm log
2024-03-01 16:04:46 -08:00
Hailey f016cdbca9
Enable tags inside of quotes (#3041)
* enable tags for quote posts

* mentions too

* just disable pointer events instead

* apply fix for both web and native

* minimize diff
2024-03-01 16:04:20 -08:00
Hailey e950463f71
Fix new post button on web after following intent URL (#3044)
* Fix new post button on web after following intent URL

* Ensure that `routes` exists before attempting to use it
2024-03-01 16:04:06 -08:00
Hailey 8bf40b46a0
Simplify intent path logic, ensure all variations work for bluesky://, bluesky:///, and https://bsky.app/ (#3045)
* Simplify intent path logic, ensure all variations work

* use startsWith
2024-03-01 16:03:53 -08:00
Eric Bailey a7195ccbd6
Fix muting of embedded data (#3071) 2024-03-01 16:03:34 -08:00
Hailey 82655f2ee3
Few list tweaks on web (#3062)
* share button only on native

* update gttablet to be 1300px

* improve web layout

* change re-layout to mobile breakpoint

* adjustable not found reason

* don't show the borders on mobile web

* slight padding for the spinner
2024-03-01 15:47:59 -08:00
Eric Bailey e11bd4385d
Integrate new tag detection and regexes (#3063)
* Integrate new tag detection and regexes

* Bump SDK

* Can use const

* Clarify intent

* Enhance clarity
2024-03-01 15:50:14 -06:00
Eric Bailey f8aa5fd005
Fix icons on blurred posts (#3068) 2024-03-01 15:50:04 -06:00
Hailey cf8b03801f
Dedicated screen for hashtags, POC ALF list (#3047)
* 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>
2024-02-29 17:56:29 -08:00
Eric Bailey cecb6e4e69
Bump API SDK, add validation to MutedWords (#3055)
* Bump API SDK, add validation to MutedWords

* Tweaks to error state

* Comment

* Early return
2024-02-29 19:30:30 -06:00
Hailey 04d4c9779f
Dismiss keyboard when closing dialog (#3053) 2024-02-29 15:27:00 -08:00
Hailey 39d324ab8b
Fix link warnings (#3058)
* fix problems where www.bsky.app shows as a potential danger

* never default to disabling warning

* remove more defaults

* update storybook cases

* oops

* reverse
2024-02-29 15:23:28 -08:00
Eric Bailey 1a5afccdb8
Add TagMenu controls stub on web (#3028) 2024-02-29 10:31:45 -06:00
Hailey a35976cdc9
Don't mute your own posts (#3037)
* Don't mute your own posts.

* fix and add tests
2024-02-28 18:41:23 -08:00
Eric Bailey 2440975bd2
Integrate new dialogs into old back handling (#3023) 2024-02-28 20:06:26 -06:00
Hailey 7fd13cacfe
Remove `Platform.select()` (#3027) 2024-02-28 15:38:54 -08:00
Hailey a697b39c48
add alf dialogs to useCloseAllActiveElements (#3021) 2024-02-28 11:46:19 -08:00