Commit Graph

1813 Commits (c627a766cd7491e12e31e6a37bf114e3ddb24f7e)

Author SHA1 Message Date
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
Ansh Nanda 25a9013380 add react-native-draggable-flatlist package 2023-05-16 13:41:14 -07:00
Ansh d5bec4ff37
Update build instructions (#639)
* Create .env.example

* Update build.md

* Update eas.json

* Update build.md

* Update build.md

* Update build.md

* Update docs/build.md

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>

---------

Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2023-05-16 13:14:02 -05: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
LW a5838694bd
test: `detox` needs `tapReturnKey` after `typeText` (#663)
Without this, all `yarn e2e:run` tests get hung on the "input custom
service" step when logging in.

Only used one machine to repro, so an additional repro could be useful.
2023-05-16 12:48:54 -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 a891f4c326
Merge pull request #631 from aarongustafson/patch-1
Remove max scale from viewport config `meta`
2023-05-15 17:07:44 -07:00
Aaron Gustafson 255bba5fb8
Remove max scale from viewport config `meta`
Maximum scale creates accessibility issues for folks who need to zoom in
2023-05-15 15:44:10 -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
Tierney Cyren aa786068cf
Create LICENSE file and point to it from README.md (#623)
* Create LICENSE

adds a LICENSE file that can be picked up by first- and third-party tooling

* Update README.md to point to LICENSE file
2023-05-15 16:02:41 -05:00
Paul Frazee 952af3473a
Prepare for open-sourcing (#619)
* Add issue templates

* Update readme and docs for contributors

* Tune up the README.md

* Tune language a bit

* Tune copy
2023-05-15 15:45:52 -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 60cfdb197c Bump version numbers 2023-05-11 18:14:32 -05:00
Paul Frazee 6a37043801 Tests fix 2023-05-11 18:13:50 -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
bnewbold 34d8fa5991
top-level Makefile (#597)
* top-level Makefile

The primary motivation here is the `build-web` command, which calls the
yarn build and then also copies over JS files. The Dockerfile does this
and I always forget when doing it manually.

* build-web: cp bundles in yarn command, not Makefile+Dockerfile
2023-05-11 13:22:56 -07:00
bnewbold d624b7cf58
bskyweb: iterate on HTML card metadata (#609)
Probably still not perfect, but better.

- don't user avatar image. use banner for profile and post img, or
  nothing
- most twitter metadata fields were redundant; twitter will parse out
  opengraph ("og:"), so don't duplicate those
- add regular HTML description (for google, etc)
- include URI
- actually include text
2023-05-11 10:41:47 -05:00
Ollie H 19d6ded631
Prevent reply to from cascading (#610) 2023-05-11 10:38:54 -05:00