-
Notifications
You must be signed in to change notification settings - Fork 12
feat: technique proposals page use tags #1601
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
Scott-James-Hurley
wants to merge
18
commits into
develop
Choose a base branch
from
technique_proposals_changes
base: develop
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
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7b5facb
adds filtering on tags for user officer derived roles
Scott-James-Hurley f659a48
technique proposals instrument filter only show options visible to de…
Scott-James-Hurley 01aaa15
only relevant techniques are shown in filter for derived user officer…
Scott-James-Hurley 91c0963
fixes develop merge conflicts
Scott-James-Hurley a47d107
populate default role config object
Scott-James-Hurley 6fe064c
adds create role type definition for e2e
Scott-James-Hurley 5cbbaf1
adds e2e tests
Scott-James-Hurley 7a3aa93
corrects element name in technique proposal e2e tests
Scott-James-Hurley d7cda6e
try to fix e2e test
Scott-James-Hurley fb11253
Merge branch 'develop' into technique_proposals_changes
Scott-James-Hurley 5108c36
technique proposals are not filtered by instrument by default
Scott-James-Hurley 99c22f9
Merge branch 'technique_proposals_changes' of https://github.com/User…
Scott-James-Hurley 5eac23e
corrects technical proposal tag e2e tests
Scott-James-Hurley c67aadd
Merge branch 'develop' into technique_proposals_changes
Scott-James-Hurley 53945ec
corrects e2e test case
Scott-James-Hurley 695dca2
Merge branch 'technique_proposals_changes' of https://github.com/User…
Scott-James-Hurley 3a39dfa
derived user officers can only assign technical proposals to instrume…
Scott-James-Hurley f61c765
Merge branch 'develop' into technique_proposals_changes
Scott-James-Hurley 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
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.
This might be a stupid question, but surely if .getInstrumentsByCallId( is called instead of .getInstruments( then your new filter on tag won't apply. Wouldn't this contradict the idea of the PR to limit what these users can see?
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.
From what I can see,
getInstrumentsByCallIdis not called when populating the instrument filter on the technique proposals page. The call to fetch instruments doesn't contain a call id so it will take the path startingline 47, notline 54. Happy to corrected if I'm mistaken, though.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.
I see you're right, but what about
.getInstrumentsMinimal({ callIds }) in useInstrumentsMinimalData.ts,
should that one also be using your filter?