Commit graph

1554 commits

Author SHA1 Message Date
dan
894f00d687
Rename Home Feed Prefs to Following Feed Prefs (#2965) 2024-02-22 16:51:11 +00:00
dan
1ccb3be961
Refactor feed header components (#2964)
* 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
2024-02-22 16:03:20 +00:00
Minseo Lee
c2d87b8075
Merge branch 'bluesky-social:main' into patch-3 2024-02-22 09:37:09 +09:00
dan
43206d9f57
Navigate back from a deleted post's route (#2948) 2024-02-21 17:51:42 +00:00
Eric Bailey
9edb82609d
Last usage (#2944) 2024-02-20 15:25:54 -06:00
Hailey
fab6c286f4
Remove async resizing from external embed player (#2936)
* 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
2024-02-20 11:38:56 -08:00
Eric Bailey
df5a8f1542
Swap RichText (#2934)
* 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
2024-02-20 11:03:04 -06:00
Hailey
5573c38c4d
Update IS_PROD check (#2930)
* update is_prod check

* remove unused constants

* rename `IS_PROD` function to `IS_PROD_SERVICE`
2024-02-19 13:30:25 -08:00
Minseo Lee
6d422bb583
Merge branch 'main' into patch-3 2024-02-19 14:17:59 +09:00
Hailey
fbdf4517c2
Implement captcha (#2882)
* 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
2024-02-17 16:03:47 -08:00
Hailey
a2f462e261
remove sandbox labels (#2883)
* rm sandbox

* remove comment
2024-02-16 13:25:48 -08:00
dan
c5641ac2b7
Fix jumps when navigating into long threads (#2878)
* 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>
2024-02-16 18:07:47 +00:00
Minseo Lee
c15b785016
Merge branch 'bluesky-social:main' into patch-3 2024-02-16 08:58:46 +09:00
Minseo Lee
b0cdaf71dd
Update src/view/com/modals/LinkWarning.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
2024-02-15 09:19:46 +09:00
Minseo Lee
83cb04b691
Update src/view/com/modals/LinkWarning.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
2024-02-15 09:19:40 +09:00
dan
b9301befb7
Fix layout measurements (again) (#2866) 2024-02-14 04:12:30 +00:00
dan
7e6b666ee3
Adjust post thread scroll for cached posts (#2865)
Co-authored-by: Hailey <me@haileyok.com>
2024-02-14 03:17:22 +00:00
Minseo Lee
3f5bdd8be3 Mark more texts for localization 2024-02-14 11:06:37 +09:00
dan
08525b52c3
Move visual display logic out of PostThread generators (#2862)
* 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>
2024-02-13 22:12:33 +00:00
Paul Frazee
8df1d8f7b1 Add a little more bottom pad to be safe 2024-02-13 09:51:59 -08:00
Paul Frazee
cbb037526b Add safearea pad to bottom of native splash 2024-02-13 09:50:39 -08:00
Mary
b1240c1e49
fix: style adjustments 2024-02-13 14:45:11 +07:00
Mary
ae19e60099
fix: use the size prop 2024-02-13 14:39:43 +07:00
Mary
aa43e4cd4e
feat: language selection on mobile 2024-02-13 14:39:18 +07:00
Mary
50fac73713
fix: do not remove the outline 2024-02-13 12:52:09 +07:00
Mary
a9029a5f4f
feat: language selection on web splash screen 2024-02-13 12:51:40 +07:00
Mary
630b422618
fix: localize the splash screen footer 2024-02-13 12:09:01 +07:00
dan
588ccde005
Fix duplicate keys in PostThread (#2854) 2024-02-12 19:53:05 -08:00
Paul Frazee
543e114877
Update tests to get them passing again (#2853) 2024-02-12 18:55:19 -08:00
Hailey
b308d7e65d
pad right for treeview (#2849)
* pad right for treeview

* add comment
2024-02-12 14:27:08 -08:00
Hailey
b936da1c0f
Add search button to header on feeds screen (#2848)
* add search bar to header

* add button on web
2024-02-12 13:47:48 -08:00
Paul Frazee
ba7463cadf
Improved server selector during account creation and signin (#2840)
* 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>
2024-02-12 13:36:20 -08:00
Hailey
b91a6b429a
remove line height from text input for composer on ios (#2844)
* remove line height from text input for composer

* only apply removal to ios
2024-02-12 12:16:51 -08:00
Hailey
fe57335b86
Add follow button to highlighted post (#2828)
* add user-minus icon

* add follow button to highlighted post

* web hack for animations

* adjustments

* remove static string width, use flexbox

* Revert "add user-minus icon"

This reverts commit f1aafb3e39dce131b729864924d63a22368f9187.

* better displaying of display name
2024-02-12 11:47:22 -08:00
Hailey
9301ae6830
ios adult content link fix 🤦 (#2845) 2024-02-12 11:16:56 -08:00
surfdude29
b4724b93e8
Update blueskyweb.xyz links to bsky.social (#2830)
* Update blogpost link to bsky.social and remove unnecessary localisation params at end of Play Store URL in README.md

* Update privacy policy link to bsky.social in PrivacyPolicy.tsx

* Update TOS link to bsky.social in TermsOfService.tsx

* Update links to bsky.social in Links.tsx

* Update links to bsky.social in SplashScreen.web.tsx

* Update link to bsky.social in base.html

* Update links to bsky.social in HomeLoggedOutCTA.tsx

* Update links to bsky.social in RightNav.tsx

* Update links to bsky.social in Drawer.tsx

* Update DMCA link to bsky.social in Modal.tsx

* Update link to copyright policy on bsky.social in CopyrightPolicy.tsx

* Update link to bsky.social in CommunityGuidelines.tsx

* Update links to bsky.social in Settings.tsx

* Update to bsky.social in Typography.tsx
2024-02-12 15:38:45 +00:00
dan
ad8f9e560d
Always show post dropdown button at the bottom of the post, add share button 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>
2024-02-09 12:00:21 -08:00
dan
7f4dbe9454
Measure header layout reliably (#2817)
* Measure header layout reliably

* grammar
2024-02-09 11:56:35 -08:00
dan
43b447e5f4
Fix layout calculations (#2816) 2024-02-08 22:20:41 -08:00
dan
d36b91fe67
Fix flashes and jumps when opening profile (#2815)
* 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
2024-02-08 21:00:50 -08:00
dan
0d00c7d851
Show text cursor on web bio (#2813) 2024-02-09 02:20:34 +00:00
Hailey
de28626001
Precache basic profile from posts for instant future navigations (#2795)
* 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>
2024-02-09 01:38:16 +00:00
dan
d9b62955b5
Remove Profile Preview modal (#2790) 2024-02-08 23:41:02 +00:00
dan
06f81d6948
Keep pager feeds in sync with the right pane (#2775)
* Hoist selected feed state

* Seed state from params

* Refine and fix logic

* Fix scroll restoration

* Soft reset on second click
2024-02-08 12:37:08 -08:00
Hailey
1de1d10cf6
Fix error screen on native, use Not Found for profile errors instead of 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
2024-02-08 12:01:36 -08:00
Hailey
390a9f3dd5
use the palette's font color in the composer (as string) (#2792) 2024-02-08 15:39:33 +00:00
Hailey
83edb4446d
use the palette's font color in the composer (#2791)
* use the palette's font color in the composer

* correct type for cssproperties

* log
2024-02-07 15:07:25 -08:00
dan
dc6603a1b9
Fix open-in-new-tab for TextLink (#2773) 2024-02-06 19:45:16 -08:00
surfdude29
76811657e8
Add missing word in ModerationDetails.tsx (#2753) 2024-02-06 19:14:33 -08:00
Hailey
3a9497cc7e
use ios live text interaction in alt text modal and image viewer (#2752) 2024-02-06 19:13:28 -08:00