Commit Graph

1799 Commits (884f37c34900559d8e3a881dd8fa2ab781eafbdb)

Author SHA1 Message Date
dan 1a34921661
Tweak tabbar sizing on web (#2996) 2024-02-27 03:56:25 +00:00
dan 3ec4e034b7
Fix imprecise header height calculation (#2995)
* Remove dead code

* Fix header height calculation
2024-02-27 02:33:23 +00:00
dan a8925bac86
Remove side borders on mobile web list (#2994) 2024-02-27 01:25:25 +00:00
Hailey 832582df23
Adjust `windowSize` on `PostThread` `FlatList` (#2989)
* adjust window size, cells batching period

* rm batching period change
2024-02-26 16:54:05 -08:00
Hailey 88846ca36d
fix reversed icons in validator 🤦 (#2991) 2024-02-26 16:48:32 -08:00
Hailey 9c5cd391dd
use `showControls` to show/hide live text icon on ios (#2982) 2024-02-23 16:05:54 -08:00
dan 6ae9c5d45c
Make dim theme dim (#2966)
* 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>
2024-02-23 15:09:50 -08:00
Hailey de9df50af3
Add handle validation to create account UI (#2959)
* 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>
2024-02-23 13:38:47 -08:00
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
dan 43206d9f57
Navigate back from a deleted post's route (#2948) 2024-02-21 17:51:42 +00:00
Eric Bailey f88b165254
Add optional close callback to Dialog (#2947)
* Add optional close callback

* No emitter
2024-02-20 18:20:59 -06:00
Eric Bailey 9edb82609d
Last usage (#2944) 2024-02-20 15:25:54 -06:00
surfdude29 0c470d1f61
Update blogpost URL in ExportCarDialog.tsx (#2939) 2024-02-20 21:00:45 +00: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
Eric Bailey 8a169dc6a1
Improve dialogs issue (#2941)
* Fix collapse, update backdrop color

* Remove test prop

* Remove debug code
2024-02-20 08:04:07 -08:00
Eric Bailey b52a742925
Improve dialogs (#2933)
* Improve dialogs

* Remove comment, revert storybook

* Hacky fix

* Comments
2024-02-19 18:18:13 -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
Eric Bailey 943acd16aa
Add `selectable` to new text components (#2899)
* Make new text selectable (broken)

* Fixes

* Fix bad conflict resolution

* Remove console
2024-02-19 08:08:21 -08: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
Eric Bailey 4e66c9b806
Fix default loader color (#2891) 2024-02-16 13:25:20 -06:00
Eric Bailey 1d729721e5
Link updates (#2890)
* Link updates, add atoms

* Update comments

* Support download

* Don't open new window for download
2024-02-16 13:25:07 -06: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
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
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 2f6d7606b3 Tune the feeds page a little more 2024-02-13 10:21:39 -08: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
Paul Frazee 01a708ae3d Merge branch 'feat/logged-out-improvements' of https://github.com/mary-ext/fork-bsky-app into mary-ext-feat/logged-out-improvements 2024-02-13 09:38:39 -08:00
Hailey d8245e96ea
Add copy to feeds page (#2852)
* 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>
2024-02-13 00:40: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
Eric Bailey bbf049d477
Remove invites code UI (#2851)
* Hide invite codes UI, comment in settings

* Just comment out
2024-02-12 19:13:42 -08:00
Paul Frazee 543e114877
Update tests to get them passing again (#2853) 2024-02-12 18:55:19 -08:00
bnewbold d7a3246fe3
basic export repository link in settings (#2641)
* 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>
2024-02-12 15:22:03 -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
Samuel Newman 8253ac25d1
increase stroke width for active hashtag icon (#2829) 2024-02-12 15:50:16 +00: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
Eric Bailey d6235453c9
Design system tweaks (#2822)
* Tweak palette, theme naming, update usages

* Update Typography, replace the few usages
2024-02-09 09:52:32 -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
dan 0944d2d9ed
Add composer button to Notifications (#2806) 2024-02-08 11:50:57 -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
dan 4583521b11
Refactor Home feed pager rendering logic (#2768)
* Use new persistence API for selected feed

* Refactor Home feeds pager data source
2024-02-06 18:50:44 -08:00
Paul Frazee 1a38673ac1 Fix lint 2024-02-06 17:55:06 -08:00
Paul Frazee 06d71cf2cc Merge branch 'Pranith-Kanchan-link-cannot-in-Moderation' of https://github.com/Pranith-Kanchan/social-app into Pranith-Kanchan-Pranith-Kanchan-link-cannot-in-Moderation 2024-02-06 17:40:42 -08:00
Hailey 52f57b3aec
Display the language selection dialog correctly on web (#2719)
* add event to callback

* position translation button correctly based on press position

* properly place the background

* remove worthless comment
2024-02-06 12:51:32 -08:00
dan 9ccad0ba6c
Prevent post meta misclicks in QT (#2701) 2024-02-06 12:44:33 -08:00
Mary 41860d8b80
fix: remove list from pinned once deleted (#2705) 2024-02-06 12:26:57 -08:00
Paul Frazee d385837812 Go back to autofocus and small ui tweak 2024-02-06 12:13:09 -08:00
Paul Frazee ed80551278 Cat on keyboard 2024-02-06 12:07:06 -08:00
Paul Frazee b61db0f4e4 Merge branch 'fix/app-password-submit' of https://github.com/mary-ext/fork-bsky-app into mary-ext-fix/app-password-submit 2024-02-06 12:00:55 -08:00
Hailey ec86282403
Options for selecting dark theme, fix some white flashes when in dark mode (#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
2024-02-06 11:43:51 -08:00
Hailey 856f80fc6d
fix some youtube videos not properly loading (#2726)
* add player iframe to bskyweb

* iframe for youtube content

* update tests

* ts error
2024-02-06 11:05:17 -08:00
Hailey a9ab13e5a9
password flow improvements (#2730)
* 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>
2024-02-06 10:06:25 -08:00
Paul Frazee 0604e5b84e Fix lint 2024-02-06 09:28:56 -08:00
Paul Frazee 57559ab6ca Merge branch 'main' of https://github.com/RonyVidaur/social-app into RonyVidaur-main 2024-02-06 09:13:19 -08:00
Hailey 065a094087
fix web aux click on all browsers (#2633) 2024-02-06 09:00:16 -08:00
Samuel Newman 2f1ce117d7
Long press external embed to share (#2621)
* long press external embed to share

* use existing shareUrl function
2024-02-05 15:58:03 -08:00
Samuel Newman 6ad5863573
Move query augmentation to lower component (#2748) 2024-02-05 15:26:08 -08:00
Hailey c84b654812
fix scrolling in delete account modal (#2733) 2024-02-05 15:00:13 -08:00
Eric Bailey 96f39657d7
Only re-reg push noty token when account changes (#2654) 2024-02-05 14:41:14 -08:00
dan b7056365dd
Remove dead code for pager (#2651) 2024-02-05 14:40:07 -08:00
Minseo Lee b8f0c5b538
Update Step3.tsx (#2638) 2024-02-05 13:50:33 -08:00
Pranith Kanchan f8b43e1f7e link in Moderation screen cannot be tapped #2745
link in Moderation screen cannot be tapped #2745
2024-02-05 17:40:19 +05:30
Hailey 0bbe2c5e32
show bottom bar on web tablet breakpoints when logged out (signup cta) (#2747)
* show signup bottom bar on web tablet

* show signup bottom bar on web tablet

* comment

* adjust load latest btn position based on logged in/out
2024-02-04 12:54:07 -08:00
RonyVidaur 1412f9d95c format 2024-02-03 22:27:50 -06:00
RonyVidaur 323b5bdfda enhance check 2024-02-03 22:09:07 -06:00
RonyVidaur 6f228a598e validate phone number based on country 2024-02-03 21:54:37 -06:00
Mary c3d3f91349
fix: submit app password on enter 2024-02-01 06:55:52 +07:00
Paul Frazee 31bf286fdc
Reduce the odds of false positives in the language suggester (close #2598) (#2700) 2024-01-30 20:16:49 -08:00
dan 2b0f92c7e0
Workaround Safari content-visibility bug (#2699) 2024-01-30 19:05:45 -08:00
dan 7b683b617a
Fix notification invalidation condition on web (#2697)
Co-authored-by: Dan Abramov <dan@mac.home>
2024-01-30 18:52:20 -08:00
Hailey 59aacf4126
moderate avatars and embeds in composer reply to (#2665)
* moderate avatars and embeds in composer reply to

* oops

* dont need moderation in the quote opts
2024-01-30 18:11:23 -08:00
Hailey 28455f49dc
prevent duplicate keys in feed tab bar (#2666) 2024-01-30 17:54:29 -08:00
Hailey faf48db679
add padding to user's lists/feeds scrollviews (#2675)
* add padding to user's lists/feeds scrollviews

* always use the header offset for padding
2024-01-30 17:49:34 -08:00