Commit Graph

1008 Commits (df6d249e8570a5dabd576d81ea7fc8ac4517ffa6)

Author SHA1 Message Date
Ansh Nanda 48a9e1b1dd fix refresh control color in ViewSelector.tsx 2023-05-19 18:27:13 -07:00
Paul Frazee 37acc9e930 A few more UX tweaks 2023-05-18 18:22:46 -05:00
Paul Frazee 4fa4c67cc5 Some fixes 2023-05-18 17:36:16 -05:00
Paul Frazee 46ed910cda Add list-type avatar 2023-05-18 17:10:42 -05:00
Paul Frazee 324c9209dc Only show algos and lists on profiles if there are items 2023-05-18 17:01:48 -05:00
Paul Frazee 3c89dd40f9 Fix lint 2023-05-18 16:54:17 -05:00
Paul Frazee 1ecf0da81b Add feed sharing 2023-05-18 16:22:11 -05:00
Paul Frazee 84990c509e Drop the hard-coded what's hot algo 2023-05-18 15:12:18 -05:00
Paul Frazee 2f4408582b Set default feeds 2023-05-18 15:06:32 -05:00
Paul Frazee 9c9e4e5691 Merge branch 'custom-algos' of github.com:bluesky-social/social-app into custom-algos 2023-05-18 14:39:12 -05:00
Paul Frazee 5537d19e55 Update saved feeds to use preferences 2023-05-18 14:39:04 -05:00
Ansh Nanda f1d2166c29 fix spacing when user has no feeds 2023-05-18 10:36:16 -07:00
Ansh Nanda 571fc37a99 fix error & empty state when rendering custom feeds on profile 2023-05-18 10:34:34 -07:00
Paul Frazee acea0e074d Tab bar fixes 2023-05-18 12:05:32 -05:00
Paul Frazee 754496b957 Fix custom feed header on desktop web 2023-05-18 11:57:49 -05:00
Paul Frazee 7691fe4f48 Store/sync pinned feeds on the server 2023-05-18 11:51:25 -05:00
Paul Frazee d88c27a419 Improve web titles 2023-05-17 23:36:36 -05:00
Paul Frazee 5a20e0fafa Add web titles 2023-05-17 23:33:59 -05:00
Paul Frazee 129fc42e95 Improve pinned feed management 2023-05-17 23:32:19 -05:00
Paul Frazee bec94ed82c Desktop styling fixes 2023-05-17 22:58:53 -05:00
Paul Frazee ed7293ea66 Remove redundant component 2023-05-17 22:15:44 -05:00
Paul Frazee a2c89b47a1 Add custom feed liked by screen 2023-05-17 22:12:14 -05:00
Paul Frazee 998879d6d6 Remove redundant feed-settings page 2023-05-17 22:04:01 -05:00
Paul Frazee 177df36330 Fixes to the tab bar 2023-05-17 21:54:40 -05:00
Paul Frazee 6bf8e72157 Usability improvements to feeds 2023-05-17 21:23:32 -05:00
Paul Frazee f0003d1931 Add 'my feeds' tab 2023-05-17 20:33:58 -05:00
Paul Frazee c55ce6de02 Rework the UI for the custom feed view 2023-05-17 15:52:11 -05:00
Paul Frazee 0f5b3808f8 Remove a focus-effect that was triggering a rerender loop 2023-05-17 15:03:19 -05:00
Paul Frazee 2fd3b4ca04 Clean up the custom-feed model 2023-05-17 14:55:04 -05:00
Paul Frazee 9c02fbb925 Unify the display name fallback behavior 2023-05-17 14:38:23 -05:00
Paul Frazee 4e56d24a9d Dont show save button in embed cards 2023-05-17 14:34:37 -05:00
Paul Frazee fb03bbf288 Fix some palette issues 2023-05-17 14:26:23 -05:00
Paul Frazee a4c6dd6b1e Tune up the custom feed card rendering 2023-05-17 14:24:27 -05:00
Paul Frazee 3d09008bfd Reorganize custom feeds in the view layer 2023-05-17 14:03:08 -05:00
Paul Frazee b672006f7e Reorganize custom-feed state models and add the missing _reactKey attribute 2023-05-17 13:52:16 -05:00
Paul Frazee a2b089d315 Add 'algo' variant of avatars 2023-05-17 13:42:29 -05:00
Paul Frazee 85910cdbea Fix missed change in merge 2023-05-17 13:42:16 -05:00
Paul Frazee 7aa1d9010e Merge branch 'main' into custom-algos 2023-05-17 12:30:54 -05:00
renahlee d6ca8e918a Update to empty hint if no notifications 2023-05-17 09:13:06 -07:00
renahlee f7f0db65d3 Update hint for notifications 2023-05-17 09:12:09 -07:00
Paul Frazee 562faa76cc
feat: add basic visual feedback on Button interactions (#708)
* feat: add basic visual feedback on Button interaction

* Use a more efficient approach to providing visual feedback

* Fix some lint issues left over from another PR

---------

Co-authored-by: Simek <gosimek@gmail.com>
2023-05-17 11:10:51 -05:00
LW 41f3a05515
style: remove `useUnreadCountLabel` hack from `50c1841` (#655) (#686)
I just realized how `mobx` works (never used before lol) and now I feel
dumb.
2023-05-17 09:50:28 -05:00
Ollie H 656baa7239
Close active elements on state change (#677) 2023-05-17 09:46:10 -05:00
Richard Gordon 09bb2f5208
hidereport button on own post (#676) 2023-05-17 09:43:08 -05:00
William d7826a3334
Properly set isInputFocused (#666) 2023-05-17 09:41:54 -05:00
Mohammad Reza Mahmoudi 6dde5ede34
fix theme opposite labels (#700) 2023-05-17 09:33:05 -05:00
Ansh Nanda 90adc19415 fix re-rendering issue 2023-05-16 23:45:14 -07:00
Ansh Nanda 1378ab46e9 make sure TabBar re-rerenders when pinned feeds changes 2023-05-16 23:40:51 -07:00
Ansh Nanda 3501fda015 allow changing pinned feed order on web 2023-05-16 23:38:34 -07:00
Ansh Nanda 99d66679b3 use uri instead of rkey to get feed data 2023-05-16 19:09:19 -07:00
Ansh Nanda 59c1b545fa fix routing on web 2023-05-16 19:04:47 -07:00
Ansh Nanda ff3cc3b84d fix dark mode styling 2023-05-16 18:39:02 -07:00
Ansh Nanda 53ca0cd626 drag to rearrange pinned items 2023-05-16 18:28:44 -07:00
Ansh Nanda 139027ac5f bad fix to the tab bar animation 2023-05-16 17:27:46 -07:00
Jacques Favreau 404b2f043c
fix: Add vendor prefix for web blur. (#678) 2023-05-16 18:39:15 -05:00
Michi Hoffmann b7f081d6e4
Fix line break in New Post button (#657) 2023-05-16 18:38:06 -05:00
Ansh Nanda 532bc88ecc fix edge case when feed is liked only by one person 2023-05-16 16:31:35 -07:00
Ansh Nanda 5397447ca7 fix unliking 2023-05-16 16:30:14 -07:00
Ansh Nanda 1e54125f7f reload AlgoItem on focus via prop 2023-05-16 16:27:38 -07:00
Ansh Nanda 3f41d3db26 make sure state is being synced across components 2023-05-16 16:07:07 -07:00
Ansh Nanda f2e39d8ad2 allow for pinning saved feeds 2023-05-16 15:50:52 -07:00
Ollie H 5f66adc9a6
Replace image picker with expo-image-picker (#649)
* Replace image picker with expo-image-picker

* Fix cropper & picker on web

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-05-16 17:38:32 -05:00
Ansh Nanda dd788550be add heart icon to AlgoItem 2023-05-16 13:57:29 -07:00
Ansh Nanda 58e9c30abe link to user who created custom feed from preview 2023-05-16 13:56:59 -07:00
LW 50c1841a06
feat: Update HTML `title` on web #626 #599 (#655)
For any `Screen` that shows on desktop, `title` is "(1) ... - Bluesky"
where "(1)" is the unread notification count.

The titles are unlocalized and the string "Bluesky" is hardcoded,
following the pattern of the rest of the app.

Display names and post content are loaded into the title as effects.

Tested:
* all screens
* screen changes / component mounts/unmounts
* long posts with links and images
* display name set/unset
* spamming myself with notifications, clearing notifications
* /profile/did:... links
* lint (only my changed files), jest, e2e.

New utilities: `useUnreadCountLabel`, `bskyTitle`,
`combinedDisplayName`, `useSetTitle`.

resolves: #626 #599
2023-05-16 13:13:05 -05:00
Markus Amalthea Magnuson 924e18e644
Remove surrounding spaces in parentheses. (#667) 2023-05-16 12:44:30 -05:00
Ansh Nanda 8071ae313d like/unlike improvements WIP 2023-05-15 22:39:47 -07:00
Ansh Nanda c4a666c221 new design for custom feed preview 2023-05-15 17:59:36 -07:00
Ollie H e2055dfb78
Image editor mobile layout update (#613)
* Image editor mobile layout update

* Minor viewport fix
2023-05-15 16:54:14 -05:00
Paul Frazee 5e8e0ad680 Update the default suggested users list to match recent activity 2023-05-15 15:27:58 -05:00
Ollie H 628d877325
Use dropdown for web reposting and quote posting (#607)
* Use dropdown for web reposting and quote posting

* Remove collateral damage

* Tune the repost dropdown positioning

* Move postctrls into their own folder

* Factor out repost button into native/web build

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-05-15 15:18:39 -05:00
Ansh Nanda 6249bb16ca remove tab bar underline animation 2023-05-15 12:31:27 -07:00
bnewbold 0a0afdf2c2
reporting: anti-social option; alert emoji around urgent option (#617)
* reporting: new anti-social post report option

* reporting: alarm emoji on urgent report option

* reporting: appease 'make lint'

I originally had text on a separate line, but that failed, so I put
text+tags on a line and thought that worked, but failed again? Seems
inconsistent, but trying again.

* Remove emojis and increase report post height

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-05-15 14:25:50 -05:00
Ollie H 824a2313b1
Style cleaning and initial text size audit (#618)
* Style cleaning and initial text size audit

* Put file back
2023-05-15 13:14:45 -05:00
Ollie H 841ad692d3
Make autocomplete pressable (#620) 2023-05-15 13:12:38 -05:00
Ansh Nanda d7e39bde12 saved feeds in tab bar 2023-05-15 11:00:54 -07:00
Ansh Nanda 5010861160 custom feed screen 2023-05-15 10:42:23 -07:00
Ansh Nanda 61ea37ff81 renamed page to savedfeeds 2023-05-14 18:37:18 -07:00
Ansh Nanda 6105314f15 add empty view to CustomAlgorithms screen 2023-05-14 15:38:38 -07:00
Ansh Nanda 8948118d5c view all saved algos in settings 2023-05-13 12:25:06 -07:00
Ansh Nanda 047024a5ac create algo-item model and redefine data models 2023-05-13 11:59:08 -07:00
Ansh Nanda c24389df87 custom feed embed 2023-05-12 19:46:50 -07:00
Ansh Nanda 760b5309e0 show algos by user on profile 2023-05-12 19:32:39 -07:00
Ansh Nanda fa4af20764 remove unncessary code from actorFeedModel 2023-05-12 17:22:53 -07:00
Ansh Nanda 06ce42158e actor feeds model 2023-05-12 17:21:17 -07:00
Ansh Nanda be6d48a57e bookmarked feeds model 2023-05-12 17:21:11 -07:00
Ansh Nanda 370d52bd1f add custom algorithm screen to settings under moderation 2023-05-12 14:40:58 -07:00
Ansh Nanda 678f75b495 add window dimensions to global styles 2023-05-12 13:51:07 -07:00
Paul Frazee 5f074a21c9 Tune hand icon 2023-05-12 10:21:09 -05:00
Paul Frazee 0a7bb43644 Replace the moderation hand icon with a better icon 2023-05-12 10:10:29 -05:00
Paul Frazee 75007d8fae
[APP-643] Account preferences server sync (#615)
* Bump deps

* Bump deps

* Add server sync of content preferences and an adult content toggle
2023-05-11 17:52:38 -05:00
Ollie H c2a8713ff4
a11y cleanup for mute lists (#614) 2023-05-11 16:30:27 -05:00
Paul Frazee ebcd633386
[APP-635] Mutelists (#601)
* Add lists and profilelist screens

* Implement lists screen and lists-list in profiles

* Add empty states to the lists screen

* Switch (mostly) from blocklists to mutelists

* Rework: create a new moderation screen and move everything related under it

* Fix moderation screen on desktop web

* Tune the empty state code

* Change content moderation modal to content filtering

* Add CreateMuteList modal

* Implement mutelist creation

* Add lists listings

* Add the ability to create new mutelists

* Add 'add to list' tool

* Satisfy the hashtag hyphen haters

* Add update/delete/subscribe/unsubscribe to lists

* Show which list caused a mute

* Add list un/subscribe

* Add the mute override when viewing a profile's posts

* Update to latest backend

* Add simulation tests and tune some behaviors

* Fix lint

* Bump deps

* Fix list refresh after creation

* Mute list subscriptions -> Mute lists
2023-05-11 16:08:21 -05:00
Ollie H 19d6ded631
Prevent reply to from cascading (#610) 2023-05-11 10:38:54 -05:00
Ollie H 0192923ef3
Only allow one close draft confirmation at a time (#611)
* Only allow one close draft confirmation at a time

* lint
2023-05-11 10:38:10 -05:00
bnewbold c2fb4d4b4b
small label updates (#612)
* labels: fix 'consentual' typo

This label has never been applied, so safe to just change it.

* labels: new 'nsfl' label, under both porn and gore categories

* labels: new account-security label (always warn)

* labling: re-word spam subtitle
2023-05-11 10:37:26 -05:00
Ollie H b0ebb6c9d1
Update web image editor (#588)
* Update web image editor

* Delete type-assertions.ts

* Re-add getKeys

* Uncomment rotation code

* Revert "Uncomment rotation code"

This reverts commit 6269f3b928c2e5cacaf5d0ff5323fe975ee48eab.

* Shuffle dependencies and update mobile resolution

* Update ImageEditor modal layout for mobile

* Avoid accidental closes of the EditImage modal

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-05-09 14:55:44 -05:00
Ollie H 8f6b5d3df9
Add avatar to mobile autocomplete and create grapheme hook (#602)
* Add avatar to mobile autocomplete and create grapheme hook

* Remove comment, update filename, cut out redundant logic
2023-05-09 12:13:23 -05:00
Ollie H bf3ea67442
Add time to app password and fix related text wrapping (#604) 2023-05-09 12:02:55 -05:00
Ansh 28f7ff76a4
add target="_blank" prop to LinkText for safari (#606) 2023-05-09 12:01:42 -05:00