Skip to content

Wrap up favourite messages #24261

Closed as not planned
Closed as not planned
@Johennes

Description

@Johennes
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions