Extend AsyncList capabilities#4
Conversation
|
Now that the pending |
|
Now that the pending operations have been generalized (c87157b), we should look into handling failure cases. In particular, the |
|
Also, filtering should happen before sorting for efficiency. |
Really, filtering should happen mostly on the server because with very large lists, a |
|
|
darakreqo
left a comment
There was a problem hiding this comment.
Just apply those comments quickly and merge, we should move on.
This PR improves the
AsyncListcomponent and adds a lot of basic features:ItemAction::Updateaction.ListFiltertrait.ListSortertrait.Improvements include:
AsyncListcan now decide how to display the list (Portalremoved fromAsyncList::view).ListItem::Idinstead ofusizeeverywhere for more stability.Option<T::Id>) is now reset inSubmit's handling instead of inListMessage's.TODOS
AsyncList::viewwith default ready-to-use models (this can probably be added in a future PR).