-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Rearrange Clone Panel #31142
Rearrange Clone Panel #31142
Conversation
This commit restores the state of the pull request from March 2023. The result looks different and still needs to be improved.
Is it really a dependency? |
I would strongly prefer if this would use tippy.js for the dropdown menu because fomantic dropdowns have numerous issues and I would like to remove those eventually. Take a look how the PR review button is implemented, it needs a tiny bit of glue JS to associate the button with the menu content. |
Alright, thanks for the feedback 👍 |
I guess it shouldn't be blocked by that semi-stale PR. It already has accumlated a number of merge conflicts. Regarding this topic, I'm kind of neutral. On one side I like the 1-click copy behaviour of the current behaviour, but I guess we need to save space on this section which this button brings. I suggest moving the search field to the right with this change, to the left side of the code button (Edit: I see your screenshot already does that so 👍) |
ack. sorry for the noise on this PR. I attempted to use the auto-lintfix functionality, but it seems like git isn't accepting the reverted changes for the CSS file. |
I've just converted this to use tippy, although the styling is a bit WIP still |
This is now ready for review. |
@lafriks That spacing has been adjusted and I'll update the screenshot shortly. |
@techknowlogick Hey there, thanks for continuing work on this, much appreciated :) |
@techknowlogick stale? |
Well, no active, I will take it to 1.23 |
# Conflicts: # templates/repo/home.tmpl # web_src/js/index.ts
585ae46
to
2102d65
Compare
* giteaofficial/main: Switch to `eslint-plugin-import-x` (go-gitea#32790) Fix clone panel js error (go-gitea#32798) [skip ci] Updated translations via Crowdin Add `is_archived` option for issue indexer (go-gitea#32735) Upgrade dependency crypto library (go-gitea#32750) Add standard-compliant route to serve outdated R packages (go-gitea#32783) Fix repo home file list (go-gitea#32788) Rearrange Clone Panel (go-gitea#31142) Fix a number of typescript errors (go-gitea#32773) Add label/author/assignee filters to the user/org home issue list (go-gitea#32779) # Conflicts: # templates/repo/wiki/revision.tmpl # templates/repo/wiki/view.tmpl
This pull request restores the state of the pull request #23231, unfortunately, changing the pull request head is not possible. Created as draft PR until #27931 is merged in.
Rearrange the clone panel to use less horizontal space. The following changes have been made to achieve this:
Before:
Current look (needs improvements):
This pull requests aims to fix #23202