-
Notifications
You must be signed in to change notification settings - Fork 7
Add form switcher #1160
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
Merged
+1,501
−935
Merged
Add form switcher #1160
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
824ba51
Add form switcher
kalilsn 00807da
Update capabilities
kalilsn 7160549
Use membership formIds to calculate permissions and list of forms in …
kalilsn bc44327
Restrict related pubs table by selected form
kalilsn 4995854
Fix bugs and add form switcher to create page
kalilsn 3e09375
Remove unused component
kalilsn c7b2919
Validate that updated fields are present in the form when creating/up…
kalilsn 810bff2
Fix relation overwrite bug
kalilsn 05289b7
Add form slug to pub update/create calls in tests
kalilsn b17ba4f
Add label for form switcher to edit form
kalilsn 48c237f
Remove old duplicate authorization check
kalilsn 723bf7b
Fix getAuthorizedUpdateForms query to select editPubWithForm capabili…
kalilsn 2aa371a
Use new capabilties functions on external form pages
kalilsn 89de7c9
Remove unnecessary admin check
kalilsn d352258
Always use highest role in non-usercan permissions checks
kalilsn e5b5b13
Try waiting for a second after saving form
kalilsn 94fb175
Wait longer
kalilsn a9a6bcd
Merge branch 'main' into kalilsn/form-switcher
kalilsn e10c343
Fix tests
kalilsn 23e5c0a
Remove timeout
kalilsn 804498e
Merge branch 'main' into kalilsn/form-switcher
kalilsn 607b6ab
Require form and pub pub_type agreement in pub memberships
kalilsn cbc4cdc
Add superadmin override to usercan
kalilsn 070d4b6
Merge branch 'main' into kalilsn/form-switcher
kalilsn 83dd0ba
Fix some more pubtype/form agreement issues in tests
kalilsn c53c390
Factor out member dialog fixture
kalilsn 9e4205f
Fix mock so usercan doesn't error in db tests
kalilsn f24140d
Fix logged in checks
kalilsn 39c80e6
Limit to authorized types in initial create dialog
kalilsn 26c9031
Make sure form slug is always set
kalilsn 6af3884
Remove autocache from base query (not sure why this helps)
kalilsn c073b9d
Merge branch 'main' into kalilsn/form-switcher
kalilsn fadc96e
Limit create forms by community
kalilsn c9af19e
feat: slightly different form switcher (#1246)
tefkah 3310e67
Merge branch 'main' into kalilsn/form-switcher
kalilsn 4513507
Use thomas's version of form switcher query management
kalilsn 42ff32a
Generate pub ids on the server side
kalilsn f369d34
Remove unused context
kalilsn 1684fdc
Fix param order
kalilsn 4c4efd2
Suppress kysely type error
kalilsn 96c9f13
Fix update pub action return value
kalilsn b6d7b67
Improve create pub button
kalilsn 70d6898
Merge branch 'main' into kalilsn/form-switcher
kalilsn 7849305
Fix type error
kalilsn 695883a
fix: fix e2e test not working
tefkah 761d756
chore: remove color picker
tefkah 395522b
fix: use minio instead of localhost?
tefkah c622f7f
fix: maybe forceably expose ports?
tefkah f30ae47
chore: add debug info to see where error happens
tefkah 8b6e90f
fix: try prev config again
tefkah 39869b0
fix: other version of minio?
tefkah 7e6c6df
fix: aa
tefkah 7ee38f3
chore: merge
tefkah 7df40a0
chore: merge + fix selector
tefkah 9a466da
fix: fix update test
tefkah 4b7c0bd
fix: point to minio again
tefkah 79d0ad0
fix: point to minio again
tefkah c1055b8
chore: merge
tefkah 5ef71b8
fix: add timeouts
tefkah db1ef44
fix: remove timeout
tefkah 6613ea8
fix: use different storage endpoints for server and for client
tefkah 7d5ebcc
fix: make reorder test more reliable by adding timeouts
tefkah cc5e839
fix: make reorder test more reliable by adding timeouts
tefkah 1f6ff4d
fix: stupid paste test
tefkah 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
79 changes: 0 additions & 79 deletions
79
core/app/c/(public)/[communitySlug]/public/forms/[formSlug]/fill/utils.ts
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.