Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Unify unread notification state determination #9941

Merged
merged 5 commits into from
Jan 31, 2023

Commits on Jan 24, 2023

  1. Add tests for unread notification facilities

    Add some tests to guarantee some consistency in `useUnreadNotifications` and
    `RoomNotificationState`.
    
    Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
    clarkf committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    e53f44b View commit details
    Browse the repository at this point in the history
  2. Add RoomNotifs#determineUnreadState

    Intended as a singular replacement for the divergent implementations before.
    
    Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
    clarkf committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    8b63464 View commit details
    Browse the repository at this point in the history
  3. Unify room unread state determination

    Have both the class-based facility and the hook use the new unified logic in
    `RoomNotifs#determineUnreadState`.
    
    Addresses element-hq/element-web#24229
    
    Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
    clarkf committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    c5a2d29 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    e46b6b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e7d74d View commit details
    Browse the repository at this point in the history