-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Fix duplicate script declaration error in pull request merge box #36759
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
Open
silverwind
wants to merge
30
commits into
go-gitea:main
Choose a base branch
from
silverwind:fixmerge
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
639d23d
Fix duplicate script declaration error in pull request merge box
silverwind c04bf2e
Suppress djlint H025 false positive in pull merge box template
silverwind f7dcbd8
Read merge form data from element props instead of window.config.page…
silverwind 6399e84
Merge remote-tracking branch 'origin/main' into fixmerge
silverwind 71501fb
Move merge form JSON construction from template to Go
silverwind 3cdf645
Apply suggestion from @silverwind
silverwind 54dc981
Merge branch 'main' into fixmerge
silverwind 83d9f38
Clean up merge form: pass params directly, remove unused code
silverwind 365689a
Simplify merge form: remove params struct, read ctx.Data directly
silverwind 66725dc
Reduce ctx.Data reads in merge form builder
silverwind db46564
Remove ctx.Data reads: pass values through typed params
silverwind 4811c47
Remove obsolete ctx.Data sets and simplify merge style logic
silverwind 6170a80
Remove ctx.Data round-trips in prepareViewPullInfo
silverwind 1509ca3
DRY up merge form: embed struct, inline closure, deduplicate checks
silverwind 1268eec
Pass pre-computed blocked-by flags to merge form builder
silverwind 1898288
Add e2e tests for pull request merge box
silverwind ad0c12c
Optimize pull merge box e2e tests
silverwind b059455
Shorten e2e test names and use lowercase
silverwind 33e154a
Remove redundant recovery check in status checks e2e test
silverwind 96e8b2a
fix lint
silverwind 93fae30
Fix type assertion panic when HeadTarget is template.HTML
silverwind 4e72424
Remove unused apiCreateFile and extract preparePullViewReviewAndMergeAll
silverwind ff3e554
Remove unused clickDropdownItem utility function
silverwind 885897b
Merge branch 'main' into fixmerge
silverwind a826a20
Add comments explaining merge permission logic
silverwind 3e02cd4
Restore stillCanManualMerge closure
silverwind 5ff665d
Rename merge form fields for clarity
silverwind f626aa0
Merge remote-tracking branch 'origin/main' into fixmerge
silverwind 0affa9c
fmt
silverwind 3d66fd3
Merge origin/main into fixmerge
silverwind File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.