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

Spike on USWDS Date picker #2049

Closed
13 tasks done
jonnalley opened this issue Mar 7, 2024 · 14 comments
Closed
13 tasks done

Spike on USWDS Date picker #2049

jonnalley opened this issue Mar 7, 2024 · 14 comments
Assignees
Labels
design this is a design task design-debt Known and accepted design debt backlog items tech-debt Resolved technical debt (tooling, configuration, or workflow)

Comments

@jonnalley
Copy link
Contributor

jonnalley commented Mar 7, 2024

Goals

  • Understand feasibility of using the USWDS date picker instead of what we have now when choosing PoP and need by dates
  • Get a feel for what issues or problems it causes to switch to this

Tasks

UX

Dev

Additional Context

Resources

@jonnalley jonnalley added tech-debt Resolved technical debt (tooling, configuration, or workflow) Dev Frontend Ready Designers have created and finalized the designs, story has been refined, and ready for a Developer design-debt Known and accepted design debt backlog items design this is a design task labels Mar 7, 2024
@fpigeonjr
Copy link
Contributor

fpigeonjr commented Apr 4, 2024

Got the DatePicker working for both the Comet and Trussworks components. There is an issue with the alignment on the dates that I am running down as seen here:

SCR-20240404-mvca

@fpigeonjr
Copy link
Contributor

fpigeonjr commented Apr 4, 2024

solved the css issue and working on the embedding on the BLI Form

  • Comet seemed to re-render on input changes in the form
  • Trussworks seemed solid so going with that for now

@fpigeonjr
Copy link
Contributor

@jonnalley @kimschulke :
I think the Date Range Picker may be a good choice for Period of Performance Start and End Dates.

Would it be ok to experiment with that component in this SPIKE for POP start and end dates?

@jonnalley
Copy link
Contributor Author

@fpigeonjr go for it !

@fpigeonjr
Copy link
Contributor

👍 will do @jonnalley

@fpigeonjr fpigeonjr changed the title Spike on USWDS Date picker Spike on USWDS Date and Date Range picker Apr 5, 2024
@fpigeonjr
Copy link
Contributor

fpigeonjr commented Apr 9, 2024

DatePicker not updating form state may be related to Trussworks issue 2348

@fpigeonjr
Copy link
Contributor

started re-working a custom DatePicker based on Comet's implementation

@fpigeonjr
Copy link
Contributor

fpigeonjr commented Apr 10, 2024

my custom DatePicker component is working now without re-rendering and we are able to set form state
🤩thanks Co-Pilot

@fpigeonjr
Copy link
Contributor

fpigeonjr commented Apr 10, 2024

  • added vest validations to DatePicker and AllServicesComponent
  • found bug in review-mode cancelling out of wizard deletes Agreement
  • added tasks for DateRangePicker and CANSelect refactor

@fpigeonjr
Copy link
Contributor

fpigeonjr commented Apr 11, 2024

  • Completed the refactor of CanSelect to CanComboBox using the ComboBox implementation via react-select as seen on our other combo boxes in the app.
  • Will start e2e testing updates tomorrow

@fpigeonjr
Copy link
Contributor

  • restarted work on DatePicker on a new branch due to numerous merge conflicts and eslint weirdness.
  • Accordion functionality broke so needed to fix this as well
  • updated e2e tests for new DatePicker

@jonnalley jonnalley changed the title Spike on USWDS Date and Date Range picker Spike on USWDS Date picker Apr 18, 2024
@fpigeonjr
Copy link
Contributor

fpigeonjr commented Apr 18, 2024

@fpigeonjr
Copy link
Contributor

@jonnalley dev tasks are complete for this user-story

@fpigeonjr fpigeonjr removed the Dev Frontend Ready Designers have created and finalized the designs, story has been refined, and ready for a Developer label Apr 19, 2024
@jonnalley jonnalley removed their assignment Apr 20, 2024
@jonnalley
Copy link
Contributor Author

4/19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design this is a design task design-debt Known and accepted design debt backlog items tech-debt Resolved technical debt (tooling, configuration, or workflow)
Projects
None yet
Development

No branches or pull requests

5 participants