Unverified Commit 53f1c171 authored by Sergey Yakubov's avatar Sergey Yakubov Committed by GitHub
Browse files

Merge pull request #107 from nova-model/1-display-detailed-job-status

Add popup with status details to progress bar
parents 005cdf3e f78558df
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
### nova-trame, 0.21.0

* ProgressBar component now displays detailed job status (thanks to Sergey Yakubov).

### nova-trame, 0.20.5

* DataSelector should now properly display files at the root of the selected directory (thanks to John Duggan).
+789 −842

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ Changelog = "https://code.ornl.gov/ndip/public-packages/nova-trame/blob/main/CHA

[tool.poetry]
name = "nova-trame"
version = "0.20.5"
version = "0.21.0"
description = "A Python Package for injecting curated themes and custom components into Trame applications"
authors = ["Duggan, John <dugganjw@ornl.gov>"]
readme = "README.md"
+20 −0
Original line number Diff line number Diff line
@@ -45,6 +45,26 @@ class ProgressBar:
            v_show=(f"{self.id}.show_progress",),
        ):
            html.H5(v_text=f"{self.id}.details")
            with vuetify.VMenu(
                max_width=900,
                location="bottom",
                no_click_animation=True,
                close_on_content_click=False,
                open_on_hover=True,
                v_show=False,
            ):
                with vuetify.Template(v_slot_activator="{ props }"):
                    vuetify.VIcon(
                        "mdi-information",
                        v_show=f"{self.id}.show_full_details",
                        v_bind="props",
                        classes="ml-2",
                        color="primary",
                    )

                with vuetify.VCard(classes="bg-grey"):
                    vuetify.VCardText(f"{{{{ {self.id}.full_details }}}}", classes="display-linebreaks")

        with vuetify.VProgressLinear(
            height="25",
            model_value="100",
+7 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@ html {
    display: none !important;
}

.display-linebreaks {
    white-space: pre-wrap;
}

.nova-data-selector revo-grid {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem !important;
@@ -209,3 +213,6 @@ html {
        }
    }
}


.v-progress-linear__content { pointer-events: all !important; }
Loading