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

Webui settings #3075

Merged
merged 37 commits into from
Dec 11, 2023
Merged

Webui settings #3075

merged 37 commits into from
Dec 11, 2023

Conversation

XandraMcC
Copy link
Contributor

No description provided.

XandraMcC and others added 30 commits November 27, 2023 23:25
…etail. Eventually available at HOST:POST/JobID
It's much easier to develop the UI using `npm run start` as changes
are live-reloaded, compared with doing a whole rebuild and restart of
Bacalhau.

By default the index page contains Go template tags that Bacalhau will
replace. Although the API client already ignores blank strings, we
still have to cope with the Go template tags being present and ignore them.
- Rounded edges on rows
- No internal borders
- Fuzzy outline
- Sidebar now uses Bacalhau colour scheme and gradient from bacalhau.org
- Sidebar buttons are now visible even when the sidebar is collapsed
- Now use a landscape SVG logo instead of a stacked PNG
- Settings button now at the bottom as per design
- Unify transition times across all sidebar expands/collapses
Comment on lines +13 to +21
// Nodes Table
showNodeId?: boolean;
showNodeName?: boolean;
showNodeType?: boolean;
showEnv?: boolean;
showInputs?: boolean;
showOutputs?: boolean;
showVersion?: boolean;
showAction?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We added customisable columns so that we could get more node details available in the table. Currently we're missing labels and capacity. Could you (add a new ticket to) add those in plz?

Comment on lines +31 to +39
const jobsOptions: { label: string; key: keyof TableSettings }[] = [
{ label: "Job ID", key: "showJobId" },
{ label: "Name", key: "showJobName" },
{ label: "Created", key: "showCreated" },
{ label: "Program", key: "showProgram" },
{ label: "Job Type", key: "showJobType" },
{ label: "Label", key: "showLabel" },
{ label: "Status", key: "showStatus" },
];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use a similar technique to avoid hard-coding the TableSettingsContext i.e. not have to list each config as a separate variable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants