-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Remove stars when repo goes private #19904
Conversation
Codecov Report
@@ Coverage Diff @@
## main #19904 +/- ##
=======================================
Coverage ? 47.31%
=======================================
Files ? 960
Lines ? 133686
Branches ? 0
=======================================
Hits ? 63247
Misses ? 62727
Partials ? 7712
Continue to review full report at Codecov.
|
Perhaps we should add a UI warning that starts will be removed when made private, as we don't want to repeat: https://twitter.com/httpie/status/1514729922799022083 |
We need to add this to change list on the popup warning window. |
In my view, maybe should recheck read permission of each stared users. |
But that's a low-performance thing. |
Which change list do you mean ? on which warning window ? |
I'd just add a tooltip: <div class="ui checkbox tooltip" data-content="This will remove all stars from this repository"> Of course, it should only show if repo actually has any stars and only when the checkbox is rendered unchecked. |
Co-authored-by: silverwind <[email protected]>
I mean we need to popup a warning window when submit the button if private property changed. The popup window should list all possible break changes. |
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.
Happy with tooltip alone, anything more is overkill imho
I also think a pop-up is a better idea! Some users may just press it without noticing the tooltip (which is their mistake but still). Don't forget that is something very important and there is no turning back after that. So in my humble opinion, having a pop-up after ticking the box is a better idea. Batter be safe than sorry! |
Co-authored-by: delvh <[email protected]>
Co-authored-by: delvh <[email protected]>
agree - we need to highlight that this is a ireversible change as stuff will get deleted |
* upstream/main: (26 commits) Clean up WebAuthn javascript code and remove JQuery code (go-gitea#22697) Enable all webpack sourcemaps in dev build, disable all in prod build (go-gitea#25089) Don't display `select all issues` checkbox when no issues are available (go-gitea#25086) change placeholders in actions docs change placeholders in actions docs fix "Remove stars when repo goes private go-gitea#19904" (go-gitea#25084) Introduce how to configure cache when starting a Runner with Docker (go-gitea#25077) Remove stars when repo goes private (go-gitea#19904) Use correct selector for hiding RSS icon link in the branch selector dropdown (go-gitea#25080) Fix parallelly generating index failure with Mysql (go-gitea#24567) Use git command instead of the ini package to remove the `origin` remote (go-gitea#25066) improve permission documentation (go-gitea#23942) Use RepositoryList instead of []*Repository (go-gitea#25074) Add ability to set multiple redirect URIs in OAuth application UI (go-gitea#25072) Add Progressbar to Milestone Page (go-gitea#25050) [skip ci] Updated licenses and gitignores Redesign Scoped Access Tokens (go-gitea#24767) Use a separate admin page to show global stats, remove `actions` stat (go-gitea#25062) Remove cancel button from branch protection form (go-gitea#25063) Allow for PKCE flow without client secret + add docs (go-gitea#25033) ...
Fixes #18600