Skip to content

Restore form inputs on organization create error #34201

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

Merged
merged 2 commits into from
Apr 15, 2025

Conversation

bytedream
Copy link
Contributor

@bytedream bytedream commented Apr 14, 2025

Keeps the entered inputs when the html organization create request returns an error.

Old (all inputs besides the org name are discarded, the visibility is not selected at all):
image
image

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 14, 2025
@github-actions github-actions bot added modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files labels Apr 14, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 15, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 15, 2025
@wxiaoguang wxiaoguang enabled auto-merge (squash) April 15, 2025 07:57
@wxiaoguang wxiaoguang disabled auto-merge April 15, 2025 07:57
@wxiaoguang wxiaoguang changed the title Store form inputs on organization create error Restore form inputs on organization create error Apr 15, 2025
@wxiaoguang wxiaoguang enabled auto-merge (squash) April 15, 2025 07:58
@wxiaoguang wxiaoguang merged commit 18a673b into go-gitea:main Apr 15, 2025
26 checks passed
@GiteaBot GiteaBot added this to the 1.25.0 milestone Apr 15, 2025
zjjhot added a commit to zjjhot/gitea that referenced this pull request Apr 16, 2025
* giteaofficial/main:
  [skip ci] Updated translations via Crowdin
  Fix two missed null value checks on the wiki page. (go-gitea#34205)
  Improve "lock conversation" UI (go-gitea#34207)
  Mark parent directory as viewed when all files are viewed (go-gitea#33958)
  Restore form inputs on organization create error (go-gitea#34201)
  Align User Details Page Header Layout with Design Specifications (go-gitea#34192)
@lunny lunny modified the milestones: 1.25.0, 1.24.0 Apr 16, 2025
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this pull request May 2, 2025
Keeps the entered inputs when the "organization create" request
returns an error.

Co-authored-by: wxiaoguang <[email protected]>
(cherry picked from commit 18a673b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants