Skip to content

Rename remove-unused-repo-tabs to clean-repo-tabs - #4568

Merged
yakov116 merged 10 commits into
mainfrom
clean-tabs
Jul 19, 2021
Merged

yakov116 merged 10 commits into
mainfrom
clean-tabs

Conversation

@yakov116

@yakov116 yakov116 commented Jul 14, 2021 •

Copy link
Copy Markdown
Member

Closes #4562

Test URLs

https://github.com/sindresorhus/refined-github

Screenshot

(Click to enlarge)

Only clean-repo-tabs enabled Only more-dropdown-links enabled Both enabled

Note: d-none works perfectly and the user should be able to unhide via css.

@yakov116
yakov116 marked this pull request as ready for review July 16, 2021 12:37
@yakov116
yakov116 requested a review from fregante July 16, 2021 12:38
Comment thread source/features/more-dropdown.tsx Resolved

@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.

Untested but it looks pretty straightforward! 🎂

One thing I'd do is rename the ancient more-dropdown to more-dropdown-links and make sure this is searched and replaced across the repo.

Comment thread source/features/clean-repo-tabs.tsx Resolved
Comment thread source/features/more-dropdown.tsx Resolved
Comment thread source/options-storage.ts Resolved
@yakov116

yakov116 commented Jul 16, 2021 •

Copy link
Copy Markdown
Member Author

One thing I'd do is rename the ancient more-dropdown to more-dropdown-links and make sure this is searched and replaced across the repo.

Super complicated 😄

Though it over, I think its a known name by now. Maybe we should just keep it as is?

@fregante

fregante commented Jul 16, 2021 •

Copy link
Copy Markdown
Member

Maybe we should just keep it as is?

It hasn't made sense in a while. more-dropdown literally added a dropdown in 2017. Now the dropdown already exists and is native.

Comment thread source/refined-github.ts Resolved

@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.

Good to go! You may or may not want to extract the more-dropdown-links-related changes to their own PR

@yakov116
yakov116 merged commit 6e24ffd into main Jul 19, 2021
@yakov116
yakov116 deleted the clean-tabs branch July 19, 2021 10:26
@yakov116

Copy link
Copy Markdown
Member Author

One thing I'd do is rename the ancient more-dropdown to more-dropdown-links and make sure this is searched and replaced across the repo.

You would like me change titles of issues? Can you give me guidance?

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

Development

Successfully merging this pull request may close these issues.

remove-unused-repo-tabs doesn't move tabs into "more" if more-dropdown is disabled

3 participants