Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(webforms): Init webforms (#201)
* build out a little more * Use Merriweather for section headers * Resolve radio button spacing issues * Update full title for font testing * Fix trash icon spacing * initial field groups and unregistering * feat: remove option for groups and fix shared field - remove option for groups greater than 1 - fix fields pointing to the same form spot - should unregister off till render issue fixed - add separator * remove logs * Resolve font size and spacing issues * Add border and top gradient to form * Add top padding after adding border/gradient * feat(webform): doc initializer * feat(webform): doc initializer * feat(webform): doc initializer * add the rest of abp 1 data * minor name tweaks * add scroll for select to account for quantity * Create useGetForm * Test useGetForm * Export useGetForm * add accessibility issues * Temporarily disable authorizer * Temporarily hard-code formId * Wrap returns in response * Temp. disable 400 response * Update index.tsx * Update index.tsx * Re-enable error 400 response * Update index.tsx * Update index.tsx * WIP: Receive params instead of a body for GET req * WIP: Use query params * Cleanup * Cleanup * Reenable AWS IAM roles for forms endpoint * Use formID variable as query key * Add a TODO reminder to use the Document type * continue to run accessibilities * feat(webform): doc validator * feat(webform): doc validator * fix(OY-25433): WIP filter changes * Fix routing issue * add type * working through date logic * Update FilterableDateRange.tsx * Ensure text size is consistent across form and with Figma * Labels should not be bold by default according to designs * Adjust leading to better reflect design * Adjust form title spacing to match design * Update ABP1 copy to match Figma * add route back to temp form * push calendar logic * feat(misc-inputs): Handle non standard numerical inputs * little cleanup * updated ui logic * adjust date clearing logic * add unregister effect in Slot comp * Add required attribute to abp1 * fix: change switch to radio with children * fix accessibility and race condition * add end of day logic * fix: change to singular checkbox with child * fix: remove fieldArray-fieldGroup undefined error * fix: remove default Select and Radio options * fix: select auto-sized for values * Update FilterableDateRange.tsx * Update FilterableDateRange.tsx * fix: fields no longer sharing names * fix: account for sub-group groups * fix test * fix end of day logic in range * first pass through Padma feedback * text changes * clean logic * fix: name mismatch * add char limit to fields and text changes * text changes * trying new logic with new object * add get logic * types * adjust types * adjust types * Update index.tsx * type check * Update initializer.ts * Update index.tsx * Update index.tsx * Add a Register button for logged-out users * fix: switch now changing values in form * Add webforms page and conditional header link * feat: add select sorting * testing logic * Update forms.ts * fix logic * running type logic * Update forms.ts * adjust build * add build logic * Update serverless.yml * Update serverless.yml * Update tsconfig.json * Update package.json * Update tsconfig.json * Set up basic route for user profile * Add Profile route to ROUTES * add logic * Update forms.ts * Update forms.ts * nodenext * log * Update package.json * adjust logic * Update serverless.yml * Update serverless.yml * Update serverless.yml * Update serverless.yml * Update serverless.yml * fix(char-limit): remove character limit in abp1 * Update serverless.yml * Update serverless.yml * Update serverless.yml * change file * Update forms.ts * .js * Update forms.ts * next * Update forms.ts * Update serverless.yml * itteratting * itteratting * Update v1.ts * Update tsconfig.json * Update package.json * Update forms.ts * Update forms.ts * json * Update package.json * Update tsconfig.json * adding logic * cleanup * Clean up logic * update webforms link check * Move form into Webform component dir * Improve spacing * Remove Access box for now * Add alert banner * add save draft * Move form schema types to shared folder * Cleanup * run logic * Additional cleanup * Update index.tsx * pra disclosure * Update package.json * Add isAuth to webform link condition * adjust logic with new webforms pull * Updated label per design feedback * Set up structure for dropdown menu * Add links to dropdown * Update menu colors and layout * Add an arrow to indicate dropdown menu * add data check * Improve layout to better match design * Parmaeterize the url to idm * removed nulls * bump * guarentee formschema * Add a nicer default * add logic in case of no data * rename footer and temp remove back button * footer rename and relocation * Use self-closing tag * Remove cruft * Parameterize idm url * one more * Remove unused consts * Add parameterized IDM link * Move rolesDescriptions to user.ts * Improve My Account menu styling * Store role descriptions as object and remove function * Get role description strings from shared types * Simplify type * Update src/services/ui/src/components/Layout/index.tsx Co-authored-by: Benjamin Paige <[email protected]> * Improve a11y * Restore top level H1 * coonvert form regex for json transmission * small fix * var name change * Prettier * add new diagram * smaller svg * adjust a thing --------- Co-authored-by: Gavin St. Ours <[email protected]> Co-authored-by: Daniel Belcher <[email protected]> Co-authored-by: Paul Kim <[email protected]> Co-authored-by: Paul Kim <[email protected]> Co-authored-by: James Dinh <[email protected]> Co-authored-by: James Dinh <[email protected]> Co-authored-by: Daniel Belcher <[email protected]> Co-authored-by: Mike Dial <[email protected]>
- Loading branch information