Skip to content

Meta: Rename “remove” to “hide” in all features - #4694

Merged
yakov116 merged 6 commits into
refined-github:mainfrom
sahilcode17:removehide
Aug 23, 2021
Merged

yakov116 merged 6 commits into
refined-github:mainfrom
sahilcode17:removehide

Conversation

@sahilcode17

@sahilcode17 sahilcode17 commented Aug 21, 2021 •

Copy link
Copy Markdown
Contributor

Fixes #4510

Files which were renamed were as follows:
remove-diff-signs -> hide-diff-signs
remove-label-faster -> hide-label-faster

@fregante
fregante marked this pull request as draft August 21, 2021 07:28
@sahilcode17
sahilcode17 marked this pull request as ready for review August 21, 2021 07:50
@fregante

Copy link
Copy Markdown
Member

Please follow the PR template and use a proper PR title

@fregante

Copy link
Copy Markdown
Member

@fregante fregante added the meta Related to Refined GitHub itself label Aug 21, 2021
@fregante
fregante marked this pull request as draft August 21, 2021 13:40
@sahilcode17

Copy link
Copy Markdown
Contributor Author

Also migrations are needed for the features that have been renamed:

https://github.com/sindresorhus/refined-github/blob/ac8de6bd0ef0a6016732a69556e4eb9c014cfd38/source/options-storage.ts#L28

is there any other file where changes are to be done except options-storage.ts

@fregante

Copy link
Copy Markdown
Member

No, migrations only exist there

@sahilcode17 sahilcode17 changed the title removetohide Renamed files with name “remove” to “hide” in all features Aug 21, 2021
@sahilcode17
sahilcode17 marked this pull request as ready for review August 21, 2021 15:39
Comment thread source/features/hide-diff-signs.css Resolved
@yakov116

Copy link
Copy Markdown
Member

The readme must be updated

@fregante

Copy link
Copy Markdown
Member

The readme must be updated

ugh it's unfortunate that #4495 meant that this is no longer caught by Webpack and would have been a runtime issue 😩

@sahilcode17

Copy link
Copy Markdown
Contributor Author

not sure how to resolve the lint error :(

Comment thread source/options-storage.ts Resolved
@yakov116

Copy link
Copy Markdown
Member

not sure how to resolve the lint error :(

I fixed it for you.

Please update the readme to match the names the you changed

@yakov116
yakov116 marked this pull request as draft August 22, 2021 15:03
@sahilcode17

Copy link
Copy Markdown
Contributor Author

not sure how to resolve the lint error :(

I fixed it for you.

Please update the readme to match the names you changed

thanks, @yakov116, by the way, which readme are you talking about here the refined-Github readme or the pull request.

@yakov116

Copy link
Copy Markdown
Member

the refined-Github readme

👍

@sahilcode17
sahilcode17 marked this pull request as ready for review August 23, 2021 06:16

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

Please follow the PR template

Please put into body of the issue what issue it closes and what files were renamed.

@fregante fregante changed the title Renamed files with name “remove” to “hide” in all features Meta: Rename “remove” to “hide” in all features Aug 23, 2021
@sahilcode17

Copy link
Copy Markdown
Contributor Author

Fixes #4510

This pull request changed "remove" to "hide" in the file name in features.
Also in the files imports were also changed accordingly.
Files which were renamed were as follows:
remove-diff-signs.tsx -> hide-diff-signs.tsx
remove-diff-signs.css -> hide-diff-signs.css
remove-label-faster.css -> hide-label-faster.css
remove-label-faster.tsx -.> hide-label-faster.tsx
along with this, some changes are also made in README.md file.

is it fine or something is missing?

@sahilcode17
sahilcode17 requested a review from yakov116 August 23, 2021 13:34
@yakov116
yakov116 merged commit 3592ecd into refined-github:main Aug 23, 2021
@yakov116

Copy link
Copy Markdown
Member

Thanks @sahilcode17!

kidonng pushed a commit to kidonng/refined-github that referenced this pull request Aug 28, 2021
@altrisi

altrisi commented Sep 17, 2021

Copy link
Copy Markdown

Doesn't remove-label-faster actually remove labels from the issue/pr, not only hide them? (it has been renamed -> hide-label-faster (here) -> quick-label-hiding)

@yakov116

Copy link
Copy Markdown
Member

I think you correct. Maybe it should be quickly-remove-issue-pr-labels?

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

Labels

meta Related to Refined GitHub itself

Development

Successfully merging this pull request may close these issues.

Rename “remove” to “hide” in all features

4 participants