Skip to content

Update selector for chat view menu#2182

Merged
mquevill merged 1 commit into
sindresorhus:mainfrom
mquevill:UpdateViewsMenu
Nov 27, 2024
Merged

Update selector for chat view menu#2182
mquevill merged 1 commit into
sindresorhus:mainfrom
mquevill:UpdateViewsMenu

Conversation

@mquevill
Copy link
Copy Markdown
Collaborator

Using "role=navigation" is no longer unique enough to get the view menu. This led to 7 match results (at least in my case) for '[role=navigation] > div > div', which defaults to the selectMenuItem() use case.

[The users' interfaces seem to be more unified now, so we could consider eliminating the "new sidebar" checks too, since those may be artifacts from multiple versions ago.]

Fixes #2178.

Using "role=navigation" is no longer unique enough to get the view menu.
@mquevill mquevill added the bug label May 28, 2024
@mquevill mquevill merged commit 9434fe5 into sindresorhus:main Nov 27, 2024
@mquevill mquevill deleted the UpdateViewsMenu branch November 27, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] View options don't work as intended

1 participant