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 mod left nav bar for the mod edit facility section #969

Open
3 tasks
NabbeunNabi opened this issue Jan 17, 2025 · 2 comments · May be fixed by #990
Open
3 tasks

Add mod left nav bar for the mod edit facility section #969

NabbeunNabi opened this issue Jan 17, 2025 · 2 comments · May be fixed by #990
Assignees
Labels
enhancement New feature or request moderation panel pair programming This is a ticket that is good to pair with someone on

Comments

@NabbeunNabi
Copy link
Contributor

Problem

Currently we do not have a mod left nav bar when on the ModerationScreen.EditFacility screen for the ModEditFacilitySection section.
We need one.

Success

The mod left nav bar is created for for this section and follows the design in the Figma.

Requirements

  • Left navbar for when on the facility section form for editing a facility is created
  • It is imported into the ModLeftNavBar component
  • It has functionality using intersection observer or a similar solution in order to show the current section (It might not be possible to have it change smoothly at the moment due to the length of the form)

Implementation notes

Follow the design in this Figma

  • There is already a reusable function for the intersection observer
  • You can see how it was implemented in the ModEditSubmissionForm component.
@NabbeunNabi NabbeunNabi added enhancement New feature or request pair programming This is a ticket that is good to pair with someone on labels Jan 17, 2025
@ProgressChris88
Copy link
Contributor

Apologize about the delay, but I am actively working on this now.

@ProgressChris88 ProgressChris88 linked a pull request Jan 30, 2025 that will close this issue
1 task
@ProgressChris88
Copy link
Contributor

ProgressChris88 commented Feb 1, 2025

Currently having an issue where the observeFormSections fails on refresh. Even after being wrapped up in async and being done the exact same way as ModEditSubmissionLeftNavBar component, it loses the section tracking. Navigation works completely fine every time though.

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request moderation panel pair programming This is a ticket that is good to pair with someone on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants