-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Reintroduce section sorting to the roomlist #30887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
77a1f19 to
054eff7
Compare
dfebcfe to
438dfd2
Compare
438dfd2 to
77a7960
Compare
77a7960 to
cf86efe
Compare
cf86efe to
2a1c74b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
8382cfc to
f9b6eeb
Compare
This comment was marked as outdated.
This comment was marked as outdated.
f9b6eeb to
d7bb3cc
Compare
|
I've been trying this out today and it seems a real improvement. For me to be able to use this instead of my current hack, I'd just need "unread" to mean "unread" i.e. rooms with a dot instead of whatever it means now :-). |
This comment was marked as resolved.
This comment was marked as resolved.
d7bb3cc to
b1898d5
Compare
|
The conclusion of the investigation regarding the unread filter is that we'll stick with the current implementation, which uses the Unread filter of the new room list. |
This comment was marked as outdated.
This comment was marked as outdated.
|
Hi Janne! Thanks for the contribution, I'm taking a look into this. Thanks for your patience with me! |
|
We're keen to implement sections, this isn't the way we would go about it. If it's ok I'll go head and say 'no' to this contribution but as soon as we have a clear product and design requirement set I'll make those issues public so feedback and contributions can be welcomed. These issues should be available before the end of October 🤞 |
b1898d5 to
96dbb8e
Compare
|
I'll try to summarize some of the user needs that drove this PR here:
Please add your own use case and needs, if it hasn't been mentioned yet! |
c034014 to
9cfbdfc
Compare
9cfbdfc to
d33fc28
Compare
|
I've rebuilt this PR with the section code now being a postprocessor for the room list store, which also allows us to have section headers. |
d33fc28 to
ff58e20
Compare
|
Closing based on #30887 (comment). |
|
@MidhunSureshR As mentioned above, I've rewritten the PR entirely earlier today to take the comments and reviews into account. This PR is for sure not perfect at this point in time, but I'd like to at least have a constructive discussion about it. |
|
I'm not sure why you would rewrite the PR even after comment from product. Whatever solution we end up with, it's going to come from the design/ux team and this is obviously not that. |
Because I was talking to some of those people to try to align this PR more closely with their vision? Because right now some users are actively using my builds of this PR, and I care about improving their experience? |
|
@justjanne Thank you for your contribution and maintaining this build until product and design come back with a solution before the end of october |
|
+1 Thanks for your constructive contributions @justjanne . There is a public issue here we can use for discussion of the subsequent implementation. |
In Short
This PR allows sorting the room list into sections, similar to the functionality of the old room list.
Until this gets merged, I'll maintain
k8r.eu/justjanne/element-web:v1.12.0k8r.eu/justjanne/element-web:v1.12.1k8r.eu/justjanne/element-web:developRationale
Many group chat apps section their room list, e.g. Slack with Rooms and DMs, Discord with Rooms and Voice/Video rooms. As I heavily rely on this feature every day, I decided to port it.
Limitations
This will not allow custom sorting methods per section, nor collapsible sections. All it does is change the sorting order to sort certain sections first. I'm planning to add section headers as well, but I haven't fully brainstormed how that'd work yet.
Checklist
public/exportedsymbols have accurate TSDoc documentation.