Skip to content
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

Redirect to project again after editing it #23326

Merged

Conversation

yp05327
Copy link
Contributor

@yp05327 yp05327 commented Mar 6, 2023

A part of #22865

We have edit buttons in projects list page and project view page.
But after user edit a project, it will always redirect to the projects list page.

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 6, 2023
@delvh delvh added type/enhancement An improvement of existing functionality and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 6, 2023
@lunny lunny added this to the 1.20.0 milestone Mar 6, 2023
@yp05327 yp05327 mentioned this pull request Mar 7, 2023
10 tasks
@GiteaBot GiteaBot added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Mar 9, 2023
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 9, 2023
@yp05327
Copy link
Contributor Author

yp05327 commented Mar 9, 2023

Forgot to add the changes in view page.
Now added.

@delvh delvh changed the title Redirect to origin page after edit a project Redirect to origin project after editing a project Mar 9, 2023
@delvh delvh changed the title Redirect to origin project after editing a project Redirect to project again after editing it Mar 9, 2023
@jolheiser jolheiser merged commit e52ac62 into go-gitea:main Mar 9, 2023
@jolheiser jolheiser removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 9, 2023
zjjhot added a commit to zjjhot/gitea that referenced this pull request Mar 10, 2023
* giteaofficial/main:
  Improve squash merge commit author and co-author with private emails (go-gitea#22977)
  Fix broken Chroma CSS styles (go-gitea#23174)
  Add gradle samples in maven doc of packages (go-gitea#23374)
  Fix and move "Use this template" button (go-gitea#23398)
  [skip ci] Updated translations via Crowdin
  Add init file for Ubuntu (go-gitea#23362)
  Rename `canWriteUnit` to `canWriteProjects` (go-gitea#23386)
  Fix pull request update showing too many commits with multiple branches (go-gitea#22856)
  Fix incorrect NotFound conditions in org/projects.go (go-gitea#23384)
  Refactor merge/update git command calls (go-gitea#23366)
  Redirect to project again after editing it (go-gitea#23326)
  Add Gitea Community Code of Conduct (go-gitea#23188)
@yp05327 yp05327 deleted the redirect-to-origin-page-after-edit-a-project branch March 13, 2023 01:05
@lunny lunny added the outdated/backport/v1.19 This PR should be backported to Gitea 1.19 label Mar 27, 2023
@lunny
Copy link
Member

lunny commented Mar 27, 2023

@yp05327 Please send backport to v1.19

GiteaBot pushed a commit to GiteaBot/gitea that referenced this pull request Mar 27, 2023
A part of go-gitea#22865

We have edit buttons in projects list page and project view page.
But after user edit a project, it will always redirect to the projects
list page.
@GiteaBot GiteaBot added the backport/done All backports for this PR have been created label Mar 27, 2023
lunny pushed a commit that referenced this pull request Mar 27, 2023
Backport #23326 by @yp05327

A part of #22865

We have edit buttons in projects list page and project view page.
But after user edit a project, it will always redirect to the projects
list page.

Co-authored-by: yp05327 <576951401@qq.com>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. outdated/backport/v1.19 This PR should be backported to Gitea 1.19 type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants