Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
0c71c53a
Commit
0c71c53a
authored
May 06, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: widen studio control panels
parent
a4b2505c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
chat.html
codai/admin/templates/chat.html
+10
-1
test_studio_composed_surfaces.py
tests/test_studio_composed_surfaces.py
+11
-3
No files found.
codai/admin/templates/chat.html
View file @
0c71c53a
...
...
@@ -107,7 +107,7 @@
/* ── Shared panel helpers ─────────────────────────────────────── */
.gen-wrap
{
flex
:
1
;
display
:
flex
;
overflow
:
hidden
;
}
.gen-ctrl
{
width
:
29
0px
;
padding
:
.9rem
1rem
;
overflow-y
:
auto
;
border-right
:
1px
solid
var
(
--border
);
.gen-ctrl
{
width
:
min
(
380px
,
36vw
);
min-width
:
340px
;
max-width
:
42
0px
;
padding
:
.9rem
1rem
;
overflow-y
:
auto
;
border-right
:
1px
solid
var
(
--border
);
background
:
var
(
--surface-1
);
display
:
flex
;
flex-direction
:
column
;
gap
:
.65rem
;
flex-shrink
:
0
;
}
.gen-out
{
flex
:
1
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
overflow
:
auto
;
padding
:
1.2rem
;
background
:
var
(
--surface-0
);
}
...
...
@@ -141,6 +141,15 @@
/* download link styled as button */
a
.dl
{
display
:
inline-block
;
margin-top
:
.4rem
;
}
@media
(
max-width
:
900px
)
{
.gen-ctrl
{
width
:
min
(
360px
,
44vw
);
min-width
:
280px
;
}
}
@media
(
max-width
:
720px
)
{
.gen-wrap
{
flex-direction
:
column
;
}
.gen-ctrl
{
width
:
100%
;
min-width
:
0
;
max-width
:
none
;
border-right
:
none
;
border-bottom
:
1px
solid
var
(
--border
);
}
}
/* ── Capability cards ─────────────────────────────────────────── */
.cap-card
{
border
:
1px
solid
var
(
--border
);
background
:
var
(
--surface-1
);
border-radius
:
8px
;
...
...
tests/test_studio_composed_surfaces.py
View file @
0c71c53a
...
...
@@ -309,7 +309,7 @@ def test_admin_status_includes_recent_activity(studio_client, monkeypatch):
def
test_chat_template_wires_preview_shells_for_new_runnable_panels
():
template_path
=
"/storage/coderai/codai/admin/templates/chat.html"
template_path
=
"/storage/coderai/
.worktrees/web-admin-polish/
codai/admin/templates/chat.html"
text
=
open
(
template_path
,
"r"
,
encoding
=
"utf-8"
)
.
read
()
assert
"id=
\"
at-preview
\"
"
in
text
...
...
@@ -329,7 +329,7 @@ def test_chat_template_wires_preview_shells_for_new_runnable_panels():
def
test_chat_template_marks_full_quality_audio_panels_with_runtime_backend_metadata
():
template_path
=
"/storage/coderai/codai/admin/templates/chat.html"
template_path
=
"/storage/coderai/
.worktrees/web-admin-polish/
codai/admin/templates/chat.html"
text
=
open
(
template_path
,
"r"
,
encoding
=
"utf-8"
)
.
read
()
assert
"audioBackendHealth"
in
text
...
...
@@ -340,7 +340,7 @@ def test_chat_template_marks_full_quality_audio_panels_with_runtime_backend_meta
def
test_chat_template_exposes_ml_preview_and_artifact_markers
():
template_path
=
"/storage/coderai/codai/admin/templates/chat.html"
template_path
=
"/storage/coderai/
.worktrees/web-admin-polish/
codai/admin/templates/chat.html"
text
=
open
(
template_path
,
"r"
,
encoding
=
"utf-8"
)
.
read
()
assert
"buildStemPreviewData"
in
text
...
...
@@ -349,3 +349,11 @@ def test_chat_template_exposes_ml_preview_and_artifact_markers():
assert
"pushArtifactHistory({"
in
text
assert
"backend?.model"
in
text
assert
"translated_lyrics"
in
text
def
test_studio_generation_panel_uses_wider_control_column
():
template_path
=
"/storage/coderai/.worktrees/web-admin-polish/codai/admin/templates/chat.html"
text
=
open
(
template_path
,
"r"
,
encoding
=
"utf-8"
)
.
read
()
assert
".gen-ctrl { width:min(380px,36vw); min-width:340px; max-width:420px;"
in
text
assert
"@media (max-width: 720px) {"
in
text
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment