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

Introduce fixes and more rigorous tests for 'Show on a map' feature #26803

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

n0toose
Copy link
Contributor

@n0toose n0toose commented Aug 29, 2023

This change introduces some fixes for my original PR (#26214) and introduces some additional tests so that such a regression does not happen again in the future.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 29, 2023
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 29, 2023
@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 Sep 13, 2023
@pull-request-size pull-request-size bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 25, 2023
This fixes an issue where the location map icon is not shown when
viewing a user's Projects or Packages.

Co-authored-by: Gusted <postmaster@gusted.xyz>
@n0toose
Copy link
Contributor Author

n0toose commented Sep 25, 2023

I force-pushed two commits: The one is basically original (with the small change recommended by @wxiaoguang) and an adjusted date. The other one is the test improvement that I sent back in August.

tests/integration/user_test.go Outdated Show resolved Hide resolved
@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 Sep 25, 2023
@pull-request-size pull-request-size bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 29, 2023
@wxiaoguang wxiaoguang enabled auto-merge (squash) September 29, 2023 13:40
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Sep 29, 2023
@wxiaoguang wxiaoguang merged commit 65e09a3 into go-gitea:main Sep 29, 2023
25 checks passed
@GiteaBot GiteaBot added this to the 1.22.0 milestone Sep 29, 2023
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Sep 29, 2023
@wxiaoguang wxiaoguang added backport/v1.21 This PR should be backported to Gitea 1.21 type/bug labels Sep 30, 2023
GiteaBot pushed a commit to GiteaBot/gitea that referenced this pull request Sep 30, 2023
…o-gitea#26803)

This change introduces a fix for the PR go-gitea#26214 to set the UserLocationMapURL correctly.
@GiteaBot GiteaBot added the backport/done All backports for this PR have been created label Sep 30, 2023
@delvh
Copy link
Member

delvh commented Sep 30, 2023

Title is slightly misleading by now 😁.
Did not expect to suddenly find a one line change.

6543 pushed a commit that referenced this pull request Sep 30, 2023
…26803) (#27365)

Backport #26803 by @n0toose

This change introduces some fixes for my original PR
(#26214) and introduces some
additional tests so that such a regression does not happen again in the
future.

Co-authored-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Dec 28, 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 backport/v1.21 This PR should be backported to Gitea 1.21 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants