-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DUOS-1759][risk=no] Updated step selector for data access request pa…
…ge (#1787) * [DUOS-1752] Added initial attempt at step1 of the new dar application request page - Added radio group option to forms - Added global styles (initial start) - Modified forms to extract some of the specific styling to the data submission form (that this page doesnt share) * [DUOS-1752] fixed key issue * Update src/components/forms/forms.js Co-authored-by: Gregory Rushton <rushtong@users.noreply.github.com> * [DUOS-1752] moved the new researcher components into the old researcher component >.< * [DUOS-1669] reorganized the css, added creatable select option. Want to change the normal select so it does not allow you to add a value, but later. Moved new researcher code to the existing researcher component. * [common-forms] reorganized the css, added creatable select option. Want to change the normal select so it does not allow you to add a value, but later * [common-forms] added some of Shae's changes * [common-forms] reorganized files again * [common-forms] fixed eslint * [common-forms] removed unnecessary css liine * [common-forms] split formComponents css into a separate file as well. Removed explicit creatable formfieldType - it will now create if a creatableConfig is provided, otherwise, it will not allow the user to add new fields * codacy * fixed unit tests and codacy * removed searchPlaceholder in favor of keeping "placeholder" * [DUOS-1752] Hooked up form components with actions and variables. * [DUOS-1752] moved code to a new component, reverted researcherInfo to orig * [DUOS-1752] Added warning * [DUOS-1752] Added textarea to formComponents, fixed signing official not saving value, converted input checkboxes to FormField components - will update the radio later :( * [DUOS-1752] added z index so the error message will overlay on top of the form components * [DUOS-1759] added side bar selector * [DUOS-1759] im sorry it's a mess * [DUOS-1752] reverted data access request application changes, just duped it out into a new file instead. * [DUOS-1752] replaced radio group components with the formField radio component * [DUOS-1752] replaced radio group components with the formField radio component * [DUOS-1752] removed dead code, added aria leveling * fixed merge errors * fixed error: > Warning: You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`. Not sure if this is the right fix * [DUOS-1759] updated so position:sticky will work! * [DUOS-1759] converted tabs to an array, life is just easier this way lol * [DUOS-1759] few changes: 1. position-stickyed the step bar 2. added window eventListener to watch for changes in scroll position and select the appropriate step. 3. One hiccup was that when you clicked on a section, it would slowly scroll there in the tab selector since the onScroll would update for the current position, overtaking the default where the tab selector would immediately change, and that ~.5s delay felt realy bad... so I added a debounce manually. Tried to do it through lodash, but it wasn't working, and I wasnt sure why. * [DUOS-1759] testing.... to see if eslint-disable-line allows you to skirt codacy rules * [DUOS-1759] testing.... to see if eslint-disable-line allows you to skirt codacy rules * [DUOS-1752] disabled name, fixed default value not being set for checkboxes and radio components on the cloud use section * [DUOS-1752] updated form field id, updated routes to lock new dev routes behind env * [DUOS-1752] removed progress section, which meant updating the class ids, which ... isnt ideal. So updated the methods to use class instead of id, since the ids should not have to be futzed with and tied to the step they show up in! * [DUOS-1752] updated default value to undefined by default * [DUOS-1752] moved related code into same div * codacy * flipped direction of children * [DUOS-1752] codacy Co-authored-by: Gregory Rushton <rushtong@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
175 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters