Commit Graph
655 Commits
Author SHA1 Message Date
Arcum42 ba13db7f8a More refactoring. 2026-07-04 12:58:32 -07:00
Arcum42 9cc3038416 And further refactoring. 2026-07-04 10:57:11 -07:00
Arcum42 5ade7155ed Further refactoring. 2026-07-04 10:22:38 -07:00
Arcum42 327488e961 Working on llm_routes cleanup. 2026-07-04 09:42:24 -07:00
Arcum42 77b3e32358 Add context menus for sending to and from text nodes. 2026-07-01 21:48:36 -07:00
Arcum42 f3d21cacad Adding llm api information to the okf. 2026-07-01 20:34:13 -07:00
Arcum42 ee37afe5dd Add LLM wiki text into the okf mix. 2026-07-01 20:22:34 -07:00
Arcum42 276ad29df2 LLM Response UI fixes. 2026-07-01 20:16:26 -07:00
Arcum42 7bb390f0d0 Lots of node documentation updates. (All the old documentation for nodes was pretty bad, so I'm replacing it with documentation generated from node descriptions. 2026-07-01 18:01:29 -07:00
Arcum42 d1999d5b1d Add a place for tools, and some information on using external files from js. 2026-07-01 14:28:38 -07:00
Arcum42 2f812d9657 Moving more docs over to the okf. 2026-07-01 14:07:26 -07:00
Arcum42 20829b7c5e Some tests hanging around that weren't added. I'll go through these properly later. 2026-07-01 13:54:04 -07:00
Arcum42 38669833c8 More ref docs work. 2026-07-01 13:51:56 -07:00
Arcum42 b4740cb968 Updating reference docs. 2026-07-01 12:20:05 -07:00
Arcum42 0cfcd6e1d0 Further documentation changes. 2026-07-01 12:10:51 -07:00
Arcum42 8dcfea0602 Documentation updates. 2026-07-01 12:01:23 -07:00
Arcum42 fa2fe29ce6 Working on the documentation and putting a lot in an okf bundle. Mostly created by AI at the moment. I'm likely to be making manual changes to it later. 2026-07-01 10:31:47 -07:00
Arcum42 0edcef567a Cleanup. 2026-07-01 08:59:43 -07:00
Arcum42 f359341db9 More fixes to refactor. 2026-07-01 08:44:49 -07:00
Arcum42 1e8803b8e6 The generation section was not readded in the refactor. 2026-07-01 08:17:48 -07:00
Arcum42 7cc1bf31f2 Add a scan button to the edit model information dialog. 2026-06-28 11:21:33 -07:00
Arcum42 6f73580734 Disabled the test tab. 2026-06-27 12:23:41 -07:00
Arcum42 42140d92e1 Fix up history after event handling refactor. 2026-06-21 21:25:01 -07:00
Arcum42 fecc2e725c fix(llmtab): wrap History event handlers in proper addEventListener callbacks
All 6 History section handler calls were being invoked directly on page load
instead of waiting for user interaction. Wrapped each one in an appropriate
addEventListener callback (click/input/change) matching the pattern used by
all other delegated modules (Provider, Preset, Template, Vision).

This fixes the 'Failed to initialize LLM tab' error and prevents
spurious export/clear actions on sidebar open.
2026-06-21 21:19:48 -07:00
Arcum42 269dda7ee8 refactor(llmtab): extract event handlers into modular files (5 modules, 23 exports)
- Extract Provider & Model Events → llmProviderEvents.js (110 lines, 3 handlers)
- Extract Preset Events → llmPresetEvents.js (58 lines, 3 handlers)
- Extract Template & Extras Events → llmTemplateEvents.js (59 lines, 4 handlers)
- Extract Vision/Image Events → llmVisionEvents.js (176 lines, 7 handlers)
- Extract History/SkipSave events → llmHistoryEvents.js (214 lines, 6 handlers)

llmEventHandlers.js reduced from 1300→1049 lines (-251/-24KB).
All delegated via import * as module pattern for clean dependency injection.
No circular dependencies - all modules receive their deps as function parameters.
2026-06-21 20:37:02 -07:00
Shanoah Alkire 4361f9306b Remove unused code. 2026-06-21 07:16:18 -07:00
Shanoah Alkire 2de473fab6 More cleanup. 2026-06-21 06:51:52 -07:00
Shanoah Alkire c60ff8a56e Phase 1 of cleanup. 2026-06-20 21:09:30 -07:00
Shanoah Alkire c5a801a772 Yet more work on moving html to files. llm, this time. 2026-06-05 21:32:29 -07:00
Shanoah Alkire 9128ae22d8 Yet more work on moving html to files. 2026-06-05 20:55:48 -07:00
Shanoah Alkire 47fff30ab7 More work on moving html to files. 2026-06-05 19:59:14 -07:00
Shanoah Alkire 6fbc702585 Combination of some work on the llm code, and work on pulling out inline html. Meant to commit separately, but rather forgot I hadn't committed the llm changes yet. 2026-06-05 19:36:56 -07:00
Shanoah Alkire 3d15042f7a Work on minimizing spam. 2026-06-05 01:33:02 -07:00
Shanoah Alkire d218081775 Move to external css in the sidebar. 2026-05-29 12:04:53 -07:00
Shanoah Alkire 146aa837cf Reports to css. 2026-05-25 19:07:54 -07:00
Shanoah Alkire fdf82296f2 Prompt builder css. 2026-05-25 18:48:04 -07:00
Shanoah Alkire 36735bc707 Split css files. 2026-05-25 18:27:28 -07:00
Shanoah Alkire 69a1061ad4 Move gallery css. 2026-05-25 18:11:37 -07:00
Shanoah Alkire cf553d9917 Finish dialog css. 2026-05-25 17:42:01 -07:00
Shanoah Alkire 349208f94c Move dialog css over. 2026-05-25 17:27:45 -07:00
Shanoah Alkire 3650b3aefe More work on components. 2026-05-25 16:50:38 -07:00
Shanoah Alkire ffd9c0ca35 Adjust alignment. 2026-05-25 16:36:45 -07:00
Shanoah Alkire c9b7a07506 Moved a lot of the css in the components folder to a css file. 2026-05-25 15:59:51 -07:00
Shanoah Alkire 0885ac6df1 Test moving css from js to actual css files. 2026-05-25 11:13:22 -07:00
Shanoah Alkire 3deeff6133 Assorted work on the llm code, probably broken at the moment. In the middle of a bunch of revamping. Also fixed refresh bug in the gallery. 2026-05-25 10:17:05 -07:00
Shanoah Alkire c13739b2e2 Dubious quality refactoring. Needs testing. 2026-05-17 18:27:56 -07:00
Shanoah Alkire aff54f5323 Do the same for capabilities. 2026-05-17 17:21:42 -07:00
Shanoah Alkire a22b7d8769 Move requests to its own file. 2026-05-17 16:03:30 -07:00
Shanoah Alkire fe03253d14 Added my own wrapper code and told Copilot to do the same for other providers. Working on cleaning up Copilot's code. 2026-05-17 15:57:31 -07:00
Shanoah Alkire 48913f362f Moving provider files. 2026-05-17 04:55:04 -07:00