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

Open
2 of 3 tasks
charlag opened this issue Jan 7, 2025 · 0 comments · May be fixed by #8212
Open
2 of 3 tasks

Refactor ListModel to separate Entity concerns from List concerns #8222

charlag opened this issue Jan 7, 2025 · 0 comments · May be fixed by #8212

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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants