Skip to content

fix: peek button not showing on newer UI#14

Open
thenbe wants to merge 3 commits into
Jarred-Sumner:mainfrom
thenbe:update-selectors-5
Open

fix: peek button not showing on newer UI#14
thenbe wants to merge 3 commits into
Jarred-Sumner:mainfrom
thenbe:update-selectors-5

Conversation

@thenbe

@thenbe thenbe commented Dec 22, 2023

Copy link
Copy Markdown

The button was not consistently showing in github lately (depending on the version of the UI you're getting). I kept the original selectors, but added new ones as a fallback to maintain backwards compatibility. Some related issues still remain (#13), but this is a start.

I had to explicitly install webextension-polyfill, otherwise esbuild fails to build.

Finally, I also added debug logs. They're not necessary for this PR, but will be useful for anyone debugging this in the future.

Tested on firefox 120.0.1 and chrome 120.0.6099.109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant