-
Notifications
You must be signed in to change notification settings - Fork 1
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
Deploy to staging #304
base: staging
Are you sure you want to change the base?
Deploy to staging #304
Commits on Sep 5, 2024
-
* copy all files from paragraph to use as the basis for the rich text component. * update icons for rich text component * resolve conflicts * wip on text formatting * get ready for setvalue * Refactor rich text handling in form components Updated RichTextPatternEdit to sync editor content with form state. Improved FormSummary rendering and enhanced form context with setValue function. * code formatting * add custom toolbar modules * formatting * add types to handlechange * add small format * pare down editor features * hidden field to mirror editor contents * install react-quill and increaes concurrency * fix type * remove logging * remove logging * remove logging * allow br tag in editor * formatting and label updates * swap quill for tiptap * fix build error with failing checks in form package * Rename and update RichTextPatternEdit components * Refactor editor button actions into a reusable array Consolidated individual editor button action handlers into a reusable editorActions array. This refactor simplifies the button creation process and enhances maintainability by reducing repeated code. * Add tests for lists * Dry out test a little * dry out test even more. * code formatting * Add CSS styles for RichText components Introduced new CSS modules to standardize the margin behavior of list items within RichText components. Updated the corresponding JSX files to apply these styles for consistent appearance. * Remove react-quill * remove prop from type for rich text * use patternvalue instead of string to correct typing issue * update styles of texteditor * exclude test that relies on browser feature from vitest runner * cleanup vitest config * remove save on blur for rich-text fields * change button type * remove top margin from editor content first child * add focus to editor when initialized * fix css selector * remove richtext check onblur * remove dbs from git * update form handling submission Check for rich text handler in the form blur event. Manage editor saving onChange * Add debounce for improved performance in RichTextPatternEdit Implemented debounce to optimize editor updates and prevent unnecessary re-renders. Memoized toolbar component. * Add optional validation rule to form fields Updated the form field registration to accept optional validation rules through the `register` method. * Add optional validation rule to form fields Updated the form field registration to accept optional validation rules through the `register` method. * add adr * Refactor MenuBar for enhanced editor functionality Remove `React.memo` from `MenuBar` component and add more fine-grained control with `disabled` property for button actions. Introduce new heading levels and update related stories to reflect these changes. * add types and style editor for long blocks of text. Adds new styles, change default heading hierarchy, and update tests * turn off spellcheck. squigglies were problematic for long documents. * match styles from edit view to preview. * move label * use vitest browser and install deps * update test config to try running browser tests in CI * install playwright browsers in ci * install dependencies * update install command * fix failing tests in e2e * formatting code * update test commands for watch and dev scenarios * update documentation * add aria-live for contents that change with soft nav * added css file extensions to prettier config * update deprecated command * Rich Text Component Toolbar buttons & API updates (#300) * pull latest from rich text branch and clean up * ignore cdktf type errors * install tf providers to pass typecheck --------- Co-authored-by: Daniel Naab <[email protected]> Co-authored-by: Jim Moffet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b53414 - Browse repository at this point
Copy the full SHA 6b53414View commit details
Commits on Sep 9, 2024
-
Documentation updates for backend (#302)
* Add ADR for database strategy * Add authentication ADR * Add ADR for our REST API * Update db ADR with test speed note * Actually add the REST API ADR * Clean wording in auth ADR * Update documents/adr/0012-database-strategy.md * Renumber new ADRs to match main
Configuration menu - View commit details
-
Copy full SHA for f798696 - Browse repository at this point
Copy the full SHA f798696View commit details
Commits on Sep 25, 2024
-
* update playwright * add flag to docker run * update playwright in design package
Configuration menu - View commit details
-
Copy full SHA for daad546 - Browse repository at this point
Copy the full SHA daad546View commit details -
Co-authored-by: Ethan Gardner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e0ceeb - Browse repository at this point
Copy the full SHA 1e0ceebView commit details
Commits on Oct 11, 2024
-
Create new risk issue template (#328)
New template for managing risks within GitHub, with specific fields to complete.
Configuration menu - View commit details
-
Copy full SHA for 6054a64 - Browse repository at this point
Copy the full SHA 6054a64View commit details
Commits on Oct 15, 2024
-
storybook test with jim (#322)
Co-authored-by: ethangardner <[email protected]> Co-authored-by: Ethan Gardner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b21c1e7 - Browse repository at this point
Copy the full SHA b21c1e7View commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for afbde7f - Browse repository at this point
Copy the full SHA afbde7fView commit details
Commits on Oct 24, 2024
-
Add c4-like diagram in Mermaid format (#345)
* Add c4-like diagram in Mermaid format * Use cylinder for db and general cleanup * Add separate DOJ diagram with S3 and backend systems in an agency boundary. * Style DOJ chart
Configuration menu - View commit details
-
Copy full SHA for 072e985 - Browse repository at this point
Copy the full SHA 072e985View commit details
Commits on Oct 25, 2024
-
chore: update server file to add email address for khayal to authoriz…
…ed users list (#355) Co-authored-by: Khayal Alasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bcd57f - Browse repository at this point
Copy the full SHA 7bcd57fView commit details
Commits on Oct 29, 2024
-
Form rendering and submission managed by backend (#307)
* Add basic tests for existing form submission behavior. * Add "submit form" test that confirms a completed form returns a PDF. * Add README for database package. * upsertFormSession persistence function * Add getFormSession db routine * In-progress work on server-rendered form * Pass route params to form components via session; form rendering in server app. todo: client rendering via spotlight app * Use hash urls on client-side form router * Add session management services; handling form routing in the app - in server, use Astro, move FormRouter into Spotlight, get rid of window.location references in @atj/design. * Standard http POST form submissions working. This included many tweaks to routing/page handling and session services updates. * Client-side routing fixes * Linting server package * Use node.js v20.18.0 * Update all playwright resources to 1.48.0 * Update lockfile * Add type for *.astro files, so "pnpm typecheck" in the workspace will not fail on imports of .astro modules from .ts modules. * Remove comment * Rename getAstroAppContext -> getServerContext * Add initial Playwright test and try to track down problems with Testcontainers usage (not working locally). Committing to test on CI. * Mark session incomplete test as expect failure * Update incomplete session test * Limit to just the node.js form route test. Will use browser mode for component tests, and avoid Playwright for now. * Confirm session is updated on form POST * Improve Spotlight behavior. Still some reorg work to do on the follow-up PR. * Organize frontend state * Minor cleanup * Fix e2e test: prefix localStorage key with "forms/"
Configuration menu - View commit details
-
Copy full SHA for eef7768 - Browse repository at this point
Copy the full SHA eef7768View commit details
Commits on Oct 30, 2024
-
docs: update README to include Podman migration steps and troubleshti…
…ng section (#369) * docs: update README to include Podman migration steps and troubleshooting section * docs: move the Podman-specific instructions into a separate document in the documents directory --------- Co-authored-by: Khayal Alasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2663178 - Browse repository at this point
Copy the full SHA 2663178View commit details
Commits on Nov 1, 2024
-
* Add submission registry class * In-progress * Add ability to register multiple handlers to the form platform, to later be registered at the plugin level. Wire this submission handler system up to the submit-form service * Wire "next page" action handler to UI. * Add "package download" pattern, which provides a submit button to download a PDF package. * Wire package download button up to UI. There are still issues with PDF data serialization that need to be resolved. * Get submit action string when submitting via JS * Fix typo * Add initial documentation for the forms package and its patterns directory
Configuration menu - View commit details
-
Copy full SHA for 63a1ae5 - Browse repository at this point
Copy the full SHA 63a1ae5View commit details -
Fix circular imports in forms package. This resolves a problem where …
…Rollup's watch mode wasn't working. (#368)
Configuration menu - View commit details
-
Copy full SHA for 10bd089 - Browse repository at this point
Copy the full SHA 10bd089View commit details -
feat: create select dropdown patterns for form builders and form user…
…s tckt-360 (#370) * feat: create select dropdown pattern tckt-360 * feat: create select dropdown pattern edit for form builder tckt-360 * feat: refactor rendering default select option via the template tckt-360 * fix: parseUserInput hook for select dropdown tckt-360 * test: add unit tests for select dropdown pattern tckt-360 * refactor: restructure file folder for select-dropdown * feat: refactor parseUserInput and update tests * feat: remoce pdf proccessing code for select dropdown tckt-360 * test: refactor tests tckt-360 --------- Co-authored-by: Khayal Alasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a7f982 - Browse repository at this point
Copy the full SHA 8a7f982View commit details
Commits on Nov 6, 2024
-
feat: create date of birth pattern tckt-361 (#374)
* feat: create date of birth pattern tckt-361 * feat: create date of birth pattern edit form tckt-361 * test: add vitest for date of birth pattern tckt-361 * fix: add value aggregation hook to handle structured and single values in form validation tckt-361 * feat: update aggregateValuesByPrefix to use set-value library to handle nested values tckt-361 --------- Co-authored-by: Khayal Alasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4480793 - Browse repository at this point
Copy the full SHA 4480793View commit details
Commits on Nov 8, 2024
-
chore: remove white space in a doc to rebuild the main branch (#375)
Co-authored-by: kalasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01f2783 - Browse repository at this point
Copy the full SHA 01f2783View commit details
Commits on Nov 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 402acdd - Browse repository at this point
Copy the full SHA 402acddView commit details -
Update README with new name (#372)
* update readme * don't update pnpm-lock.yaml --------- Co-authored-by: Daniel Naab <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f3d810 - Browse repository at this point
Copy the full SHA 4f3d810View commit details
Commits on Nov 11, 2024
-
feat: create email input pattern tckt-362 (#377)
* feat: add email input pattern -tckt-362 * feat: add email input pattern form edit tckt-362 * feat: create email input icon for question dropdown tckt-362 * chore: update error message path for dob storybook tckt-362 * test: add unit tests for email-input config file tckt-362 * test: refactor test failure assertions tckt-362 --------- Co-authored-by: kalasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ee1c8c - Browse repository at this point
Copy the full SHA 5ee1c8cView commit details
Commits on Nov 15, 2024
-
feat: create phone number component tckt-363 (#382)
* feat: create phone number pattern tckt-363 * feat: create phone number pattern edit form tckt-363 * test: add tests phone number config tckt-363 * refactor: Clear old error message on session object when updating valid submission data and pass previous value into React component tckt-363 Co-authored-by: Daniel Naab [email protected] * test: update tests tckt-363 * feat: update error state and message for phone pattern tckt-363 --------- Co-authored-by: kalasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ee8954 - Browse repository at this point
Copy the full SHA 5ee8954View commit details
Commits on Nov 25, 2024
-
* copy input field to use as basis of file upload * begin structure on file component * Add single/multiple handling in attachment component * render checkboxes for allowed file types * update validation for attachment pattern config data * validate on max attachments if required * move attachment file type options * moved attachment pattern files to their own directory * rename file * fix label issue with edit view error state * interaction tests for attachment component * pass in config props and update labels in attachment component * update attachment handling * use allowed types array in document parser * add max size for files * modify attachment schema * hard code the max file size for now * enhance file input validation for form filler * copy input field to use as basis of file upload * begin structure on file component * Add single/multiple handling in attachment component * render checkboxes for allowed file types * update validation for attachment pattern config data * validate on max attachments if required * move attachment file type options * moved attachment pattern files to their own directory * rename file * pass in config props and update labels in attachment component * update attachment handling * use allowed types array in document parser * add max size for files * modify attachment schema * hard code the max file size for now * enhance file input validation for form filler * fix label issue with edit view error state * interaction tests for attachment component * update component stories to better handle null and resolve type issues * apply circular dependency changes to attachment pattern * add tests for attachment edit ui * add tests for attachment edit ui * change aria labels * add unit tests for attachement config * testing for more branches of error condition for the attachment config data * mock file and filelist for node environment support * add enctype to handle attachments * stub out tests for http post request validation and begin branching logic for conditionally typing for runtime env * simplify validation for attachment config and add new tests * consolidate validation logic between client and server * remove types from parsing API ingest * remove additional attachments reference from documents * transform file object during validation as a placeholder for future async work
Configuration menu - View commit details
-
Copy full SHA for c02d98d - Browse repository at this point
Copy the full SHA c02d98dView commit details -
* feat: cretae ssn pattern tckt-364 * feat: create ssn pattern edit form tckt-364 * feat: create ssn icon and phone icons tckt-364 * feat: add ssn input and schema validations tckt-364 * test: add tests for ssn input and schema validations tckt-364 * feat: update ssn validation criteria based on USWDS recommendations * feat: address accessibility issues tckt-364 * feat: improve SSN validation error messages for clarity tckt-364 * feat: improve accessibility for ssn input tckt-364 * feat: add input masking to guide correct entry of the Social Security Number tckt-364 --------- Co-authored-by: kalasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47ec6d4 - Browse repository at this point
Copy the full SHA 47ec6d4View commit details
Commits on Nov 27, 2024
-
Store PDF documents in db table (#371)
* Add form_documents table and an initializeForm service, responsible for creating a form that's initialized with data from a PDF. initializeForm is not currently wired to the UI. * Improve pattern builder docs * Fix test and typing errors; implement localStorage version of addDocument * Wire initializeForm to UI * PDF attachment download working * Fix imports * Rebuild lock file * Revert "Rebuild lock file" This reverts commit 0b0f6c7. * Remove pdf bytes from blueprint object * Parse/validate Blueprint JSON * Delete associated documents when a form is deleted. * Document support in-browser * Add tests for parseForm * Inject a FormConfig into the forms db adapter * Remove console.log * Call parseStringForm() in getForm db function * Update BrowserFormRepository for interface changes * Fix typo
Configuration menu - View commit details
-
Copy full SHA for 47ea8ce - Browse repository at this point
Copy the full SHA 47ea8ceView commit details
Commits on Dec 4, 2024
-
feat: improve accessibility for single field components tckt-393 (#387)
* feat: improve accessibility for single field components tckt-000 * refactor: improve accessibility and error handling for single field components tckt-393 --------- Co-authored-by: kalasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7af78d4 - Browse repository at this point
Copy the full SHA 7af78d4View commit details
Commits on Dec 6, 2024
-
chore: update folder structrue for form manager tckt-394 (#396)
Co-authored-by: kalasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1c388f - Browse repository at this point
Copy the full SHA d1c388fView commit details
Commits on Dec 9, 2024
-
feat: create gender identity input component tckt-365 (#395)
* feat: create gender id pattern tckt-365 * feat: create gender id pattern edit form tckt-365 * feat: add input and schema validation tckt-365 * feat: update gender identity icon svg tckt-365 * refactor: update story and enhanch component file structure for gender id -tckt-365 * fix: resolve checkbox issue to persist the checked state tckt-365 --------- Co-authored-by: kalasgarov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 193f9cd - Browse repository at this point
Copy the full SHA 193f9cdView commit details