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

Wrap up favourite messages #24261

Closed
17 tasks
Johennes opened this issue Jan 19, 2023 · 3 comments
Closed
17 tasks

Wrap up favourite messages #24261

Johennes opened this issue Jan 19, 2023 · 3 comments
Labels
T-Enhancement T-Epic Issue is at Epic level Team: App X-Spec-Changes Z-AirFocus Moving issues from GH to AirFocus purposefully using this tag.

Comments

@Johennes
Copy link
Contributor

Johennes commented Jan 19, 2023

  • Change FavouriteMessagesStore to be available via context instead of a global singleton (ref)
  • Adjust FavouriteMessagesView title to match other room titles (ref)
  • Persist listeners array so it's not cleared every render (ref)
  • Clarify Florian's comment 1 and Florian's comment 2 on use of forceRefresh and listener registration and implement
  • Filter nulls from events array in FavouriteMessagesView without typecasting (ref)
  • Fix minor code review comments (e.g. naming of interfaces, TS errors, use named exports, missing string translations, unused context variable, copyright dates, CSS variable usage, clean-up suggestions, svg tweaks, CSS z-index)
  • Investigate use of useSettingValue in FavouriteMessageTile (ref)
  • Replace use of mask with direct SVG use (ref)
  • Adjust implementation to match MSC2437. Also propose changes to the MSC to store the data in Account Data instead of Room Account Data. Assuming we continue to believe this is correct, implement based on Account Data.
  • Fix UI bugs:
    • Fix "Room search with unexpected result, when hitting random keys on the keyboard."
    • Fix "It would be nice if the search field can get the focus if you click the search icon"
    • Fix "Ctrl + F (enabled in options) doesn't trigger search in the favourites view."
    • Fix "If you favourite a thread root, the thread summary is shown in favourites. But clicking it does nothing."
    • Fix "The room separation in the favourite view could be improved."
    • Fix "You cannot jump to the room message, if you favourite an image, voice message or location share (click the message in the favourites view)."
    • Fix "If you favourite a poll, it explodes with:"

Latest PR: matrix-org/matrix-react-sdk#9719

@Johennes Johennes added T-Epic Issue is at Epic level Team: App T-Enhancement labels Jan 19, 2023
@daniellekirkwood daniellekirkwood added the Z-AirFocus Moving issues from GH to AirFocus purposefully using this tag. label Feb 2, 2023
@Johennes Johennes changed the title Epic: Wrap up favourite messages Wrap up favourite messages May 4, 2023
@t3chguy
Copy link
Member

t3chguy commented Jun 14, 2023

#25555 points out how confusing this is as it stands. @Johennes can we rip it out until we have time to make it do SOMETHING?

Even the docs don't say it does nothing beyond add a button which does nothing to your room list: https://github.com/vector-im/element-web/blob/develop/docs/labs.md#favourite-messages-feature_favourite_messages-in-development

@Johennes
Copy link
Contributor Author

Yes, given our current priorities, I don't see us returning to it as a team in the near future. So since nobody has picked it up so far, it seems fair to kill.

@Johennes
Copy link
Contributor Author

Closing this as the code has been removed and we're not planning to return to it in the imminent future.

@Johennes Johennes closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Enhancement T-Epic Issue is at Epic level Team: App X-Spec-Changes Z-AirFocus Moving issues from GH to AirFocus purposefully using this tag.
Projects
None yet
Development

No branches or pull requests

3 participants