WIP - initial commit: plugin-config UI inside wikilabs/bundler - #164
Open
pmario wants to merge 2 commits into
Open
WIP - initial commit: plugin-config UI inside wikilabs/bundler#164pmario wants to merge 2 commits into
pmario wants to merge 2 commits into
Conversation
Adds the plugin-config scaffold under plugins/wikilabs/bundler/tiddlers/:
ui/Plugins.tid
New sidebar tab listing every $:/tags/PluginConfig with status pill,
filter input, and "+ New plugin config" button.
ui/plugin-config/
canvas.tid — body-template root, transcludes 7 sections
PluginsList.tid — sidebar list rendering
status-pill.tid — draft / no-target / unbuilt / built pill
helpers.tid — wlpc-collapsible procedure (state-persistent
replacement for <details>) and bundle-resolution
helpers (bundle-tids/lane-tids — currently
broken for multi-bundle filter resolution,
rewrite pending)
section-draft-banner — Activate banner for new configs
section-header — config title + Verify/Build (Build is a stub
that writes a log; verify is a state setter)
section-identity — template dropdown, target plugin field,
version-policy select
section-pending — pending-changes detection via
modified > last-built (wired but no real
build sets last-built yet)
section-sources — three lanes (Sources / Skip this build /
Drop from plugin) with per-lane border accent;
Skip dropdown only lists already-included bundles
section-resolved — list + count of resolved tiddlers (count
broken for multi-bundle filter lanes —
rewrite pending using nested $list dispatch)
section-snapshot — single-button auto-snapshot to a Bundle
tagged $:/tags/Bundle $:/tags/Milestone
system/viewtemplate-cascade/$:/config/ViewTemplateBodyFilters/PluginConfig
Routes $:/tags/PluginConfig tiddlers to the canvas body template.
styles/plugin-config-styles.tid
Palette-aware styles for canvas, sections, collapsibles, lanes, pills.
Uses TW core tc-{tiny|small|big}-gap-{left|right} classes for inline
spacing where \whitespace trim strips it.
Known issues to address next:
- Bundle resolution for filter-tagged bundles inside :map / function
bodies returns wrong counts; replace with nested wikitext $list
rendering using the verified =>filter [subfilter<filter>] pattern.
- Real build wiring (currently a stub).
- Identity template seeding is unwired (dropdown sets the field but
doesn't apply template metadata to the plugin tiddler yet).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the plugin-config scaffold under plugins/wikilabs/bundler/tiddlers/:
ui/Plugins.tid New sidebar tab listing every $:/tags/PluginConfig with status pill, filter input, and "+ New plugin config" button.
ui/plugin-config/ canvas.tid — body-template root, transcludes 7 sections PluginsList.tid — sidebar list rendering status-pill.tid — draft / no-target / unbuilt / built pill helpers.tid — wlpc-collapsible procedure (state-persistent
replacement for
Details
) and bundle-resolutionhelpers (bundle-tids/lane-tids — currently
broken for multi-bundle filter resolution,
rewrite pending)
section-draft-banner — Activate banner for new configs section-header — config title + Verify/Build (Build is a stub
that writes a log; verify is a state setter)
section-identity — template dropdown, target plugin field,
version-policy select
section-pending — pending-changes detection via
modified > last-built (wired but no real
build sets last-built yet)
section-sources — three lanes (Sources / Skip this build /
Drop from plugin) with per-lane border accent;
Skip dropdown only lists already-included bundles
section-resolved — list + count of resolved tiddlers (count
broken for multi-bundle filter lanes —
rewrite pending using nested $list dispatch)
section-snapshot — single-button auto-snapshot to a Bundle
tagged
system/viewtemplate-cascade/$:/config/ViewTemplateBodyFilters/PluginConfig Routes $:/tags/PluginConfig tiddlers to the canvas body template.
styles/plugin-config-styles.tid Palette-aware styles for canvas, sections, collapsibles, lanes, pills. Uses TW core tc-{tiny|small|big}-gap-{left|right} classes for inline spacing where \whitespace trim strips it.
Known issues to address next: