Skip to content

Convert NPC Skill Editor to AppV2 and Svelte - #22327

Merged
stwlam merged 1 commit into
foundryvtt:v14-devfrom
jfn4th:skill-editor-appv2
Jul 17, 2026
Merged

stwlam merged 1 commit into
foundryvtt:v14-devfrom
jfn4th:skill-editor-appv2

Conversation

@jfn4th

@jfn4th jfn4th commented May 14, 2026

Copy link
Copy Markdown
Collaborator

This also fixes processing of SCSS in svelte files. Up until now, they've been treated as standard CSS even when marked as SCSS. item-summary.svelte is the only other Svelte app I've found using a SCSS mixin, and its appearance doesn't appear to have changed (its tags are busted in dark mode, but that was the case before this PR and I'll address that separately if no one else gets around to it first).
Screenshot 2026-05-14 at 4 16 45 PM
Screenshot 2026-05-14 at 4 16 20 PM

@CarlosFdez

Copy link
Copy Markdown
Collaborator

tags busted in dark mode for item-summary should be fixed recently now as of #22311

I recall adding that vite mixin adding errors where it doesn't allow defining @use at the top level. Are you sure you're not getting those errors? You can get the full svelte errors if you use npm run build:system

@jfn4th

jfn4th commented May 14, 2026

Copy link
Copy Markdown
Collaborator Author

@CarlosFdez I get no such error!

@jfn4th

jfn4th commented May 14, 2026 •

Copy link
Copy Markdown
Collaborator Author

Svelte errors if using @use anywhere other than the top level. Maybe that came up for you while you were making the item-summary?

@jfn4th
jfn4th force-pushed the skill-editor-appv2 branch 7 times, most recently from 8759ed0 to cfa5ab8 Compare May 18, 2026 16:25
@jfn4th
jfn4th force-pushed the skill-editor-appv2 branch from cfa5ab8 to 8f43377 Compare June 8, 2026 23:50
@jfn4th jfn4th added the appv2 label Jun 15, 2026
@jfn4th
jfn4th force-pushed the skill-editor-appv2 branch 3 times, most recently from c8c6299 to b104ad3 Compare June 24, 2026 16:19
@jfn4th
jfn4th force-pushed the skill-editor-appv2 branch from b104ad3 to cbcdfa0 Compare July 8, 2026 17:29
@jfn4th
jfn4th force-pushed the skill-editor-appv2 branch from cbcdfa0 to da1ff5d Compare July 8, 2026 17:39
@stwlam
stwlam merged commit 066568c into foundryvtt:v14-dev Jul 17, 2026
1 check passed
@jfn4th
jfn4th deleted the skill-editor-appv2 branch July 17, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants