-
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
Open
kalilsn
wants to merge
28
commits into
main
Choose a base branch
from
kalilsn/form-switcher
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add form switcher #1160
Changes from all commits
Commits
Show all changes
28 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 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
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
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.
nice that we can get rid of this logic, i totally forgot it was there! good that we can just rely on the magic link/invite functionality now rather than this weird edge case