Skip to content

Bug: Keyboard shortcuts are not updated after comments are reordered #588

@bloa

Description

@bloa

Description:
When working with a question with multiple comments (say, A, B, C, D), each comment can be triggered through shortcuts Ctrl+{1,2,3,4}.
However, if comments are reordered (into, e.g., B, C, D, A) the shortcut mapping is not updated.
That is, Ctrl+1 is still bound to comment A instead of comment B (the new first comment).

Expected behaviour:
Ctrl+k should trigger the "current k-th comment", instead of the "k-th comment from the initial order".

Additional comment:
The reordering UI isn't very intuitive; drag&drop would feel much better (for a future version)
See for example https://material.angular.io/cdk/drag-drop/overview#cdk-drag-drop-sorting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions