Simula_r
ab777bc65c
fix: vue nodes preview node to match lg and add node when clicked ( #7146 )
...
## Summary
Make the preview node match recent LGraphNode.vue look. Also add support
to click from search.
## Changes
- **What**: NodeSearchBox.vue, LGraphNodePreview.vue, nodeDefStore.ts
## Screenshots (if applicable)
https://github.com/user-attachments/assets/ed46d641-66bf-4e23-a207-9102609a7a4a
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7146-fix-vue-nodes-preview-node-to-match-lg-and-add-node-when-clicked-2bf6d73d3650814383b2c786e2ab4d02 )
by [Unito](https://www.unito.io )
2025-12-04 15:31:38 -08:00
Alexander Brown
c263111eeb
Feat: Add preview as plaintext toggle for Preview As Text ( #7102 )
...
## Summary
Adds a toggle to conditionally render the text as Markdown.
## Also...
Fixes some type issues across our myriad Widget types. We should
probably clean those up.
## Example
https://github.com/user-attachments/assets/24fed943-1e79-4ea4-a962-826b06d68761
This could be a good minimal testcase for dynamic widgets @AustinMroz
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7102-WIP-Feat-Add-preview-as-plaintext-toggle-for-Preview-As-Text-2bd6d73d3650810c8b25c84866c8875c )
by [Unito](https://www.unito.io )
2025-12-02 14:37:57 -08:00
Alexander Brown
1e85902242
fix: Remove old readonly and memos from LGraphNodePreview, default to empty string for widget contents. ( #6217 )
...
## Summary
Fixes the prop validation errors when the previews rendered.
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6217-fix-Remove-old-readonly-and-memos-from-LGraphNodePreview-default-to-empty-string-for-wi-2956d73d3650812da482cf1fab400dfa )
by [Unito](https://www.unito.io )
---------
Co-authored-by: github-actions <github-actions@github.com >
2025-10-23 11:22:36 -07:00
Alexander Brown
b943c0fa75
Lint: Add tailwind linter ( #5984 )
...
## Summary
Adds the [tailwind lint
plugin](https://github.com/francoismassart/eslint-plugin-tailwindcss/?tab=readme-ov-file#eslint-plugin-tailwindcss )
and fixes the currently fixable rules ([v4 is still in
beta](https://github.com/francoismassart/eslint-plugin-tailwindcss/?tab=readme-ov-file#about-tailwind-css-4-support )).
## Changes
- **What**: Enforces things like consistent class order, and eventually
can prohibit extra classes that could be utilities instead
- **Dependencies**: The plugin and its types
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5984-Lint-Add-tailwind-linter-2866d73d365081d89db0d998232533bb )
by [Unito](https://www.unito.io )
---------
Co-authored-by: GitHub Action <action@github.com >
2025-10-08 19:39:14 -07:00
Alexander Brown
e7745eb2be
Style: Make components themeable ( #5908 )
...
## Summary
Replace color/dark-color pairs in components with design tokens to allow
for easy overriding.
<!-- Also standardizes the icon pattern to simplify the tailwind config.
-->
## Changes
- **What**: Token based colors, for now, mostly.
- **Breaking**: Got approval from Design to collapse some very similar
pairs of colors that seem to have diverged in implementations over time.
Some of the colors might be a little different, but we can tweak them
later.
## Review Focus
Still have quite a few places from which to remove `dark-theme`, but
this at least gets the theming much closer.
Need to decide if I want to keep going in here or cut this and do the
rest in a subsequent PR.
## Screenshots (if applicable)
<!-- Add screenshots or video recording to help explain your changes -->
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5908-WIP-Make-components-themeable-2816d73d365081ffbc05d189fe71084b )
by [Unito](https://www.unito.io )
---------
Co-authored-by: github-actions <github-actions@github.com >
2025-10-06 16:27:08 -07:00
Alexander Brown
0fea54c542
Typing: Slots in VueNodeData ( #5759 )
...
## Summary
Replace the unknown type with the interface in Litegraph.
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5759-Typing-Slots-in-VueNodeData-2786d73d36508194b286fad172b13c51 )
by [Unito](https://www.unito.io )
2025-09-24 14:35:14 -07:00
Simula_r
0919856a05
Feat/vue nodes preview ( #5747 )
...
## Summary
Create a LGraphNodePreview.vue component to use Vue Nodes for preview
when hovering over search results / sidebar tree list.
<!-- If this PR fixes an issue, uncomment and update the line below -->
<!-- Fixes #ISSUE_NUMBER -->
## Screenshots (if applicable)
<img width="3024" height="1642" alt="image"
src="https://github.com/user-attachments/assets/d102b08e-2970-407b-aff8-3fa6333d5e38 "
/>
<img width="3024" height="1646" alt="image (1)"
src="https://github.com/user-attachments/assets/b5d378d5-3cf6-4cca-9fa1-741647e8d72c "
/>
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5747-Feat-vue-nodes-preview-2786d73d3650817dbf9af458bd5dda8c )
by [Unito](https://www.unito.io )
---------
Co-authored-by: JakeSchroeder <jake@axiom.co >
Co-authored-by: AustinMroz <AustinMroz@users.noreply.github.com >
2025-09-24 13:02:47 -07:00