Skip to content
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

Refactor ListModel to separate Entity concerns from List concerns #8222

Closed
3 tasks done
charlag opened this issue Jan 7, 2025 · 0 comments · Fixed by #8212
Closed
3 tasks done

Refactor ListModel to separate Entity concerns from List concerns #8222

charlag opened this issue Jan 7, 2025 · 0 comments · Fixed by #8212
Assignees
Labels
Milestone

Comments

@charlag
Copy link
Contributor

charlag commented Jan 7, 2025

Time taken: 9h

AC

  • ListModel does not require its item type to be ListElement
  • entityEventsReceived is not in ListModel

Test notes

  • View mails, move mails, select mails, go to different folders
@paw-hub paw-hub linked a pull request Jan 7, 2025 that will close this issue
paw-hub added a commit that referenced this issue Jan 10, 2025
We do not want ListModel to specifically only work on ListElement types,
or even element types in general. As such, we generalize it to a list of
some kind of elements with some kind of ID, even if these are not types
that would be stored remotely as part of the model.

Also renames entity/element to item for the ListModel.

Closes #8222

Co-authored-by: hrb-hub <181954414+hrb-hub@users.noreply.github.com>
@charlag charlag self-assigned this Jan 13, 2025
@charlag charlag added the state:tested We tested it and are about to release it label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants