-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
sticky-comment-header - New feature
#8544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sticky-comment-header - New feature
#8544
Conversation
|
Please add a screenshot yourself Issues:
From #8463 (comment):
|
It's unfortunately one of those things that will cause bug reports and I don't really want any more of those. The solution is likely to use :has() but that's why one of the restrictions was specifically "no broad has" 🥲
They open in the right place at least, right? |
Yes |
9724172 to
e68bb77
Compare
More or less fixed |
|
(Reposted from #8463 (comment) ) Browser: Firefox Nightly v142.0a1 32-bit I've tested the artifact from: https://github.com/refined-github/refined-github/actions/runs/16232281217?pr=8544 on below GH issue: e3kskoy7wqk/Firefox-for-windows-7#69 and there's a bug when I scroll down to my comment; e.g. e3kskoy7wqk/Firefox-for-windows-7#69 (comment) is fine:
... however e3kskoy7wqk/Firefox-for-windows-7#69 (comment) appears bugged (the second fixed header has a transparent background) :
Hopefully an easy fix 😄 ... |
do you have hw acceleration enabled? |
|
As mentioned, this PR cannot be merged with |
|
I don't see any css-only alternative |
|
I see two alternatives to blurring:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Mamma mia, i like it spaghetti |
|
Do you dislike the suggested implementation, or the idea of explicitly connecting the two features? |
|
Let me explain my reasoning:
The drawback is just some marinara and own comments that are not as bright as they should be IF you disable Maintaining the extension is difficult enough given the frequency GitHub changes UIs and the quantity of features, I try to limit "meta" complexity by keeping things as simple as possible. There are already a long list of broken features; I shouldn't really be spending any time adding more of them right now. |
done |
|
I've just installed the latest artifact from
... however, when I have commented on someone else's original issue, the sticky header is still transparent; e.g.:
Hopefully the geniuses here 😉 could also find a way to tackle this small visual bug... |
Yeah, happens sometimes because of #6554 |
|
generally ready to be re-reviewed |
| } | ||
|
|
||
| /* Issue body container */ | ||
| [data-testid="issue-body"] [class^="Box"]:has(> #issue-body-viewer), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kovsu it feels like we just dropped a selector just like this (box:has) because it was causing perf issues.
|
Sorry for wasting your time, but this feature is not practical to write and to support given the small advantage it gives. Closing |
|
Ahh too bad! I understand the point about the React views being brittle. Hope this changes in future. @SunsetTechuila @Vangelis66 thanks for your effort!
Here's my version of the CSS that doesn't attempt to piggyback on |
|
@Vangelis66 thanks for your QA! It has proven very valuable |
... You're most welcome 😄 ; now back from a brief summer vacation 😜 and with access again to my old (but treasured) laptop... Below is the link to the last/most recent GH artifact implementing the proposed https://github.com/refined-github/refined-github/actions/runs/16389640058?pr=8544 (GH artifacts do expire over time, not sure about the "artifact retention" duration in this repo...) If I'm allowed to share some last test findings (using above artifact), I'll have to note that @SunsetTechuila's implementation must have used CSS code properly supported only in fairly recent Firefox versions; this extension, in theory at least, currently supports the (now previous) FirefoxESR 128 branch (
The same is true for "older" Fx versions such as
In Fx
I realise my test findings have little value now, because:
However, I decided to post them for "completeness" purposes 😉 ; apologies if I created unwanted noise 😊 ... |











resolves #8463
Test URLs
refined-github/sandbox#117
refined-github/sandbox#118
Screenshot