Skip to content

warning-for-disallow-edits - Restore feature - #7583

Merged
fregante merged 1 commit into
refined-github:mainfrom
kovsu:fix-#7574
Jul 23, 2024
Merged

fregante merged 1 commit into
refined-github:mainfrom
kovsu:fix-#7574

Conversation

@kovsu

@kovsu kovsu commented Jul 23, 2024

Copy link
Copy Markdown
Member

close: #7574

Test URLs

Screenshot

after:

image

@fregante fregante left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR!

Comment on lines +21 to +22
attachElement(
checkbox.closest('.discussion-sidebar-item'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use observe('.discussion-sidebar-item:has(input[name="collab_privs"])') instead of attachElement, because the latter won't re-apply the fix if the sidebar is re-generated on the fly (it happens)

@fregante fregante added the bug label Jul 23, 2024
@fregante
fregante merged commit 7ba0edb into refined-github:main Jul 23, 2024
@fregante

Copy link
Copy Markdown
Member

Merging for now, further improvements welcome separately 🙏 ☺️

@kovsu
kovsu deleted the fix-#7574 branch July 24, 2024 00:33
@fregante fregante removed the bug label Jul 25, 2024
@fregante fregante changed the title warning-for-disallow-edits - Restore feature Bug: warning-for-disallow-edits - Restore feature Jul 25, 2024
@fregante fregante changed the title Bug: warning-for-disallow-edits - Restore feature [Bug] warning-for-disallow-edits - Restore feature Jul 25, 2024
@github-actions github-actions Bot added the bug label Jul 25, 2024
@github-actions github-actions Bot changed the title [Bug] warning-for-disallow-edits - Restore feature warning-for-disallow-edits - Restore feature Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

warning-for-disallow-edits is broken

2 participants