Closed ThatNerdSquared closed 2 months ago
PR implements the following...
minor UI bugfixes:
SectionPopup
newSection
disabled
App
useEffect
currentTerm
code cleanups:
baseSection
invalidSection
sectionConflict
Form
Form.tsx
https://github.com/mlool/workday-calendar-extension/assets/72814106/e74c29d0-99f2-4dbd-a333-73ef6375f1f6
@mlool
What Issue does this PR resolve? (Link to GitHub Issue, approved features and bugs will be given priority)
PR implements the following...
minor UI bugfixes:
SectionPopup
does not close when worklist is clearednewSection
existsnewSection
exists, using button'sdisabled
attributeApp
rerender fromuseEffect
updatingcurrentTerm
code cleanups:
baseSection
, makingnewSection
nullable instead for clarityinvalidSection
tosectionConflict
for clarity on what 'invalid' meansApp
to avoid needing to pass so many props down toForm
Form.tsx
(didn't run on the other files to avoid creating a huge diff)Please provide a video demo below, or a screenshot and description of the change.
https://github.com/mlool/workday-calendar-extension/assets/72814106/e74c29d0-99f2-4dbd-a333-73ef6375f1f6
Tag reviewers for the PR below.
@mlool