mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-19 04:39:33 +01:00
feat(local-model): one frame for the window, honest figures, a table for the consent
The window is one frame for the whole flow: a fixed height on desktop, App Settings' boxed close button, the buttons in a foot of their own outside the part that scrolls, so a click never moves the next button away and nothing is cut off; the short screens are centred in it on desktop and sit above the buttons on a phone. The chooser lists the pick first and then the other models by download size, largest first, a column the reader can see. A pick that only just fits says "Best fit, tight". The memory figure is an estimate and says so once, in whole GB; its legend names the peak, and the installed line uses the same words beside what the model takes now, so the two figures are not read as a contradiction. The legend, the column headers and the foot's promise are set in --text-dim, the bar's track in --text-muted so its free part can be seen, and only the download figure keeps tabular figures. The consent screen is the download as a table: the chosen row, the runtime, the coding agent with its installer's command as the row's second line, the total in the strong weight, then where it goes in one line. The download bar means the model download alone and is gone once the model is in; the screen that ends an install shows "Start a session" alone; an error on an installed model is the headline with a grey dot; an error's first sentence is the headline; Remove is quiet everywhere but red in its own question. The no-recommendation reasons are one sentence each, and the untested note is in Codeman's voice. A refusal the server names is printed from its sentence. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
3c4bb91d6f
commit
77d29d4621
9 files changed
+777
-314
No files matched your search
+17
-13
@@ -1870,14 +1870,26 @@ html.mobile-init .file-browser-panel {
|
||||
}
|
||||
|
||||
.local-model-window > .lm-body {
|
||||
flex: 1;
|
||||
padding: 1rem 1rem calc(1rem + var(--safe-area-bottom));
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
/* The window fills the screen, so its actions sit at the bottom, under the thumb. */
|
||||
.lm-body > .lm-foot,
|
||||
.lm-body > .lm-remove {
|
||||
margin-top: auto;
|
||||
.local-model-window > .lm-foot-slot {
|
||||
padding: 0 1rem calc(1rem + var(--safe-area-bottom));
|
||||
}
|
||||
|
||||
/* The short screens (progress, paused, a failure, installed, nothing fits)
|
||||
hold a few lines. On a screen this tall they sit right above the buttons,
|
||||
where the eye and the thumb already are, not at the top with half a
|
||||
screen of nothing between the two. */
|
||||
.local-model-window > .lm-body:is(
|
||||
[data-screen='progress'],
|
||||
[data-screen='paused'],
|
||||
[data-screen='failed'],
|
||||
[data-screen='installed'],
|
||||
[data-screen='none']
|
||||
) {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
/* Ralph wizard responsive */
|
||||
@@ -4332,14 +4344,6 @@ html[data-session-list="sidebar"] .session-sidebar .session-tab .tab-close {
|
||||
grid-column: 3;
|
||||
}
|
||||
|
||||
.lm-model-static .lm-model-name {
|
||||
grid-column: 1 / span 2;
|
||||
}
|
||||
|
||||
.lm-model-static .lm-model-speed {
|
||||
grid-column: 1 / span 2;
|
||||
}
|
||||
|
||||
.lm-foot {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
||||
Reference in new issue
Block a user