aiidalab / aiidalab/aiidalab-qe

👌 IMPROVE: Clean up top-level UI

未关闭
#56 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
compound dependencies/widgets-base enhancement priority/nice-to-have topic/ui
主要语言
Python
星标
33
派生
25
平均合并
6 小时 7 分钟
30 天内合并 PR
8

描述

I have some changes I would suggest to the top level UI:

* Remove the "Steps" buttons. You can just click on the tabs now, so I assume these are still here for some legacy reason?
* To make sure users can still start new workflows (and make this somewhat more intuitive), I'd add a nice big `button_style` "info" button to the line that contains the dropdown to select the workflow. The line should become:

Select workflow: [DROPDOWN] [REFRESH_BUTTON] [ Start new worfklow! ]
* Would be great it the dropdown text where you select your workflow would use a monospace font, but not sure if that's possible? I'd maybe also reformat it a bit, e.g.:

PK = {wc.pk} {some nice spacing} - {structure formula} {state} {last adjusted time}

I actually tried doing this, but got frustrated looking for how to change the font for the `DropDown`.

So then below this line you would just have the Step tabs. One additional feature that would be _super_ nice for using this in a real production environment is adding filters to the work chains you have in the dropdown. I think this already works by querying, so this should be reasonable easy to do. I'd add filters for:

* Structure formula elements, maybe separated with a dash? `-`
* State. Or just a checkbox with "Finished"
* Last adjusted time.

Since we don't want to overwhelm new users, we should hide this UI and have either a "Apply filter" button that then shows it, or maybe a dropdown tab or something.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。