Commit Graph

3104 Commits (0baf9f9919ee06633f7f1ab2563aa2933e5becdd)

Author SHA1 Message Date
Paul Frazee c9c3bd98b7
Rework the labeler selection step of the report flow (#3269)
* Rework the labeler selection step of the report flow

* Fix: use gtMobile

* Use primitives, fix avatar

* Spacing tweaks

* Show handle instead of description

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2024-03-19 11:38:17 -07:00
Hailey 9277282e6c
add expo-updates github action (#3270)
* add expo-updates github action

* add two scripts
2024-03-19 11:18:22 -07:00
surfdude29 a02d5f9eb9
Update French translation (#3117)
* Update French translation

* Apply suggestions from code review

Co-authored-by: Stanislas Signoud <signez@stanisoft.net>

* Update src/locale/locales/fr/messages.po

Co-authored-by: Stanislas Signoud <signez@stanisoft.net>

* Change `étiquette` to `mot-clé`

* Change other usages of `actualité` to `actu`

* Update messages.po

* Change certain space characters to non-breaking spaces

* Update src/locale/locales/fr/messages.po

* Update src/locale/locales/fr/messages.po

Co-authored-by: Stanislas Signoud <signez@stanisoft.net>

* Update messages.po

* Remove superseded strings and match some

* Add new translations

* Update revision date

---------

Co-authored-by: Stanislas Signoud <signez@stanisoft.net>
2024-03-19 11:08:33 -07:00
surfdude29 1cefe70ebe
Update German translations (#2917)
* Update German translations

* Apply suggestions from code review

Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>

* Further suggestions from code review

* Apply further suggested change

* Apply suggestions from code review

* Apply suggested changes from PythooonUser

* Update src/locale/locales/de/messages.po

* Apply suggestions from code review

Co-authored-by: cdfzo <cdfzo@pm.me>

* Apply suggestions from @cdfzo's code review manually

* Apply suggestion from @cdfzo's code review manually

* Update messages.po

* Update src/locale/locales/de/messages.po

Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>

* Update messages.po

* Apply suggestions from code review

Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>

* Update src/locale/locales/de/messages.po

* Update messages.po

* Change `Benachrichtigungen` to `Mitteilungen` in line with #2805

* Apply suggestions from code review

Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>

* Apply suggestions from code review

Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>

* Change four usages of Benutzerhandle

* Update messages.po

* Update src/locale/locales/de/messages.po

* Add credits

* Update messages.po

* Add new translated strings following merge

* Update messages.po

* Update messages.po

* Update german translations by @cdfzo

* Update german translations

* Apply suggestions from code review

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Correct translations from pr review

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Update revision date of messages.po

* Update messages.po

* Update messages.po

* Delete superseded strings

* Add new translations

* Update messages.po

* Apply suggestions from code review

Co-authored-by: cdfzo <cdfzo@pm.me>

* Apply suggested change from code review by @cdfzo

* Update revision date of messages.po

---------

Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>
Co-authored-by: cdfzo <cdfzo@pm.me>
2024-03-19 11:07:26 -07:00
Eric Bailey b622f63918
Mobile mod label setting component (#3267)
* Mobile mod label setting component

* Bump label title size

* Dont show disabled label config on mobile

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2024-03-19 09:56:11 -07:00
Samuel Newman bd8d8fb9f1 change error to warn 2024-03-19 16:13:15 +00:00
Eric Bailey 877eab0fe3
Fix space on bottom of mod screen (#3266)
* Fix space on bottom of mod screen

* fix PWI label overflow + center loader (#3268)

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
2024-03-19 11:04:41 -05:00
Samuel Newman b6903419a1 simplify gotoForm 2024-03-19 15:31:00 +00:00
Samuel Newman 49a392bfb3 rm useless function wrap 2024-03-19 15:29:25 +00:00
Samuel Newman 08d12d9a3d move FormError to components/forms 2024-03-19 15:28:06 +00:00
Samuel Newman f491bd89cc Merge remote-tracking branch 'origin/main' into samuel/alf-login 2024-03-19 15:18:29 +00:00
Hailey 2a5b0ab2ac
add `Partial<GestureResponderEvent>` to `.open()` (#3227) 2024-03-19 08:14:29 -07:00
Eric Bailey 8ac5144a58
Bday modal tweaks (#3252)
* Smol tweaks to bday dialog

* Juse use existing DateInput for now

* Remove unused code

* Remove passed-in prefs

* Adjust load state

* Revert "Adjust load state"

This reverts commit 802459fd044b380ccc4f96432af416996219a0de.

* Fix type error
2024-03-19 09:57:14 -05:00
Hailey 4de8e8fa14
fix borders for labels tab (#3261)
* fix borders for labels tab

* rm entire wrapping view
2024-03-19 09:56:28 -05:00
Samuel Newman 9c49b209ca
Merge pull request #3253 from bluesky-social/samuel/square-border-radii
Fix nested border radius issue on square avatars
2024-03-19 14:51:08 +00:00
Minseo Lee ad43d594c9 Merge remote-tracking branch 'upstream/main' into patch-3 2024-03-19 10:52:29 +09:00
Paul Frazee 3abf302b0b
Bump @atproto/api@0.12.0 (#3260)
* Bump @atproto/api@0.12.0

* Fix unit tests
2024-03-18 17:46:25 -07:00
Paul Frazee 959121f394
Update the reporting flow to first select a recipient if the user has multiple labelers (#3258) 2024-03-18 16:15:57 -07:00
Paul Frazee 1b10c7bc08
Use entryway for labeler getServices (#3256) 2024-03-18 14:58:02 -07:00
Samuel Newman 248f51a977 change default avi to use a rect instead of a path 2024-03-18 20:08:58 +00:00
Samuel Newman 63fee70dfe change outer border radius to 10 2024-03-18 20:08:46 +00:00
Paul Frazee 20d463ff2f
3p moderation services [WIP] (#2550)
* Add modservice screen and profile-header-card

* Drop the guidelines for now

* Remove ununsed constants

* Add label & label group descriptions

* Not found state

* Reorg, add icon

* Subheader

* Header

* Complete header

* Clean up

* Add all groups

* Fix scroll view

* Dialogs side quest

* Remove log

* Add (WIP) debug mod page

* Dialog solution

* Add note

* Clean up and reorganize localized moderation strings

* Memoize

* Add example

* Add first ReportDialog screen

* Report dialog step 2

* Submit

* Integrate updates

* Move moderation screen

* Migrate buttons

* Migrate everything

* Rough sketch

* Fix types

* Update atoms values

* Abstract ModerationServiceCard

* Hook up data to settings page

* Handle subscription

* Rough enablement

* Rough enablement

* Some validation, fixes

* More work on the mod debug screen

* Hook up data

* Update invalidation

* Hook up data to ReportDialog

* Fix native error

* Refactor/rewrite the entire moderation-application system

* Fix toggles

* Add copyright and other option to report

* Handle reports on profile vs content

* Little cleanup

* Get post hiding back in gear

* Better loading flow on Mod screen

* Clean up Mod screen

* Clean up ProfileMod screen

* Handle muting correctly

* Update enablement on ProfileMod screen

* Improve Moderation screen and dialog

* Styling, handle disabled labelers

* Rework list of labels on own content

* Use moderateNotification()

* ReportDialog updates

* Fix button overflow

* Simplify the ProfileModerationService ui

* Mod screen design

* Move moderation card from the profile header to a tab

* Small tweaks to the moderation screen

* Enable toggle on mod page

* Add notifs to debugmod and dont filter notifs from followed users

* Add moderator-service profile view

* Wire up more of the modservice data to profiles

* A bunch of speculative non-working UI

* Cleanup: delete old code

* Update ModerationDetailsDialog

* Update ReportDialog

* Update LabelsOnMe dialog

* Handle ReportDialog load better

* Rename LabelsOnMeDialog, fix close

* Experiment to put labeling under a tab of a normal profile

* Moderator variation of profile

* Remove dead code and start moving toward latest modsdk

* Remove a bunch of now-dead label strings

* Update ModDebug to be a bit more intuitive and support custom labels

* Minor ui tweaks

* Improve consistency of display name blurring

* Fix profile-card warning rendering

* More debugmod UI tuning

* Update to use new labeler semantics

* Delete some dead code and do some refactoring

* Update profile to pull from labeler definition

* Implement new label config controls (wip)

* Tweak ui

* Implement preference controls on labelers

* Rework label pref ui

* Get moderation screen working

* Add asyncstorage query persistence

* Implement label handling

* Small cleanup

* Implement Likes dialog

* Fix: remove text outside of text element

* Cleanup

* Fix likes dialog on mobile

* Implement the label appeal flow

* Get report flow working again with temporarily fixed report options

* Update onboarding

* Enforce limit of ten labeler subscriptions

* Fix type errors

* Fix lint errors

* Improve types of RQ

* Some work on Likes dialog, needs discussion

* Bit of ReportDialog cleanup

* Replace non-single-path SVG

* Update nudity descriptions

* Update to use new sdk updates

* Add adult-content-enabled behavior to label config

* Use the default setting of custom labels

* Handle global moderation label prefs with the global settings

* Fix missing postAuthor

* Fix empty moderation page

* Add mutewords control back to Mod screen

* Tweak adult setting styles

* Remove deprecated global labels

* Handle underage users on mod screen

* Adjust font sizes

* Swap in RichText

* Like button improvements

* Tweaks to Labeler profile

* Design tweaks for mod pref dialog

* Add tertiary button color

* Switch moderation UIs to tertiary color

* Update mutewords and hiddenposts to use the new sdk

* Add test-environment mod authority

* Switch 'gore' to 'graphic-media'

* Move nudity out of the adult content control

* Remove focus styles from buttons - let the browser behavior handle it

* Fixes to the adult content age-gating in moderaiton

* Ditch tertiary button color, lighten secondary button

* Fix some colors

* Remove focused overrides from toggles

* Liked by screen

* Rework the moderationlabelpref

* Fix optimistic like

* Cleanup

* Change how onboarding handles adult content enabled/disabled

* Add special handling of the mod authorities

* Tweaks

* Update the default labeler avatar to a shield

* Add route to go server

* Avoid dups due to bad config

* Fix attrs

* Fix: dont try to detect link/label mismatches on post meta

* Correctly show the label behavior when adult content is disabled

* Readd the local hiddenPosts handling

* WIP

* Fix bad merge

* Conten hider design tweaks

* Fix text string breakage

* Adjust source text in ContentHider

* Fix link bug

* Design tweaks to ContentHider and ModDetailsDialog

* Adjust spacing of inform badges

* Adjust spacing of embeds in posts

* Style tweaks to post/profile alerts

* Labels on me and dialog

* Remove bad focus styles from post dropdown

* Better spacing solution

* Tune moderation UIs

* Moderation UI tweaks for mobile

* Move labelers query on Mod screen

* Update to use new SDK appLabelers semantics

* Implement report submission

* Replace the report modal entirely with the report dialog

* Add @ to mod details dialog handle

* Bump SDK package

* Remove silly type

* Add to AWS build CI

* Fix ToggleButton overflow

* Clean up ModServiceCard, rename to LabelingServiceCard

* Hackfix to translate gore labels to graphic-media

* Tune content hider sizing on web desktop

* Handle self labels

* Fix spacing below text-only posts

* Fix: send appeals to the right labeler

* Give mod page links interactive states

* Fix references

* Remove focus handling

* Remove remnant

* Remove the like count from the subscribed labeler listing

* Bump @atproto/api@0.11.1

* Remove extra @

* Fix: persist labels to local storage to reduce coverage gaps

* update dipendencies

* revert dipendencies

* Add some explainers on how blocking affects labelers

* Tweak copy

* Fix underline color in header

* Fix profile menu

* Handle card overflow

* Remove metrics from header

* Mute 'account' not 'user'

* Show metrics if self

* Show the labels tab on logged out view

* Fix bad merge

* Use purple theming on labelers

* Tighten space on LabelerCard

* Set staleTime to 6hrs for labeler details

* Memoize the memoizers

* Drop staleTime to 60s

* Move label defs into a context to reduce recomputes

* Submit view tweaks

* Move labeler fetch below auth

* Mitigation: hardcode the bluesky moderation labeler name

* Bump sdk

* Add missing translated string

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Add missing translated string

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Hailey's fix for incorrect profile tabs

Co-authored-by: Hailey <me@haileyok.com>

* Feedback

* Fix borders, add bottom space

* Hailey's fix pt 2

Co-authored-by: Hailey <me@haileyok.com>

* Fix post tabs

* Integrate feedback pt 1

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Integrate feedback pt 2

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Integrate feedback pt 3

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Integrate feedback pt 4

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Integrate feedback pt 5

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Integrate feedback pt 6

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Integrate feedback pt 7

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Integrate feedback pt 8

Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>

* Format

* Integrate new bday modal

* Use public agent for getServices

* Update casing

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>
Co-authored-by: Hailey <me@haileyok.com>
2024-03-18 12:46:28 -07:00
Hailey d5ebbeb3fc
Use [bot] in action username (#3250) 2024-03-18 09:59:39 -07:00
Samuel Newman 1dcd5c116f
Merge pull request #3247 from bluesky-social/samuel/dynamic-translations
Fix instances of static translations (`t` macro)
2024-03-18 16:14:00 +00:00
Hailey 88ab83bd52
Properly fill container for YT Shorts videos (#3238)
account for jest

account for jest

yt iframe fill container
2024-03-18 09:09:08 -07:00
Samuel Newman 574c8b913d
Add missing macro
Co-authored-by: Gildásio Filho <gildasiogx@gmail.com>
2024-03-18 16:01:48 +00:00
Hailey 79175e2a09
Fix PR labeler bot comment delete (#3249) 2024-03-18 08:40:43 -07:00
Samuel Newman fbfb78b860 change usage of t to msg 2024-03-18 14:37:30 +00:00
Alexander K 54dd4af312 remove scrollbar gutter for Chrome when body scroll is locked 2024-03-17 22:20:50 +01:00
Alexander K 0e3b2633b9 Add 'Liberation Sans' font for FireFox on Linux; lightbox buttons adjustments 2024-03-17 21:34:52 +01:00
Minseo Lee 73dae9f7b5 Update Modal.tsx 2024-03-16 17:17:54 +09:00
Minseo Lee 86d036cca8 Update Modal.tsx 2024-03-16 17:04:45 +09:00
Minseo Lee a3786ee5cd Update Modal.tsx 2024-03-16 17:02:05 +09:00
Minseo Lee 12d8f0071a Update ReasonOptions.tsx 2024-03-16 16:56:56 +09:00
Minseo Lee b4480738e3 Update ReasonOptions.tsx 2024-03-16 16:50:15 +09:00
Minseo Lee 7a0bf7266a Update Lists.tsx 2024-03-16 16:48:58 +09:00
Minseo Lee 6d57094c6a
Merge branch 'bluesky-social:main' into patch-3 2024-03-16 16:23:04 +09:00
Samuel Newman d2a11f3344 translate error 2024-03-15 22:08:06 +00:00
Hailey 98bca69ae9
Adjust PR Labeler (#3224) 2024-03-15 13:42:51 -07:00
Hailey fa8b21cea7
Add package diff PR labeler (#3212)
* add PR labeler

* test cache

* rm change
2024-03-15 12:28:21 -07:00
Samuel Newman e30b3d9b3c
Merge pull request #3218 from bluesky-social/samuel/alf-birthday
Use ALF for the birthday modal and remove legacy one
2024-03-15 16:45:17 +00:00
Hailey 39da1cd465 add padding to the `ScrollableInner` 2024-03-15 09:30:19 -07:00
Samuel Newman 38ea041136 change to scrollable inner 2024-03-15 16:22:09 +00:00
Samuel Newman 58ac22c45b make alignment platform specific rather than size specific 2024-03-15 16:21:15 +00:00
Samuel Newman 502df521c1 center date input 2024-03-15 16:03:08 +00:00
Samuel Newman 884f37c349 rename BirthdaySettings -> BirthDateSettings + remove legacy modal 2024-03-15 15:50:54 +00:00
Samuel Newman 577091d44d ALF the birthday modal and remove legacy one 2024-03-15 15:45:58 +00:00
Samuel Newman 273fe3e8e9 scrollview persist taps, autoFocus code 2024-03-15 14:21:38 +00:00
Samuel Newman 0f67be3627 animate transitions on web only 2024-03-15 14:21:15 +00:00
Samuel Newman e31fcb1a6d reenable set new password button 2024-03-15 13:54:23 +00:00