Skip to content

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented Nov 13, 2024

This should make creating and managing lists a lot more pleasant.

Peek.2024-11-16.15-19.mp4

@Gargron Gargron added the ui Front-end, design label Nov 13, 2024
@Gargron Gargron force-pushed the feature-redesign-lists branch 4 times, most recently from c4769db to 6d1ef7a Compare November 14, 2024 13:48
@Gargron Gargron marked this pull request as ready for review November 14, 2024 13:58
@Gargron Gargron force-pushed the feature-redesign-lists branch 5 times, most recently from 7359b77 to 035a9ba Compare November 14, 2024 18:26
@ThisIsMissEm
Copy link
Contributor

What's the "show replies to" thing? That kind of makes it sounds like the list may be public? Maybe "Show in the list replies to"

@ThisIsMissEm
Copy link
Contributor

On the profile list modal, maybe it makes sense to have a footer of "Manage all your lists here" type thing? Since the list management UI is buried under the [...] next to the username above the composer.

@ThisIsMissEm
Copy link
Contributor

Also, are we being consistent in the placement of the action buttons in modals? I think some are at the bottom, some are in the header like here? It may be good to pick one and stick with it.

@ThisIsMissEm
Copy link
Contributor

And final question: what happens if I click a username whilst managing a list? Does that give me a profile overview modal or something, or does it wipe out the fact that I'm managing a list at the moment and jump me to their profile page?

@Gargron Gargron force-pushed the feature-redesign-lists branch 6 times, most recently from 61dcc5d to a219b3d Compare November 16, 2024 14:27
@ClearlyClaire
Copy link
Contributor

What's the "show replies to" thing? That kind of makes it sounds like the list may be public? Maybe "Show in the list replies to"

It's the same thing as we currently have, which allows you to chose which replies appear in the list for you:
image

I'm not sure how this makes it sound like the list may be public?

Copy link
Member

@renchap renchap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First review purely looking at the code, I did not try to run it

Copy link
Contributor

@ClearlyClaire ClearlyClaire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not fully reviewed the code, but barring the CSS bugs I posted, the UX is a clear improvement.

I do have some (mostly technical) worry about the Add @name to lists modal though: checking/unchecking a list is immediately applied, which is not entirely obvious, and is also likely to be expensive, especially with #32930. It might make more sense to apply the changes in batch after a “Done” button is pressed or something.

@ThisIsMissEm
Copy link
Contributor

What's the "show replies to" thing? That kind of makes it sounds like the list may be public? Maybe "Show in the list replies to"

It's the same thing as we currently have, which allows you to chose which replies appear in the list for you: image

I'm not sure how this makes it sound like the list may be public?

I think it could definitely do with a clearer label. I was certainly confused by this when looking at it (I don't use lists much personally)

@ClearlyClaire
Copy link
Contributor

Maybe instead of “Show replies from list members to”, have “Include replies from list members to”?

@Gargron Gargron force-pushed the feature-redesign-lists branch from a219b3d to acb6503 Compare November 20, 2024 18:28
@Gargron
Copy link
Member Author

Gargron commented Nov 20, 2024

All addressed except for the changes to "Add {name} to lists" modal. It might make sense to do this but I'd rather flag it down to be done separately, add a rate limit or debouncing.

ClearlyClaire
ClearlyClaire previously approved these changes Nov 21, 2024
Copy link
Contributor

@ClearlyClaire ClearlyClaire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have only skimmed over the code changes, but I have found no issue when trying it out, it appears functional, and is a clear design improvement.

I'll defer to @renchap for the actual code review, but looks good to me otherwise.

@Gargron Gargron enabled auto-merge November 21, 2024 16:06
@Gargron Gargron added this pull request to the merge queue Nov 21, 2024
Merged via the queue into main with commit 6260350 Nov 21, 2024
25 checks passed
@Gargron Gargron deleted the feature-redesign-lists branch November 21, 2024 16:19
@mjankowski
Copy link
Contributor

Something I noticed ... as the screen gets taller, the fun squiggly arrow gets further away from what its pointing at...

Screenshot 2024-11-24 at 09 48 11

Could see adjusting that to be dropped some standard distance from the top, instead of vertical centered?

rezhajulio added a commit to PegelinuxTop/mastodon that referenced this pull request Nov 26, 2024
* Remove remnants of embed views (mastodon#32419)

* Use `with_options` blocks in `Associations` concern (mastodon#32840)

* Add OpenTelemetry VCS attributes (mastodon#32904)

* Add missing autofocus on boost modal (mastodon#32953)

* Update libretranslate/libretranslate Docker tag to v1.6.2 (mastodon#32951)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency @formatjs/cli to v6.3.11 (mastodon#32950)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* New Crowdin Translations (automated) (mastodon#32927)

Co-authored-by: GitHub Actions <noreply@github.com>

* `Form::Import` spec reduce factories (mastodon#32924)

* Reduce long lines in `relationships/show` view (mastodon#32922)

* Extract constants for controller `LIMIT` queries (mastodon#32921)

* Update dependency aws-sdk-s3 to v1.171.0 (mastodon#32901)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Use `nil` instead of `false` for datetime value in spec (mastodon#32926)

* Streaming: add development logging of database queries (mastodon#32945)

* Fix `min_id` and `max_id` causing error in search API (mastodon#32857)

* Move self destruct check to `config_for` and add constant for verifier string (mastodon#32943)

* Change dependency from annotate to annotaterb (mastodon#30232)

* Use hash arguments to `select` when possible (Rails 7.2) (mastodon#32917)

* Use hash arguments to `order` when possible (Rails 7.2) (mastodon#32915)

* Add coverage for fixing the thing with the dates in the search area (mastodon#32958)

* Prep work for coverage addition to `ActivityPub::DeliveryWorker` spec (mastodon#32944)

* Use group/count approach in annual report classes (mastodon#32914)

* DB Replica database_tasks as ENV (mastodon#32908)

* Fix notification polling showing a loading bar in web UI (mastodon#32960)

* Update dependency aws-sdk-s3 to v1.172.0 (mastodon#32964)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* New Crowdin Translations (automated) (mastodon#32969)

Co-authored-by: GitHub Actions <noreply@github.com>

* Add `LoginActivity` model spec and `BrowserDetection` concern shared example (mastodon#32959)

* Extract `Notification::Groups` concern (mastodon#32968)

* Change lists to reflect added and removed users retroactively (mastodon#32930)

* Use hash arguments to `group` when possible (mastodon#32916)

* Fix error when viewing statuses to deleted replies in moderation view (mastodon#32986)

* Update dependency opentelemetry-instrumentation-rails to '~> 0.33.0' (mastodon#32987)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add `AccountWarning` case to `Report#history` spec (mastodon#32984)

* New Crowdin Translations (automated) (mastodon#32990)

Co-authored-by: GitHub Actions <noreply@github.com>

* Update dependency json-schema to v5.1.0 (mastodon#32992)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix posts made in the future being allowed to trend (mastodon#32996)

* Add ability to middle-mouse click posts in web UI (mastodon#32988)

* block scheduled status from frozen users (mastodon#30729)

* Fix wrong video dimensions for some rotated videos (mastodon#33008)

* New Crowdin Translations (automated) (mastodon#33010)

Co-authored-by: GitHub Actions <noreply@github.com>

* Update dependency doorkeeper to v5.8.0 (mastodon#33000)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add stop-gap antispam code (mastodon#32981)

* `rel="me"` check should be case-insenstive (mastodon#32238)

* Change design of lists in web UI (mastodon#32881)

* Fix duplicate notifications in notification groups when using slow mode (mastodon#33014)

* improve nginx.conf by setting gzip_static to on (mastodon#30698)

* LinkDetailsExtractor adjustments (mastodon#31357)

* Fix pushing hashtag-followed posts to feeds of inactive users (mastodon#33018)

* Rely on Rails to enable YJIT when available (mastodon#33017)

* Update Yarn to v4.5.2 (mastodon#33021)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* New Crowdin Translations (automated) (mastodon#33020)

Co-authored-by: GitHub Actions <noreply@github.com>

* Update dependency aws-sdk-s3 to v1.173.0 (mastodon#33019)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* [Glitch] Add missing autofocus on boost modal

Port 60801ab to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Fix notification polling showing a loading bar in web UI

Port e856838 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* Set autofocus on favourite modal (glitch-soc#2900)

* New Crowdin Translations (automated) (glitch-soc#2896)

* New Crowdin translations

* Fix bogus no.yml

* Fix bogus simple_form.no.yml

---------

Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Fix duplicate notifications in notification groups when using slow mode

Port 4bfb888 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* Remove pinned accounts editor

It was utterly broken and the underlying modals are getting redesigned

* [Glitch] Change design of lists in web UI

Port 6260350 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* Fix issue templates (glitch-soc#2904)

---------

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Matt Jankowski <matt@jankowski.online>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Co-authored-by: Jeong Arm <kjwonmail@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Andrew W. Lee <wjldrew@gmail.com>
Co-authored-by: Shlee <github@shl.ee>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Paulo Vilarinho <33267902+PauloVilarinho@users.noreply.github.com>
Co-authored-by: Christian Schmidt <github@chsc.dk>
Co-authored-by: Joshix-1 <57299889+Joshix-1@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Front-end, design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants