Austin Mroz
95cec85c3f
Move css to style.css
...
Since the the css is now static the clutter of an added style element is
no longer needed
2024-10-15 13:41:58 -05:00
Austin Mroz
bc6630742b
Move render callback to trigger on node change
2024-10-15 13:41:58 -05:00
Austin Mroz
3b679f1194
Return styling to body, streamline tests
...
Styling was moved to the sidebar element for better organization, but
this caused errors when the new menu was not in use.
2024-10-15 13:41:58 -05:00
Austin Mroz
52933e13f5
Properly handle theme with css variables
2024-10-15 13:41:58 -05:00
Austin Mroz
44f900ef56
Typing fixes, initial tests
2024-10-15 13:41:58 -05:00
Austin Mroz
7a5d39f41f
Temporarily highlight item doc item on selection
2024-10-15 13:41:58 -05:00
Austin Mroz
1d0ae76f8c
Connect hover functionality, scroll fixes
...
Basic connecting for using the existing documentation hover code to
select an item from the active help pane.
Scrolling on selection will now properly perform the minium required
scroll to place the element on screen
2024-10-15 13:41:58 -05:00
Austin Mroz
a8ac7296c2
Theming, pruning, and optional callbacks
...
Basic styling has been added to the display of documentation for nodes
using the existing tooltip system. This will need another pass to ensure
that style updates immediately when the light/dark toggle is hit instead
of requiring a change of node.
VHS specific namings have been replaced and the code for determining
what the mouse is hovering over has been removed. The existing tooltip
implementation is cleaner and will need to be integrated anyways so
tooltips are temporarily suppressed for the node actively being
displayed in the documentation sidebar.
Optional callbacks have been added for the initial sidebar display and a
user selecting a node element by hovering over it. While selection is
not yet implemented, this should cover any developer needs from more
involved collapsables to automated seeking to video timestamps.
2024-10-15 13:41:58 -05:00
Austin Mroz
4aa04d1419
type implementation for detailed descriptions
...
Previously, description was a simple string, but supporting more complex
descriptions requires that new data be passed.
The type of a nodes description has been updated to be either a simple
string as before, or an array consisting of short description string, an
html string for the full description, and a placeholder dict for future
usage.
Definitions and usage points for description have been updated to
accommodate this change
2024-10-15 13:41:58 -05:00
Austin Mroz
8160ca0342
Formatting improvements,
...
The formatting of ndoes using the existing standardized tooltips has
been improved.
Experiemental work for assisting nodes with display of more detailed
descriptions
2024-10-15 13:41:58 -05:00
Austin Mroz
da936d69b6
Remove unused styling code, unwrap
2024-10-15 13:41:58 -05:00
Austin Mroz
7eaa54fe3f
Initial sidebar documentation implementation
2024-10-15 13:41:58 -05:00
Yoland Yan
7239e94092
Mini lang ( #1245 )
2024-10-13 09:56:58 +02:00
Chenlei Hu
c1c990e6f3
Properly show empty folder in model sidebar tab ( #1242 )
...
* Properly show empty folder in model sidebar tab
* nit
* nit
2024-10-12 17:02:58 -04:00
Chenlei Hu
a890756868
Enable ts-strict for modelStore.ts ( #1241 )
2024-10-12 16:38:27 -04:00
Chenlei Hu
015ee2df15
Revert "Enable ts-strict for colorUtil.ts ( #1239 )" ( #1240 )
...
This reverts commit c3b2697568 .
2024-10-12 15:58:43 -04:00
Chenlei Hu
c3b2697568
Enable ts-strict for colorUtil.ts ( #1239 )
2024-10-12 14:11:32 -04:00
Chenlei Hu
dfcabd2834
Enable ts-strict for treeUtil.ts ( #1238 )
2024-10-12 14:10:08 -04:00
Chenlei Hu
634196cbd6
Enable ts-strict for dialogStore.ts ( #1236 )
2024-10-12 12:17:55 -04:00
Chenlei Hu
5611e90fda
Add ts-strict-ignore plugin ( #1235 )
...
* Add ts-strict-ignore plugin
* nit
* Add to typecheck script
2024-10-12 11:56:49 -04:00
Chenlei Hu
c2377b62ac
Fix sidebar tab bg color ( #1229 )
...
* Fix node library sidebar style
* Fix styles
* nit
2024-10-11 15:04:29 -04:00
Chenlei Hu
f328d4cd81
Hide system scrollbar for queue sidebar tab ( #1227 )
2024-10-11 13:59:51 -04:00
Chenlei Hu
fbc1482b90
Use scrollpanel in sidebar template ( #1226 )
...
* Use scrollpanel in sidebar template
* Migrate
* nit
2024-10-11 13:41:41 -04:00
AustinMroz
014c3f3172
Fix load workflow with converted widget ( #1222 )
...
f74973 introduced a regression where a node which has had an input
added, will clobber a converted input of in a workflow created before
the input was added.
The prior behaviour was also incorrect (the new input would not exist on
the node), but would often be runnable.
Keeping the position of the converted widget and adding the new input to
the end is an unfortunate compromise. Doing it the other way around
breaks primitive nodes
2024-10-11 12:20:03 -04:00
Chenlei Hu
419009424b
Handle missing extraPngInfo field in queue ( #1223 )
2024-10-11 12:16:35 -04:00
Chenlei Hu
f599c9bcb8
Fix format ( #1224 )
2024-10-11 12:16:17 -04:00
Chenlei Hu
6c696cddb9
Fix dialog header component error ( #1221 )
2024-10-11 11:55:13 -04:00
Chenlei Hu
f96f08be32
Add ru to locale list ( #1218 )
2024-10-11 10:43:10 -04:00
Ioan
8ebb51b9a3
Update i18n.ts ( #1214 )
...
* Update i18n.ts
Added Russian translation
* Update i18n.ts
2024-10-11 09:14:04 -04:00
Chenlei Hu
60e1b82df6
Update litegraph (TypeScript LLink) ( #1213 )
...
* Update litegraph (TypeScript LLink)
* Remove ts-expect-error
2024-10-10 20:54:31 -04:00
Chenlei Hu
459afa158c
Restyle dialog with scrollpanel ( #1212 )
2024-10-10 20:27:14 -04:00
Chenlei Hu
f64365915b
Mark app.showMissingNodeDialog private ( #1210 )
2024-10-10 16:35:29 -04:00
Chenlei Hu
ec8e6f79b3
Fix create group node command error states ( #1209 )
...
* Fix edge cases
* Add playwright test
* nit
2024-10-10 15:56:00 -04:00
Chenlei Hu
b89f467983
Add group node commands/keybindings ( #1208 )
...
* Add group node commands/keybindings
* Fix jest tests
2024-10-10 12:50:05 -04:00
Chenlei Hu
009dbcf8c7
Wrap pragmatic dnd API with hooks ( #1207 )
2024-10-10 10:53:49 -04:00
Chenlei Hu
4413fd248c
Remove question mark badge on folders in model library tree ( #1205 )
2024-10-10 10:13:14 -04:00
Chenlei Hu
f71595fcc9
Fix node def handling of undefined fields ( #1199 )
...
* Fix node def handling
* nit
* Add test
2024-10-09 22:11:27 -04:00
Chenlei Hu
59a5f5f5d0
Add help menu on command menu bar ( #1197 )
...
* Add help menu on command menu bar
* nit
2024-10-09 20:35:17 -04:00
Chenlei Hu
2d5faa7f3d
Anchor floating actionbar to closest side when resizing window ( #1195 )
...
* Anchor floating actionbar to closest side when resizing window
* nit
* nit
2024-10-09 17:41:36 -04:00
Chenlei Hu
82112c2c6e
Move low priority init to idle task ( #1192 )
2024-10-09 16:22:58 -04:00
Chenlei Hu
f94bdc358b
Disable node def validation by default ( #1190 )
...
* Add setting
* Make node def validation optional
2024-10-09 16:02:27 -04:00
Chenlei Hu
f6466d7062
Avoid calling settingStore.set when there is no legacy node bookmark ( #1191 )
...
* Avoid calling settingStore.set when there is no legacy node bookmark
* nit
2024-10-09 16:02:14 -04:00
Chenlei Hu
e99329cff5
Remove class-transformer dependency ( #1187 )
...
* nit
* Fix test
* Remove class-transformer and its deps
* nit
* Fix invalid type for dummy node
2024-10-09 15:10:19 -04:00
Chenlei Hu
c8f50509ed
Fix VHS advanced preview html video type ( #1186 )
...
* Fix VHS advanced preview html video type
* nit
2024-10-09 15:02:02 -04:00
Chenlei Hu
165604bb80
Support VHS advanced preview in queue sidebar tab ( #1183 )
...
* Map VHS video type
* Advance preview format
* nit
* View VHS advanced preview
* Disable result gallery vitest
* Proper disable
2024-10-09 12:42:00 -04:00
Chenlei Hu
829bce1c8c
Load Keybinding and Extension panel async ( #1179 )
2024-10-08 22:20:30 -04:00
Chenlei Hu
d673a521d8
Add always snap to grid setting ( #1177 )
...
* Always snap to grid
* Ban pysssss.SnapToGrid
* nit
2024-10-08 20:12:23 -04:00
Chenlei Hu
5f3afa3776
Supports VHS video outputs in queue sidebar tab ( #1174 )
...
* Properly identify gifs
* Detect VHS video
* Basic video support in queue
* Video in lightbox
* Preview button
* nit
* Fix vitest
2024-10-08 17:10:44 -04:00
Chenlei Hu
3cafc10c2b
Fix pan mode icon display ( #1173 )
2024-10-08 14:24:39 -04:00
Chenlei Hu
2cb1cea196
Make LGraphCanvas shallowReactive ( #1169 )
...
* Make LGraphCanvas shallowReactive
* Restore canvas options after creation
2024-10-08 14:07:15 -04:00