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

fix: upgrade ts-standard & fit errors #970

Merged
merged 9 commits into from
Sep 22, 2023
Merged

fix: upgrade ts-standard & fit errors #970

merged 9 commits into from
Sep 22, 2023

Conversation

vnugent
Copy link
Contributor

@vnugent vnugent commented Aug 23, 2023


name: Pull request
about: Create a pull request
title: ''
labels: ''
assignees: ''


What type of PR is this?(check all applicable)

  • refactor
  • feature
  • bug fix
  • documentation
  • optimization
  • other

Description

Related Issues

Issue #787

What this PR achieves

  • upgrade ts-standard.
  • fix misconfiguration in package.json which caused a rules not being checked
  • fix all errors
  • fix unit tests

Notes

@vercel
Copy link

vercel bot commented Aug 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
open-tacos ✅ Ready (Inspect) Visit Preview Sep 22, 2023 6:56pm

@vnugent vnugent temporarily deployed to Preview September 22, 2023 18:54 — with GitHub Actions Inactive
@vnugent vnugent marked this pull request as ready for review September 22, 2023 19:27
@vnugent vnugent merged commit 3e784d2 into develop Sep 22, 2023
11 checks passed
@vnugent vnugent deleted the fix-787 branch September 22, 2023 19:29
@vnugent vnugent mentioned this pull request Sep 22, 2023
@musoke
Copy link
Contributor

musoke commented Sep 22, 2023

a huge PR!

@vnugent
Copy link
Contributor Author

vnugent commented Sep 22, 2023

a huge PR!

It is! ts-standard linter was misconfigured in package.json so a lot of formatting issues fell through the crack. For example spaces are required between | operator

Promise<IUserProfile | null> 

or
Screenshot 2023-09-22 at 3 36 34 PM

@enapupe
Copy link
Contributor

enapupe commented Oct 2, 2023

hi there, I was looking into some strange behaviour when uploading photos and noticed this PR seems to be the cause.
why did you replace await with void generally across the files?
the general uploader now does not wait (await!!) the upload to finish before giving the "upload complete" feedback.

@vnugent
Copy link
Contributor Author

vnugent commented Oct 2, 2023

hi there, I was looking into some strange behaviour when uploading photos and noticed this PR seems to be the cause. why did you replace await with void generally across the files? the general uploader now does not wait (await!!) the upload to finish before giving the "upload complete" feedback.

Good catch. I was watching another user uploading photos earlier and saw similar behavior. In trying to fix linting errors I think this PR has introduced a bug.

@vnugent
Copy link
Contributor Author

vnugent commented Oct 10, 2023

@enapupe thanks for reporting the bug. The app now waits for photo uploaded to be completed. Fixed in #990

@vnugent
Copy link
Contributor Author

vnugent commented Oct 10, 2023

@all-contributors add @enapupe for bug

@allcontributors
Copy link
Contributor

@vnugent

I've put up a pull request to add @enapupe! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants