Skip to content

Dashboard Logo Cleaning #438

Description

@ax3l

Follow-up to #434

  1. dashboard/model_manager.py: the AmSC logo image is duplicated once inside a link and once outside it. A tiny helper or single image with conditional link behavior would make this section smaller.

  2. dashboard/model_manager.py: AMSC_MLFLOW_MODEL_URL_EXPR duplicates model_type_dict as a Vue ternary. Build the model URL server-side with build_mlflow_model_name() and store it in state, then bind href directly. That removes drift risk and cuts down the expression.

Main advantage: The model URL now has one source of truth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dashboardChanges related to the dashboard

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions