diff --git a/CHANGELOG.md b/CHANGELOG.md index 598286af..6f211676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 timeseries metrics. - Display charts of resources (nodes/cores) status and jobs queue in dashboard page based on metrics from Prometheus (#275). + - Display hash near all jobs fields in job details page to generate link to + highlight specific field (#251). - conf: - Add `racksdb` > `infrastructure` parameter for the agent. - Add `metrics` > `enabled` parameter for the agent. diff --git a/frontend/src/components/job/JobFieldComment.vue b/frontend/src/components/job/JobFieldComment.vue new file mode 100644 index 00000000..9b19c7c3 --- /dev/null +++ b/frontend/src/components/job/JobFieldComment.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/frontend/src/components/job/JobFieldExitCode.vue b/frontend/src/components/job/JobFieldExitCode.vue new file mode 100644 index 00000000..8e5edd84 --- /dev/null +++ b/frontend/src/components/job/JobFieldExitCode.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/frontend/src/components/job/JobFieldRaw.vue b/frontend/src/components/job/JobFieldRaw.vue new file mode 100644 index 00000000..32496aaf --- /dev/null +++ b/frontend/src/components/job/JobFieldRaw.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/frontend/src/components/job/JobFieldTRES.vue b/frontend/src/components/job/JobFieldTRES.vue new file mode 100644 index 00000000..5da10dfd --- /dev/null +++ b/frontend/src/components/job/JobFieldTRES.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/frontend/src/composables/GatewayAPI.ts b/frontend/src/composables/GatewayAPI.ts index 51203bea..31ae7a4f 100644 --- a/frontend/src/composables/GatewayAPI.ts +++ b/frontend/src/composables/GatewayAPI.ts @@ -112,6 +112,12 @@ export interface ClusterJobStep { step: { id: { job_id: number; step_id: string }; name: string } } +export interface ClusterJobComment { + administrator: string + job: string + system: string +} + export interface ClusterJobExitCode { return_code: number status: string @@ -122,7 +128,7 @@ export interface ClusterIndividualJob { association: { account: string; cluster: string; partition: string; user: string } batch_flag: boolean command: string - comment: { administrator: string; job: string; system: string } + comment: ClusterJobComment cpus: ClusterOptionalNumber current_working_directory: string derived_exit_code: ClusterJobExitCode diff --git a/frontend/src/views/JobView.vue b/frontend/src/views/JobView.vue index d55a3069..6a4a0d59 100644 --- a/frontend/src/views/JobView.vue +++ b/frontend/src/views/JobView.vue @@ -7,7 +7,9 @@ -->