feat(web): rework layout and quality of life (#12)
- App shell: top bar with connection state and Chat/Terminal toggles, per-column scrolling, sidebar only on the Notebooks page. - Hash routes (#/notebooks/<path>, #/hosts, #/settings) so reloads and links keep the open notebook and page. - Parameters sit beside the notebook on wide screens, collapsible, with missing-count summary and Reset; non-secret values are remembered per notebook in localStorage (secrets and undeclared names never stored). - Sticky notebook header with breadcrumbs, check summary and run-all; Ctrl/Cmd+S saves the Markdown draft. - Step cards show target, one deduplicated hint for missing values and copy feedback. - Shared Dialog, Menu and CopyButton components; notebook and host actions move into menus and modal dialogs. - Hosts page as a compact list; Settings split into cards with sign out for this browser.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* Authoring toolbar above the Markdown editor. */
|
||||
.authoring {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
@@ -5,30 +6,17 @@
|
||||
gap: 0.5rem;
|
||||
margin: 0.75rem 0;
|
||||
}
|
||||
.authoring label,
|
||||
.sidebar form label {
|
||||
.authoring label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
font-size: 12px;
|
||||
}
|
||||
.authoring form,
|
||||
.authoring details {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
.sidebar form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.sidebar input {
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
.sidebar nav details {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
.sidebar nav summary {
|
||||
cursor: pointer;
|
||||
padding: 0.5rem 0;
|
||||
.authoring input,
|
||||
.authoring select {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user