Skip to content
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

feat: revise dialog status #1099

Merged
merged 9 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/schema/V1/schema.verified.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,10 @@ enum DialogStatus {
NEW
"Started. In a serial process, this is used to indicate that, for example, a form filling is ongoing."
IN_PROGRESS
"Equivalent to \"InProgress\", but will be used by the workspace\/frontend for display purposes."
SIGNING
"For processing by the service owner. In a serial process, this is used after a submission is made."
PROCESSING
"Used to indicate user-initiated dialogs not yet sent."
DRAFT
"Sent by the service owner. In a serial process, this is used after a submission is made."
SENT
"Used to indicate that the dialogue is in progress\/under work, but is in a state where the user must do something - for example, correct an error, or other conditions that hinder further processing."
REQUIRES_ATTENTION
"The dialogue was completed. This typically means that the dialogue is moved to a GUI archive or similar."
Expand Down
10 changes: 5 additions & 5 deletions docs/schema/V1/swagger.verified.json
Original file line number Diff line number Diff line change
Expand Up @@ -873,17 +873,17 @@
"enum": [
"New",
"InProgress",
"Signing",
"Processing",
"Draft",
"Sent",
"RequiresAttention",
"Completed"
],
"type": "string",
"x-enumNames": [
"New",
"InProgress",
"Signing",
"Processing",
"Draft",
"Sent",
"RequiresAttention",
"Completed"
]
Expand Down Expand Up @@ -6107,4 +6107,4 @@
"url": "https://altinn-dev-api.azure-api.net/dialogporten"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ public enum Values
InProgress = 2,

/// <summary>
/// Equivalent to "InProgress", but will be used by the workspace/frontend for display purposes.
/// Used to indicate user-initiated dialogs not yet sent.
/// </summary>
Signing = 3,
Draft = 3,

/// <summary>
/// For processing by the service owner. In a serial process, this is used after a submission is made.
/// Sent by the service owner. In a serial process, this is used after a submission is made.
/// </summary>
Processing = 4,
Sent = 4,

/// <summary>
/// Used to indicate that the dialogue is in progress/under work, but is in a state where the user must do something - for example, correct an error, or other conditions that hinder further processing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ public enum DialogStatus
[GraphQLDescription("Started. In a serial process, this is used to indicate that, for example, a form filling is ongoing.")]
InProgress = 2,

[GraphQLDescription("Equivalent to \"InProgress\", but will be used by the workspace/frontend for display purposes.")]
Signing = 3,
[GraphQLDescription("Used to indicate user-initiated dialogs not yet sent.")]
Draft = 3,

[GraphQLDescription("For processing by the service owner. In a serial process, this is used after a submission is made.")]
Processing = 4,
[GraphQLDescription("Sent by the service owner. In a serial process, this is used after a submission is made.")]
Sent = 4,

[GraphQLDescription("Used to indicate that the dialogue is in progress/under work, but is in a state where the user must do something - for example, correct an error, or other conditions that hinder further processing.")]
RequiresAttention = 5,
Expand Down
Loading
Loading