-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Lint and avoid errors #3314
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
Lint and avoid errors #3314
Conversation
|
Was going to do
Originally posted by @fregante in #3308 (comment) But dont this we gain anything since
Originally posted by @FloEdelmann in #3308 (comment) |
Co-Authored-By: Fregante <opensource@bfred.it>
|
@fregante can this be changed to |
|
Yes |
|
@yakov116 Could you also add #3247 (comment) and https://github.com/sindresorhus/refined-github/pull/3247/files/dd15d83e6f55d7be29c528535479246aaf1c27f7#diff-c372438f929b897327158a989ea88c17R65 (change current |
|
Regarding However that should probably be its own PR because I don’t know if it works as well as ours |
|
I think I'm done here. 😄 |
| // Without this, Firefox will follow the link instead of submitting the reaction button | ||
| <a href={isFirefox ? undefined : `/${username}`} className="rounded-1 avatar-user"> | ||
| <img src={imageUrl} style={{borderRadius: 'inherit'}}/> | ||
| <img src={imageUrl} className="rounded-1"/> |
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.
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.
| <img src={imageUrl} className="rounded-1"/> | |
| <img src={imageUrl} className="avatar-user rounded-1"/> |
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.
@yakov116 Why?
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.
Followed @kidonng #3314 (comment)
You should use
className="avatar-user rounded-1"becauserounded-1is for old design and has smaller radius (6px):
Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com> You should use className="avatar-user rounded-1" because rounded-1 is for old design and has smaller radius (6px):
Co-authored-by: Fregante <opensource@bfred.it>
|
Could you please revert another mistake in #3247 (comment) again 😅? (and you should use |
Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com>
|
@fregante anything waiting on me to finish? |
|
@fregante did you get the new preview? If yes from what i see we now have an issue detecting permalinks from the branch selector. It does not say if its a tag/tree anymore. |
|
Let's handle that in a separate PR once that design leaves beta. |
|
In your next round you could change this line to use |
Next round?? Why would there be that? Lol |
| @@ -12,5 +14,8 @@ void features.add({ | |||
| }, { | |||
| waitForDomReady: false, | |||
| repeatOnAjax: false, | |||
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.
any reason this is not working correctly with repeatOnAjax: false
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.
Because sometimes it goes from isPR to isConversationList with an ajax load, but repeatOnAjax: false prevents the page detection, it should be dropped

Yeah that time of week LOL
releases-tabagain. Not all repositories have it on the side bar, yet they all have it on the main bar.pr-jump-to-first-non-viewed-fileclean-sidebarfixesclean-sidebar: can't access property "nextElementSibling", header is null #3134quick-review-buttonsfixes Review requires comment even with pending comment(s) #3309hide-watch-and-fork-countborder Match border radius in GitHub new design #3247 (comment)reaction-avatarsUse css class instead of inline style Match border radius in GitHub new design #3247 (review)align-issue-labelsonly onisConversationList