-
Notifications
You must be signed in to change notification settings - Fork 22
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
Refactor: codebase cleanup #509
Conversation
…lers/assignment into utils/assignment
…sed internally to module
…e InlineLabelClosable in Praise component, remove unneeded ResetQuantificationButton
…, rename for simplicity
…, rename for clarity
…n, rename for clarity
…rename for clarity
…ction, rename for clarity
…rder on all packages
… force all imports to have identical names to their original function name. Update all function exports and imports to reflect this rule (except for those loaded with React.lazy which only supports default exports)
…' for consistency with frontend path aliases
…ite, without specifying specific time delay
…flict. Fix new build errors arising from dependency minor updates. Ignore one build error I was unable to diagnose.
…t by mongoose schema defaults)
…is missing from /praise or /forward commands
…ormat()' and change formatting to iso standard yyyy-mm-dd
…labels used on frontend (i.e. #1234), pass to frontend via PraiseDto
No idea why the github actions aren't running -- maybe because there are so many file changes the trigger checks are timing out? Anyway you might need to run a lint, build and test locally to confirm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a needed cleanup, great, thanks! ✨
@@ -10,7 +10,7 @@ export enum EventLogTypeKey { | |||
SETTING = 'SETTING', | |||
} | |||
|
|||
export interface EventLog { | |||
interface EventLog { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great not to export these types! Avoids accidental use.
Overview
Docs
Refactor
period/controllers/assignments
non-controller functions intoperiod/utils/assignments
praiseWithScore
InlineLabelClosable
to useInlineLabel
and use in Praise component, remove no longer neededResetQuantificationButton
getRandomString
to use more secure crypto.randomBytesBuild
Cleanup
@/blah
and@blah
between api and frontend -- now both are@/blah