-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use mudder to rank form elements and related pub values (#996)
* Add ranks to form elements * Add rank to pub values * Set rank for form elements with mudder when creating new forms * Use mudder rank instead of order in form builder * Fix test expectation * Sort pub values by rank * Fix bugs in related value ranking * Fix form builder sort bugs * Pass transaction to getPubType * Fix off by one error * Condense migrations * Set collation order at field level rather than on query * Improve form builder readability * Cleanup * Make keyboard interactions work on sortable form elements * Fix missing hover state on form elements delete/restore buttons * Add test for form element sorting * Set config.label on element creation for proper default label * Actually show label changes in form builder * Set default label correctly for relationship elements * Set correct input component for relationship fields on form creation * Set default config.label when adding a new element to a form * Make sure config.relationshipConfig.component is set for relationship form elements * Update test now that label updates are actually reflected in the form builder * Improve UX for adding relationship form element Clicking edit on a newly added (not saved to the db) field, then clicking cancel will no longer delete the element. That will only happen if you click cancel immediately after adding the new element. The save button in the form element panel will always be enabled when first configuring a new field input element. Previously the only way to add a new relationship field without making an unnecessary config edit was to click the x, since the Save button was disabled and the cancel button would remove the element from the form. * Prevent fallback to bad slug value when rendering unconfigured relationship field * Make sure mudder table in migrations is 0 indexed * chore: PR preview fixes (#1021) * chore: set log level=debug * chore: try removing healthcheck * chore: add healthcheck back * chore: attach false maybe * chore: really not sure * chore: try removing minio-init * chore: empty test commit * Sort get pubs result in js * Fix merge mistake * Add ranks to values in datacite test * Allow tabbing to form element buttons Co-authored-by: Thomas F. K. Jorna <[email protected]> * Fix arcadia seed * Remove unnecessary sorting * Sort pub values in the database * Remove rank from returned values * Update tests to ignore return order of pub values * Update sort test to account for new drag handle setup --------- Co-authored-by: Eric McDaniel <[email protected]> Co-authored-by: Thomas F. K. Jorna <[email protected]>
- Loading branch information
1 parent
da264fa
commit f94516b
Showing
35 changed files
with
698 additions
and
1,163 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
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
Oops, something went wrong.