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

Add types to fetch,toast,bootstrap,svg #31627

Merged
merged 9 commits into from
Jul 25, 2024
Merged

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Jul 13, 2024

Reduce tsc error count by 53. None of the changes has any runtime effect.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 13, 2024
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 13, 2024
@silverwind silverwind changed the title Add types to request,toast,bootstrap Add types to request,toast,bootstrap,svg Jul 13, 2024
@silverwind silverwind changed the title Add types to request,toast,bootstrap,svg Add types to fetch,toast,bootstrap,svg Jul 13, 2024
@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 Jul 19, 2024
@silverwind
Copy link
Member Author

@wxiaoguang quick review? This is a zero-risk type-only change, no runtime impact.

Copy link
Contributor

@wxiaoguang wxiaoguang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it doesn't really look good to me, and there would be different opinions and long comments if we start the discussion.

TBH I do not really have enough time to review or propose PRs (ps: to be responsible, I will always fix my bugs if there are any).

So to save everyone's time, I think other experts could review.

@silverwind
Copy link
Member Author

The thing is, no one else here seems interested or qualified in TypeScript and I think this type of PR can be reviewed pretty much blindly if it has no runtime impact and reduces the tsc error count.

@silverwind silverwind added the type/refactoring Existing code has been cleaned up. There should be no new functionality. label Jul 25, 2024
@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 Jul 25, 2024
@silverwind silverwind added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jul 25, 2024
@silverwind silverwind enabled auto-merge (squash) July 25, 2024 18:02
@silverwind silverwind merged commit 930ca92 into go-gitea:main Jul 25, 2024
26 checks passed
@GiteaBot GiteaBot added this to the 1.23.0 milestone Jul 25, 2024
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jul 25, 2024
@silverwind silverwind deleted the types-1 branch July 26, 2024 00:03
zjjhot added a commit to zjjhot/gitea that referenced this pull request Jul 29, 2024
* giteaofficial/main:
  Make GetRepositoryByName more safer (go-gitea#31712)
  [skip ci] Updated licenses and gitignores
  Run `go-install` in `deps-tools` in parallel (go-gitea#31711)
  Hide the "Details" link of commit status when the user cannot access actions (go-gitea#30156)
  Enable `no-jquery/no-parse-html-literal` and fix violation (go-gitea#31684)
  [skip ci] Updated translations via Crowdin
  OIDC: case-insensitive comparison for auth scheme `Basic` (go-gitea#31706)
  Support `pull_request_target` event for commit status (go-gitea#31703)
  Add types to fetch,toast,bootstrap,svg (go-gitea#31627)
  Run `detectWebAuthnSupport` only if necessary (go-gitea#31691)
  add `username` to OIDC introspection response (go-gitea#31688)
  Add return type to GetRawFileOrLFS and GetRawFile (go-gitea#31680)
  Support delete user email in admin panel (go-gitea#31690)
  Use GetDisplayName() instead of DisplayName() to generate rss feeds (go-gitea#31687)
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/refactoring Existing code has been cleaned up. There should be no new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants