-
Notifications
You must be signed in to change notification settings - Fork 86
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
Webui settings #3075
Conversation
…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
// Nodes Table | ||
showNodeId?: boolean; | ||
showNodeName?: boolean; | ||
showNodeType?: boolean; | ||
showEnv?: boolean; | ||
showInputs?: boolean; | ||
showOutputs?: boolean; | ||
showVersion?: boolean; | ||
showAction?: boolean; |
There was a problem hiding this comment.
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?
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" }, | ||
]; |
There was a problem hiding this comment.
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?
No description provided.