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
Christian Byrne
8fc54646de
apply stylelint auto fixes ( #5940 )
...
## Summary
Applied stylelint auto-fixes and resolved manual CSS issues across 25
files to achieve full compliance with stylelint rules.
## Changes
- **What**: Auto-fixed 68 CSS issues (legacy color functions,
font-weight keywords, shorthand properties, pseudo-element notation) and
manually resolved 6 remaining issues (duplicate selectors, vendor prefix
duplicates, font fallbacks, Vue v-bind whitelisting)
- **Config**: Disabled `no-descending-specificity` rule (43 warnings
require architectural CSS refactor)
## Review Focus
Verify no visual regressions from modernized CSS syntax:
- Modern [color function
notation](https://www.w3.org/TR/css-color-4/#funcdef-rgb ): `rgba(0, 0,
0, 0.5)` → `rgb(0 0 0 / 50%)`
- Numeric font weights: `bold`/`normal` → `700`/`400`
- Pseudo-element double colons: `:before` → `::before
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5940-apply-stylelint-auto-fixes-2846d73d365081ee8031c212a69a4bd4 )
by [Unito](https://www.unito.io )
---------
Co-authored-by: DrJKL <DrJKL0424@gmail.com >
2025-10-07 18:49:50 -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
Alexander Brown
85017dbba0
Upgrade: Tailwind v4 ( #5246 )
...
* temp: move tailwind calls out of the layer
* temp: ts tailwind config
* upgrade: Tailwind v4
This got a little out of hand.
Had to add a relative reference to the stylesheet in any component that uses @apply instead of the utility classes directly.
* upgrade: bg-opacity is now a modifier
* fix: Classic menu buttons assume a border
* Update test expectations [skip ci]
* fix: New preflight removal pattern
* fix: Skeletons don't have skin
* Update test expectations [skip ci]
* fix: Missing @reference
* [auto-fix] Apply ESLint and Prettier fixes
---------
Co-authored-by: github-actions <github-actions@github.com >
Co-authored-by: GitHub Action <action@github.com >
2025-09-03 12:37:43 -07:00
Christian Byrne
c42c9315f4
[refactor] Replace lodash with es-toolkit ( #4935 )
2025-08-12 12:22:09 -07:00
snomiao
6b31596399
[feat] Support Markdown rendering for node descriptions in NodePreview ( #4684 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-06 00:44:23 -07:00
Christian Byrne
efb08bf2ba
[Style] Fix node preview header/title overflow ( #4610 )
2025-07-30 11:46:50 -07:00
Christian Byrne
959ab3b3ec
[feat] Add ESLint i18n enforcement and fix hardcoded strings ( #4327 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-07-02 00:41:46 -07:00
Chenlei Hu
a03841cb1a
[lint] Enable plugin vue recommended rules ( #3403 )
2025-04-11 12:53:20 -04:00
Chenlei Hu
f593f3caa4
[Schema] ComfyNodeDefV2 schema ( #2847 )
2025-03-04 09:15:16 -05:00
Margen67
7bc48c5074
Formatting/cleanup ( #2594 )
2025-02-17 10:10:00 -05:00
Chenlei Hu
d8f074fea0
[Lint] Sort imports ( #2104 )
2024-12-30 17:26:37 -05:00
Chenlei Hu
db572a4085
Implement color palette in Vue ( #2047 )
...
Co-authored-by: github-actions <github-actions@github.com >
2024-12-25 21:41:48 -05:00
Chenlei Hu
ae26390776
Properly implement ComfyNodeDef interface ( #1821 )
...
* nit
* Properly implement ComfyNodeDef interface
* nit
* Mark readonly
2024-12-06 12:00:15 -05:00
Chenlei Hu
1ff6e27d9c
Manage widget definitions with Pinia store ( #1510 )
...
* Fix compile
* nit
* Remove extensions.test
* nit
2024-11-11 17:23:52 -05:00
bymyself
4052fc55f3
Fix node preview styles ( #903 )
...
* Use colorPalette to style node previews
* Use widget text secondary color for description
* Remove unused css
* nit
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca >
2024-09-22 09:05:06 +09:00
Chenlei Hu
a68f7c680b
Rename SideBar to Sidebar ( #422 )
...
* Rename SideBar to Sidebar
* rename files
* rename files
2024-08-14 11:27:23 -04:00
Chenlei Hu
a095e7ecae
Show category in node search box instead of description ( #360 )
2024-08-10 14:52:37 -04:00
Chenlei Hu
b90b1194d6
Organize searchbox files ( #315 )
2024-08-05 18:29:06 -04:00