Skip to content

Display filenames in Lumino tabs for log views #2337

@MetRonnie

Description

@MetRonnie

Follow-up to #2290 / #2023

Couple of options for improving the tab titles (not mutually exclusive)

we could use a symbol for the view type (saves a few chars)

use text-editor style path shortening to reduce tab title lengths as needed.

For the latter we already do something like this inside the log view for the full path (not sure how applicable it is for this):

cylc-ui/src/views/Log.vue

Lines 161 to 168 in 1867bfd

<div
data-cy="log-path"
class="ml-2 mr-1 d-flex text-medium-emphasis text-pre overflow-x-hidden"
>
<span>{{ results.host }}:</span>
<span class="flex-shrink-1 text-truncate">{{ parentPath }}</span>
<span>/{{ file }}</span>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    UX/UIUser experience and interface improvements

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions