System "Now running": project name + muted catalog + current step#180
Merged
Conversation
Before, each active-job row led with the catalog name (NGC 7380) and a
generic template id (calibrate_register_stack) underneath, which buried
the project the user actually named ("North America Nebula") and never
named the work currently happening.
Now the primary label is the project name. The catalog name sits next to
it in a muted mono style when it's distinct, and the sub-label shows the
display name of the in-flight step (Calibrate, Register, Stack...) by
looking up the current node's kind, falling back to the template id when
no step has started yet.
Plumbed through system_metrics: _job_progress became _job_step_state and
returns (progress, current_step_id, current_step_kind); the active-job
dict and SystemActiveJob TS type carry the two new fields.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
NGC 7380) now sits next to it as muted mono, but only when it differs from the project name.Calibrate,Register,Stack...) instead of the generic template id. Falls back to the template id when no step has started yet.system_metrics:_job_progressbecame_job_step_stateand now returns(progress, current_step_id, current_step_kind).SystemActiveJobcarries the two new fields.Test plan
/systemwith a running job: row leads with project name; catalog name renders muted next to it when distinct; sub-label shows the running step (e.g.Calibrate) and advances as steps complete.