Skip to content

chore: remove unused routes and checks #618

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 1 commit into from
Jul 28, 2024

Conversation

BlankParticle
Copy link
Member

@BlankParticle BlankParticle commented Jul 28, 2024

What does this PR do?

Breaking Change

  • unsession cookie has been renamed to un-session

Everything else

  • Passkey challenges are now stored in separate storage object, thus removing the auth storage. Our storage is completely typesafe.
  • Removed unnecessary checks like, if org is defined inside a orgProcdure and so on
  • Removed unnecessary .input(z.object({})) in routes
  • Removed some unused routes

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Chore (refactoring code, technical debt, workflow improvements)
  • Enhancement (small improvements)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

Required

  • Read Contributing Guide
  • Self-reviewed my own code
  • Tested my code in a local environment
  • Commented on my code in hard-to-understand areas
  • Checked for warnings, there are none
  • Removed all console.logs
  • Merged the latest changes from main onto my branch with git pull origin main
  • My changes don't cause any responsiveness issues

Appreciated

  • If a UI change was made: Added a screen recording or screenshots to this PR
  • Updated the UnInbox Docs if changes were necessary

Copy link
Member Author

BlankParticle commented Jul 28, 2024

@BlankParticle BlankParticle marked this pull request as ready for review July 28, 2024 07:19
@BlankParticle BlankParticle changed the title chore: refactor old storage stuff and remove unused routes chore: remove unused routes and checks Jul 28, 2024
@BlankParticle BlankParticle force-pushed the chore/eslint-cleanup-and-changes branch from 253468d to fad6bc3 Compare July 28, 2024 15:02
@BlankParticle BlankParticle force-pushed the blank/chore/remove-unused-checks-and-code branch from 4e45010 to f70c80a Compare July 28, 2024 15:02
@OmarMcAdam OmarMcAdam force-pushed the chore/eslint-cleanup-and-changes branch from fad6bc3 to b2c4206 Compare July 28, 2024 15:06
@OmarMcAdam OmarMcAdam force-pushed the blank/chore/remove-unused-checks-and-code branch from f70c80a to 2fb8be2 Compare July 28, 2024 15:07
@BlankParticle BlankParticle changed the base branch from chore/eslint-cleanup-and-changes to main July 28, 2024 15:09
@BlankParticle BlankParticle force-pushed the blank/chore/remove-unused-checks-and-code branch from 2fb8be2 to 79db630 Compare July 28, 2024 15:09
@BlankParticle BlankParticle merged commit beeeaa6 into main Jul 28, 2024
4 checks passed
Copy link
Member Author

Merge activity

@BlankParticle BlankParticle deleted the blank/chore/remove-unused-checks-and-code branch July 28, 2024 15:16
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.

2 participants