Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cylc hub sort ordering doesn't work for all columns #577

Closed
ColemanTom opened this issue Apr 3, 2024 · 2 comments
Closed

Cylc hub sort ordering doesn't work for all columns #577

ColemanTom opened this issue Apr 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ColemanTom
Copy link

NOTE: From what I can see, the below report is using cylc-uiserver-base=1.4.3 and cylc-uiserver-hub-base=1.4.3 (latest versions) and cylc-ui=2.3.0.

Description

I have accessed the Cylc Hub via the UI-server, and the default listing shows this information in the Last activity column:

image

If I click on the sorting for that column, I get:

image

Click again I get zero changes,

image

Click again and I get the original order

image

I cannot figure out how it is sorting. It doesn't seem to be by the numeric number, nor as a datetime offset. For example, in the initial/final view, I can see 9 days, 11 minutes, 9 days. In the middle views, I can see Never, 5 days, Never.

Expected Behaviour

I would personally expect a datetime offset sort order.

@ColemanTom ColemanTom added the bug Something isn't working label Apr 3, 2024
@hjoliver
Copy link
Member

hjoliver commented Apr 3, 2024

Looks like this problem: jupyterhub/jupyterhub#3816

Merged to JupyterHub main branch recently, but not released yet.

@oliver-sanders
Copy link
Member

oliver-sanders commented Apr 4, 2024

Yep, the page you are looking at comes from Jupyter Hub, not Cylc.

Note, that "Cylc Hub" is really just a configuration of Jupyter Hub that is configured to launch the Cylc UI Server by default. We expose this behind the Cylc CLI to make it more approachable to Cylc users, but it's just Jupyter Hub really.

In the future we add some Jupyter Hub services to the Cylc Hub configuration, but it will always be possible to deploy the Cylc UI Server via vanilla Jupyter Hub by tweaking a couple of configurations as necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants