-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use mudder to rank form elements and related pub values #996
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
7e96f51
Add ranks to form elements
kalilsn 6e01fce
Add rank to pub values
kalilsn 027853a
Set rank for form elements with mudder when creating new forms
kalilsn d2fe54b
Merge branch 'main' into kalilsn/sorting
kalilsn 68406d1
Use mudder rank instead of order in form builder
kalilsn 6571462
Fix test expectation
kalilsn f43c255
Sort pub values by rank
kalilsn 69f0f95
Fix bugs in related value ranking
kalilsn 6437e39
Merge branch 'main' into kalilsn/sorting
kalilsn ee6700e
Fix form builder sort bugs
kalilsn aaf0f0a
Pass transaction to getPubType
kalilsn 1e0850b
Fix off by one error
kalilsn f3b06bf
Condense migrations
kalilsn c021a34
Set collation order at field level rather than on query
kalilsn 0ff5ea0
Improve form builder readability
kalilsn 91c7dcf
Cleanup
kalilsn 0344bb2
Merge branch 'main' into kalilsn/sorting
kalilsn 31e4822
Make keyboard interactions work on sortable form elements
kalilsn 059d430
Fix missing hover state on form elements delete/restore buttons
kalilsn abfbdef
Add test for form element sorting
kalilsn 58ce93e
Set config.label on element creation for proper default label
kalilsn 9693c08
Actually show label changes in form builder
kalilsn ebe6b10
Set default label correctly for relationship elements
kalilsn 4c19037
Set correct input component for relationship fields on form creation
kalilsn 594105e
Set default config.label when adding a new element to a form
kalilsn c4d8159
Merge branch 'main' into kalilsn/sorting
kalilsn b8096b8
Make sure config.relationshipConfig.component is set for relationship…
kalilsn 4e486f7
Update test now that label updates are actually reflected in the form…
kalilsn 61d5372
Merge branch 'main' into kalilsn/sorting
kalilsn 5c0536a
Improve UX for adding relationship form element
kalilsn cfa81e2
Prevent fallback to bad slug value when rendering unconfigured relati…
kalilsn e19947e
Merge branch 'main' into kalilsn/sorting
kalilsn 536c87b
Merge branch 'main' into kalilsn/sorting
kalilsn ce13fed
Merge branch 'main' into kalilsn/sorting
kalilsn 72a7c8f
Make sure mudder table in migrations is 0 indexed
kalilsn f993aa5
Merge branch 'main' into kalilsn/sorting
kalilsn e8ff6b9
chore: PR preview fixes (#1021)
3mcd b3a3698
Sort get pubs result in js
kalilsn 328ef0d
Fix merge mistake
kalilsn 62fadeb
Add ranks to values in datacite test
kalilsn 585e6cc
Allow tabbing to form element buttons
kalilsn 9207292
Fix arcadia seed
kalilsn 2121ea8
Remove unnecessary sorting
kalilsn d5fedc6
Sort pub values in the database
kalilsn 8ba8fd6
Remove rank from returned values
kalilsn eb4aee6
Update tests to ignore return order of pub values
kalilsn 7f74fc6
Merge branch 'main' into kalilsn/sorting
kalilsn 1d0cda0
Update sort test to account for new drag handle setup
kalilsn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This generates a rank at the end of the form elements. It's not used right now since button elements aren't ordered in the form. But maybe the should/will be eventually? In any case, I did this because I wanted to make the rank column non-nullable. Should I use a constant string here instead of the mudder calculation?