element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
66 stars 11 forks source link

[Story] Show filters for room-list #2283

Closed VolkerJunginger closed 3 months ago

VolkerJunginger commented 5 months ago

Description

As a user of EX I want to be able to filter my roomlist in order to get a faster overview.

Create filters for:

It should be possible to combine filters for example:

Sorting

Updating the view

Size estimate

M

Dependencies

Out of scope

Open questions

### Questions
- [x] ~~Where should invites live?~~ We have an experimental story about it https://github.com/element-hq/element-meta/issues/2320
- [x] ~~Sorting of rooms in the room list and how that impacts room filters~~ For now we will use the current chronological ordering that we already have
- [x] ~~UI of filters~~ - we have new figma
- [x] ~~Animation of filters~~ Animations as we already have but the ordering is not kept, like Google's File app.
- [x] ~~Order of filters - should unreads be first?~~ Yes
- [x] ~~How should we turn filters on and off? Should it just be a toggle or do we need additional settings for it?~~ Filters are immediately available for everyone
- [x] What should fall under unreads filter? - Any room that contains unread notifications
- [x] ~~Search behaviour with filters (we probably want to hide them as soon as the search bar is focused)~~ no filters during search
- [x] ~~Advanced setting? https://github.com/element-hq/element-meta/issues/2283#issuecomment-1929101137~~ No settings.
- [x] ~~Empty state for unreads filter~~ We have a non-final but usable design that can be used for now, also if there are no rooms at all, we won't show the filters

Subtasks

### Android
 - [ ] https://github.com/element-hq/element-x-android/issues/2232
 - [ ] https://github.com/element-hq/element-x-android/issues/2233
 - [ ] https://github.com/element-hq/element-x-android/issues/2234
 - [ ] https://github.com/element-hq/element-x-android/issues/2486
### iOS
 - [ ] https://github.com/element-hq/element-x-ios/issues/2339
 - [ ] https://github.com/element-hq/element-x-ios/issues/2340
 - [ ] https://github.com/element-hq/element-x-ios/issues/2341
 - [ ] https://github.com/element-hq/element-x-ios/issues/2520
### Rust
 - [ ] https://github.com/matrix-org/matrix-rust-sdk/issues/3020
 - [ ] https://github.com/matrix-org/matrix-rust-sdk/issues/3021
 - [ ] https://github.com/matrix-org/matrix-rust-sdk/issues/3022
### Other
Velin92 commented 5 months ago

@VolkerJunginger Do we still want to have the filters being a toggle in the advanced settings? And if so, is it enabled by default or is it disabled?

manuroe commented 3 months ago

All done. QA will happen at the epic level.