Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean-conversation-sidebar is broken #4238

Closed
SimonBrandner opened this issue Apr 14, 2021 · 15 comments 路 Fixed by #4445
Closed

clean-conversation-sidebar is broken #4238

SimonBrandner opened this issue Apr 14, 2021 · 15 comments 路 Fixed by #4445
Labels
bug help wanted Please! 鈾ワ笌 Particularly useful features that everyone would love!

Comments

@SimonBrandner
Copy link

Extension enabled:
Screenshot_20210414_080246
Extension disabled:
Screenshot_20210414_080311

Extension version: 21.4.13
FF version: 78.9.0esr

Note: Sorry if I am missing something here 馃槄

@SimonBrandner
Copy link
Author

Ah, solution is to disable this:

Screenshot_20210414_080824

But still seems like a bug to me. At least if I have triage access to the repo at question, I don't expect that to be hidden. Please correct me if I am wrong though

@SimonBrandner SimonBrandner changed the title Can't assign anyone to an issue The assignees section shouldn't be hidden if I have triage access Apr 14, 2021
@yakov116
Copy link
Member

Hmm looking at the code I don't think that should happen.

Are you able to copy the DOM here?

@SimonBrandner
Copy link
Author

Here you go

@yakov116
Copy link
Member

Thanks

I dont see the .discussion-sidebar-item selector there 馃槙

Can you do $('.discussion-sidebar-item') in the console (with the ext off) and copy that elements DOM?

@SimonBrandner
Copy link
Author

Here. Thanks for looking into this, btw!

@yakov116
Copy link
Member

https://github.com/sindresorhus/refined-github/blob/36425c2c174fe04352a29e0f886f6930c40a6738/source/features/clean-conversation-sidebar.tsx#L68

Did not fully debug but it looks like the selector here maybe .sidebar-assignee

@fregante
Copy link
Member

fregante commented Apr 14, 2021

Maybe this has something to do with how we detect "can user edit repo" since it's a "all or nothing" check. As you can see, you Projects section does not have a gear icon, but collaborators do:
Screen Shot

@yakov116 yakov116 added the enterprise Related to GitHub Enterprise only label Apr 14, 2021
@fregante

This comment has been minimized.

@yakov116
Copy link
Member

I would try to fix it. Do you have a repo you can add me on to debug?

@yakov116 yakov116 removed the enterprise Related to GitHub Enterprise only label Apr 14, 2021
@yakov116 yakov116 changed the title The assignees section shouldn't be hidden if I have triage access clean-conversation-sidebar is broken May 30, 2021
@yakov116 yakov116 added the Please! 鈾ワ笌 Particularly useful features that everyone would love! label May 30, 2021
@yakov116
Copy link
Member

@fregante can you reenable and disable via hotfix?

@fregante
Copy link
Member

I'm not sure I understand

@yakov116
Copy link
Member

We commented out the line

@fregante
Copy link
Member

What's the situation on this feature? Is it still completely broken? I think there's no difference between how it is now and "hotfixing" it

@yakov116
Copy link
Member

Correct but hotfixing it will allow users to know it was disabled and why.

@SimonBrandner
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted Please! 鈾ワ笌 Particularly useful features that everyone would love!
3 participants