-
-
Notifications
You must be signed in to change notification settings - Fork 830
Conversation
4f3ff63
to
ecd568b
Compare
ecd568b
to
0e5545e
Compare
0e5545e
to
57a6de5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't had the time to look at most of the components yet but this is mostly looking good, just some smaller concerns
src/components/structures/FavouriteMessagesView/ConfirmClearDialog.tsx
Outdated
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessageTile.tsx
Outdated
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesHeader.tsx
Outdated
Show resolved
Hide resolved
return { | ||
isFavourite, | ||
toggleFavourite, | ||
getFavouriteMessagesIds, | ||
reorderFavouriteMessages, | ||
clearFavouriteMessages, | ||
setSearchState, | ||
isSearchClicked, | ||
|
||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With all these things, it feels like these should be a store rather than a hook perhaps 🤔 When is the switch to account data going to happen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, i figured out i needed a store instead of this, it's really a pain doing this with hooks only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding when is the switch to AccountData, i'll start working on it starting next month. For now i think we should stick to this.
src/components/structures/FavouriteMessagesView/ConfirmClearDialog.tsx
Outdated
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessageTile.tsx
Outdated
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesView.tsx
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesTilesList.tsx
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesPanel.tsx
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesHeader.tsx
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesHeader.tsx
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesHeader.tsx
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesHeader.tsx
Outdated
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesHeader.tsx
Show resolved
Hide resolved
src/components/structures/FavouriteMessagesView/FavouriteMessagesPanel.tsx
Show resolved
Hide resolved
…gesHeader.tsx Co-authored-by: Šimon Brandner <[email protected]>
Co-authored-by: Šimon Brandner <[email protected]>
I've done a rebase and addressed most of the comments, and created a new PR here: #9719 |
Task: vector-im/element-web#22453
Signed-off-by: Yaya Usman [email protected]
Here's what your changelog entry will look like:
✨ Features