Skip to content

feat: Better Web GUI with bot controls#3250

Open
Mr-Tech-13 wants to merge 20 commits intojef:mainfrom
Mr-Tech-13:main
Open

feat: Better Web GUI with bot controls#3250
Mr-Tech-13 wants to merge 20 commits intojef:mainfrom
Mr-Tech-13:main

Conversation

@Mr-Tech-13
Copy link
Copy Markdown
Contributor

Description

  • replace the old web control page with a live matrix UI showing selected stores across the top and selected series on the left
  • add runtime status tracking so each store/series cell reflects idle, checking, out_of_stock, in_stock, error, or unsupported
  • add top-right filter menus for stores, series, and models, with changes applied to the running process
  • persist filter changes back to the active dotenv file instead of keeping them in memory only
  • add a settings gear modal to read and edit the full active dotenv file from the browser
  • add an in-page restart control so config changes can be reloaded without manually stopping the process
  • add configurable lookup concurrency with LOOKUP_THREADS
  • add randomized lookup ordering with RANDOMIZE_LOOKUP_ORDER
  • update matrix state behavior so the latest event wins and explicitly selected series render as idle instead of disappearing
  • update project documentation to describe the live dashboard, WEB_PORT usage, persisted filter changes, restart flow, LOOKUP_THREADS, and RANDOMIZE_LOOKUP_ORDER
  • clean up formatting and encoding regressions in touched files so lint and TypeScript compile succeed

Testing

  • verified that the new settings API updates LOOKUP_THREADS and RANDOMIZE_LOOKUP_ORDER in the running config
  • verified that the matrix row generation now uses explicitly selected series when SHOW_ONLY_SERIES is set
  • ran npm run lint
  • ran npm run compile
  • ran the bot and monitored logs while making changes to the config to ensure the bot is still functional

New dependencies

  • none

Mr-Tech-13 and others added 20 commits January 31, 2025 12:11
Update Selectors, add 5090/5080 FE
- replace the old web UI with a live matrix dashboard showing store x series status
- add runtime status tracking for idle/checking/in stock/out of stock/error cells
- expose matrix, settings, and control APIs from the web server
- add top-right filter menus for stores, series, and models
- persist filter changes back to the active dotenv file
- add a gear/settings editor for the full active dotenv file
- add in-page bot restart support without tearing down the web server
- add configurable lookup concurrency via LOOKUP_THREADS
- add randomized store/product ordering via RANDOMIZE_LOOKUP_ORDER
- update matrix behavior so the latest status event wins and selected series render as idle when appropriate
…orkflow

fix: resolve 32 lint errors blocking CI on codex/gui → main PR
### Description

- replace the old web control page with a live matrix UI showing selected stores across the top and selected series on the left
- add runtime status tracking so each store/series cell reflects `idle`, `checking`, `out_of_stock`, `in_stock`, `error`, or `unsupported`
- add top-right filter menus for stores, series, and models, with changes applied to the running process
- persist filter changes back to the active `dotenv` file instead of keeping them in memory only
- add a settings gear modal to read and edit the full active `dotenv` file from the browser
- add an in-page restart control so config changes can be reloaded without manually stopping the process
- add configurable lookup concurrency with `LOOKUP_THREADS`
- add randomized lookup ordering with `RANDOMIZE_LOOKUP_ORDER`
- update matrix state behavior so the latest event wins and explicitly selected series render as `idle` instead of disappearing
- update project documentation to describe the live dashboard, `WEB_PORT` usage, persisted filter changes, restart flow, `LOOKUP_THREADS`, and `RANDOMIZE_LOOKUP_ORDER`
- clean up formatting and encoding regressions in touched files so lint and TypeScript compile succeed

### Testing

- verified file-level integration by tracing the full flow between runtime control, web API, matrix state tracking, settings persistence, and UI actions
- verified that the new settings API updates `LOOKUP_THREADS` and `RANDOMIZE_LOOKUP_ORDER` in the running config
- verified that the matrix row generation now uses explicitly selected series when `SHOW_ONLY_SERIES` is set
- ran `npm run lint`
- ran `npm run compile`

### New dependencies

- none
@Mr-Tech-13 Mr-Tech-13 requested a review from jef as a code owner April 2, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants