Commit Graph

43 Commits

Author SHA1 Message Date
muehe
41d720c1d0 kiosk: pi-friendly compact mode + chromium 72 fallbacks
- Detect kiosk mode (localhost / ?kiosk=1) and add html.kiosk-mode
- Suppress 3D path-viewer in kiosk mode (Pi 3B too slow)
- Compact 1366x768 layout: 56px header, smaller jog grid, 4-col macros
  2-col status, 540px jog column
- Flex-gap fallbacks for Chromium 72 (header tabs, sys-btn, state-badge,
  ktab, sp-row, etc.) using "> * + *" margin-* rules
- Path-viewer: opaque WebGL canvas, ResizeObserver-gated render loop,
  no first-frame size flash
- Path-viewer renderer cleared properly on component teardown
- W axis row: W- | W+ | Probe XYZ | Probe Z (was W-|HomeW|W+|Probe)
- Running panel only for actual program execution (not jogging)
- Settings sectioned (Display+Units / Probing / G-code+Motion)
- Routed component now keep-alive across tab swaps
- FA4 -> FA6 webfonts
2026-05-01 11:05:39 +02:00
32f3aca368 UX redesign V09: replace shell, split Program/Console/Settings
Implements the V09 mock end-to-end (per plans/2026-04-30_ux_redesign.md):

Top shell
- index.pug rebuilt around .app-shell with a slim 96px header.
- Underline-ribbon tab bar (Control / Program / Console / Settings)
  replaces the old side menu and the inline #tab1..#tab4 system.
- Single 'All systems' pill collapses the legacy WiFi/Camera/Rotary/
  IP/Version chip-soup into one popover (sys-popover) anchored to the
  header; rotary toggle, camera feed and shutdown live there.
- Octagonal 88x88px STOP button wraps the existing <estop> SVG; STATE
  pill with pulse-dot honors prefers-reduced-motion.

Routing
- app.js parse_hash maps every existing hash:
    #control                       -> Control
    #program / #program:auto       -> Program
    #console / #console:mdi|messages|indicators -> Console
    #settings, #admin-general,
    #admin-network, #motor:N, #tool, #io, #macros, #help,
    #cheat-sheet                  -> Settings (rail picks inner)
- All deep links are preserved.

Control panel (control-view.pug + .js)
- 720px jog grid + 4-axis DRO + 4 KPI cards + 8-macro row.
- Jog tiles use V09 flat slate (#3f4b63) with diagonal helpers and
  a ghost row for XY/Z origin shortcuts.
- Per-axis Settings/Set-zero/Home buttons grow to 72x72px.
- Status strip cards: State / Velocity-Feed / Spindle / Job. Tapping
  the Spindle card opens the new override-drawer with feed + spindle
  range inputs (resolved decision in plans/...).
- Macro row binds to state.macros.slice(0, 8); >8 lives in Settings.
- Drops the old <table> control-buttons, .info, .override and .tabs
  blocks entirely.

Program panel (program-view.pug + .js)
- Extracts the Auto bar, file selectors, gcode-viewer and path-viewer
  out of control-view.
- Action buttons (RUN/STOP/UPLOAD-FOLDER/UPLOAD-FILE/DOWNLOAD-FILE/
  DELETE) at 84px with explicit color affordances.
- Reuses control-view's existing methods via the new program-mixin.

Console panel (console-view.pug + .js)
- Three sub-tabs: MDI / Messages / Indicators. Sub-tab persists in the
  URL fragment (#console:messages etc.).
- MDI: terminal-style prompt + SEND, plus an 8-wide on-screen keypad
  (G0/G1/G2/G3/G28/G92/M3/M5 + axis letters + CLEAR/SEND).
- Messages: pulls from .messages_log (mirrored from
  state.messages); badge in the header tab counts unread.
- Indicators: mounts the existing <indicators> component.

Settings shell (settings-shell.pug + .js)
- New left rail navigator listing Display, Network, General/Firmware,
  Spindle&Tool, IO, Motors 0..3, Macros, Cheat Sheet, Help.
- Inner area mounts the existing settings family templates via an
  explicit v-if cascade (avoiding a Vue 1 :is reactivity quirk).
- Shutdown / Save buttons relocated from the dropped side menu.

JS plumbing
- main.js: Vue.config.async = false to keep dependent watchers in
  sync when reactive data is mutated outside Vue's normal event loop
  (e.g. from a hashchange listener).
- program-mixin.js extracted so control-view.js no longer carries the
  file/macro/gcode methods that are now Program-only.
- control-view.js trimmed to jog/DRO/probe/home logic.
- console-view.js / settings-shell-view.js use a hashchange listener
  + local data props because Vue 1 cannot reliably observe
  .sub_tab from a child component.

Stylus rewrite
- Removes the old .header (140px), .nav-header, .brand subtree, #menu,
  #main, .control-view block, .info, .override, .toolbar, .macros-div,
  .macros-button, the .tabs > input radio-tab system and the .control-
  view #control media-query overrides. None of these are referenced
  any more.
- Adds V09 tokens (jog/macro palette + accent + line/card colors) at
  the top, the new shell rules, .ktab / .sys-btn / .state-badge /
  .estop chrome, the .control-page grid, status strip + override
  drawer, .program-page action / file bars and program body,
  .console-page MDI keypad / messages / indicators panes, and the
  .settings-shell rail.
- Adds a 1820px breakpoint that stacks the right column under the jog
  on smaller portable monitors.

Hard cut: no config.ui.layout flag, the old shell is removed in this
single commit. side-menu.css is no longer included from index.pug.

Tested locally with agent-browser (1920x1080) on every top tab and
every settings sub-route; routing, active tab highlighting and inner
view selection all work without a controller connection.
2026-04-30 21:27:00 +02:00
sanjayk03-dev
1b18f2e4ba fixed cond 2025-09-21 00:02:29 +05:30
sanjayk03-dev
6889828e7a easy adapter UI 2025-09-20 23:47:42 +05:30
sanjayk03-dev
800d606fc9 v1.6.0 release 2025-01-10 22:34:38 +05:30
sanjayk03-dev
11d129c4f8 Lebel Rotary Button 2024-12-01 18:45:33 +05:30
sanjayk03-dev
4d37731cbb dialog to switch between rotary modes 2024-11-29 13:13:14 +05:30
sanjayk03-dev
cbf6fc6f0d bug fix, conditional rendering of rotary control buttons 2024-11-04 19:17:15 +05:30
sanjayk03-dev
91374c3e06 change icons size 2024-10-14 12:59:23 +05:30
sanjayk03-dev
7c7faf3d92 disabling button 2024-10-14 12:49:41 +05:30
sanjayk03-dev
57c2159b20 ui fix 2024-10-14 12:34:42 +05:30
sanjayk03-dev
d9186358f6 rotary-button style 2024-10-14 12:21:30 +05:30
sanjayk03-dev
eb08613530 rotary button style 2024-10-14 11:50:25 +05:30
sanjayk03-dev
59fef72a84 changed from 1.5.0 to 1.6.0, added rotary feature 2024-10-13 23:32:26 +05:30
sanjayk03-dev
5cbc9ae780 renamed to beta 3 2024-09-19 11:23:44 +05:30
sanjayk03-dev
7556234188 remove flatpickr and changed hr and minutes 2024-08-27 21:42:30 +05:30
sanjayk03-dev
8db5d69861 flatpickr for time input 2024-08-27 14:40:42 +05:30
sanjayk03-dev
c9b4ed4914 time date change , Alpha 2 2024-08-26 23:13:55 +05:30
sanjayk03-dev
d3443e1724 renamed to beta 2024-08-13 09:38:31 +05:30
sanjayk03-dev
54ce6c8185 v.1.4.1 to v.1.4.2 Alpha 1 2024-07-24 20:19:12 +05:30
sanjayk03-dev
fc8579e49f v1.4.1 release 2024-07-19 10:57:19 +05:30
sanjayk03-dev
e638d40cf6 changed named to v1.4.1 alpha 1 2024-06-07 03:39:38 +05:30
sanjayk03-dev
0f3b241c1f alpha 7 2024-05-31 02:01:30 +05:30
sanjayk03-dev
a4d76bafd9 v1.4.0 reslease 2024-05-12 15:02:25 +05:30
sanjayk03-dev
e1853a82be using webp 2024-05-04 03:25:55 +05:30
sanjayk03-dev
a32f2cd317 alpha 5 2024-04-10 09:37:22 +05:30
sanjayk03-dev
d55b32cd28 using state for files listing 2024-04-03 14:58:19 +05:30
sanjayk03-dev
806041b771 renamed to alpha3 2024-02-26 22:40:18 +05:30
sanjayk03-dev
8df3329574 renamed to alpha 2 2024-02-22 10:17:34 +05:30
sanjayk03-dev
be1aa15b4a corrected version name, added alert box, trying defaults name 2024-01-09 23:46:58 +05:30
sanjayk03-dev
dacfd16184 added pycharm module, chagned package version to 1.4.0 alph1, added 8 macros button 2024-01-09 22:38:35 +05:30
sanjayk03-dev
4927933577 Added Macros files 2023-12-23 00:51:08 +05:30
saifullah-N
301c409aeb pug fix 2022-12-24 14:23:09 +05:30
saifullah-N
3672f4c375 pug fix 2022-12-21 16:58:55 +05:30
saifullah-N
e93296ef00 v1.0.9 changes from 1.1.1 2022-12-21 16:26:22 +05:30
David Carley
3710a3e1f6 Fixed a disconnect but, and unhoming on failed probe 2021-10-21 19:25:27 -07:00
David Carley
e5b5106f18 Improved "Firmware upgrading" message. 2021-10-06 00:02:32 -07:00
David Carley
bdcc5a56df Removed password from firmware updates 2021-10-05 23:58:30 -07:00
David Carley
432f5251cf Enable downgrades to old firmware versions 2021-03-15 18:25:22 -07:00
David Carley
33a1fecd87 Increased icon and text sizes on control buttons 2021-03-05 21:30:43 -08:00
OneFinityCNC
a0ae0a4e30 1.0.6 Firmware release. More Github cleanup. 2021-02-28 00:58:19 -05:00
OneFinityCNC
47af000045 Verison 1.0.5 2020-10-15 23:17:21 -04:00
OneFinityCNC
24dfa6c64d Verison 1.0.3 Release
Based on Buildbotics 0.4.14
2020-08-27 23:20:27 -04:00