-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Ability to Tag Out-of-scope Domains (#4613)
* add OUTSIDE tag to domain tag enums * add OUTSIDE tag to frontend * translations * filter exports to only include blocked domains * undo translations for merge * add outsideComment to create-domain * add outsideComment to update-domain * add outside comment select box to modal * fix OUTSIDE tag detection * add outsideComment to mutations * add disclaimer to outside domains * add outsideComment as reason in activity logs instead of claim value * move reason outside of target object in log * update tests * fix blocked conditional in domain export
- Loading branch information
1 parent
3d69224
commit a8dd2f9
Showing
18 changed files
with
218 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { GraphQLEnumType } from 'graphql' | ||
|
||
export const OutsideDomainCommentEnum = new GraphQLEnumType({ | ||
name: 'OutsideDomainCommentEnum', | ||
values: { | ||
INVESTMENT: { | ||
value: 'investment', | ||
description: 'Organization is invested in the outside domain.', | ||
}, | ||
OWNERSHIP: { | ||
value: 'ownership', | ||
description: 'Organization owns this domain, but it is outside the allowed scope.', | ||
}, | ||
OTHER: { | ||
value: 'other', | ||
description: 'Other reason.', | ||
}, | ||
}, | ||
description: 'Reason why an outside domain was added to the organization.', | ||
}) |
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.