[rust] T6-2b: Rust CODE panel UX rework - the JS pane shape, Compile, and a Log split #40

Open
opened 2026-09-24 15:21:55 +02:00 by sleepy · 0 comments
Owner

The in-game RUST panel (PR #39) is wired but not usable for writing code: a status box + settings row + two side-by-side panes left the source editor a 340px column.

Rework (per sleepy, 2026-09-24, from the two CODE-pane screenshots):

  • mimic the JS CODE pane: a button row up top (Save As / Load) plus Compile / Run / Stop / Log / Reload
  • a Log button that splits the code area horizontally, bottom half = the run/build log
  • a big enough textarea to actually write code, like the JS pane
  • Save As made real: a new POST /save on al serve (write to the crate's src/main.rs without building) + a Load button (re-read the file)

Acceptance: gate green (Rust + node suites), live screenshot of the in-game panel (closed and Log-open), Save As proven against a real crate.

The in-game RUST panel (PR #39) is wired but not usable for writing code: a status box + settings row + two side-by-side panes left the source editor a 340px column. Rework (per sleepy, 2026-09-24, from the two CODE-pane screenshots): - mimic the JS CODE pane: a button row up top (Save As / Load) plus **Compile** / Run / Stop / **Log** / Reload - a Log button that splits the code area **horizontally**, bottom half = the run/build log - a big enough textarea to actually write code, like the JS pane - Save As made real: a new `POST /save` on `al serve` (write to the crate's src/main.rs without building) + a Load button (re-read the file) Acceptance: gate green (Rust + node suites), live screenshot of the in-game panel (closed and Log-open), Save As proven against a real crate.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sleepy/adventureland_mongodb#40
No description provided.