-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ojoi): Rejected state and improvements (#16574)
* Rejected application now go to appropriate state. * Added action cards to application, and users can directly create a new application after they submit one. * Updating signatures markup, adding links to go navigate to screen from last screen. * Fixed issues found during design review * New method that fetches case data for submitted applications. * Removed console log * Add hardcoded string to messages * Added more strings to messages --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a068b2c
commit 61e0faf
Showing
65 changed files
with
1,589 additions
and
425 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
22 changes: 22 additions & 0 deletions
22
...pi/domains/official-journal-of-iceland-application/src/models/applicationCase.response.ts
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,22 @@ | ||
import { Field, ObjectType } from '@nestjs/graphql' | ||
|
||
@ObjectType('OJOIAApplicationCaseResponse') | ||
export class OJOIAApplicationCaseResponse { | ||
@Field() | ||
department!: string | ||
|
||
@Field() | ||
type!: string | ||
|
||
@Field() | ||
status!: string | ||
|
||
@Field() | ||
communicationStatus!: string | ||
|
||
@Field(() => [String]) | ||
categories!: string[] | ||
|
||
@Field() | ||
html!: string | ||
} |
9 changes: 9 additions & 0 deletions
9
libs/api/domains/official-journal-of-iceland-application/src/models/id.input.ts
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,9 @@ | ||
import { Field, InputType, ID } from '@nestjs/graphql' | ||
|
||
@InputType('OJOIAIdInput', { | ||
description: 'Input dto that represents the id of the application', | ||
}) | ||
export class OJOIAIdInput { | ||
@Field(() => ID) | ||
id!: string | ||
} |
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.