Skip to content

Rules read as a table, and a rule is written in a dialog - #482

Merged
WaylandYang merged 3 commits into
devfrom
feat/rules-read-as-a-table
Sep 8, 2026
Merged

WaylandYang merged 3 commits into
devfrom
feat/rules-read-as-a-table

Conversation

@WaylandYang

Copy link
Copy Markdown
Contributor

Stacked on #481.

Business rules were a column of cards, each one both the panel and the clickable thing, with the editor growing out of the page as another card of its own — the shape DESIGN.md 6 exists to rule out, and it did not look like the token page, the data-source page or anything else we had just rebuilt.

Rules read as a table. One panel with rows: the rule, what it concludes, how many facts stand on it right now, whether it is on. The first column keeps the sentence — Person where Years of service is at least 10 and Clearance is one of secret, top-secret — because that sentence is the rule; folding it into a details view would hide the rule inside its own row. Matches move into a dialog off the derived count.

A rule is written in a dialog, with the same Field grid, the same footer, the same two buttons as every other form in the app.

"New rule" is no longer disabled. It was gated on the ontology having at least one class and one attribute, greyed out with no explanation — from outside that is indistinguishable from broken. The entry point is open; the form says what is missing at the place where it is missing, and only Save waits for a condition.

🤖 Generated with Claude Code

@WaylandYang
WaylandYang force-pushed the feat/rules-read-as-a-table branch 2 times, most recently from 69e8a06 to 5be8169 Compare September 8, 2026 03:53
@WaylandYang
WaylandYang force-pushed the feat/import-history-shows-the-ledger branch from b53fd79 to c624318 Compare September 8, 2026 04:41
@WaylandYang
WaylandYang force-pushed the feat/rules-read-as-a-table branch from 178b3c8 to 8a68f10 Compare September 8, 2026 04:41
@WaylandYang
WaylandYang force-pushed the feat/import-history-shows-the-ledger branch from c624318 to cdbec5a Compare September 8, 2026 04:46
@WaylandYang
WaylandYang force-pushed the feat/rules-read-as-a-table branch from 8a68f10 to 57a8544 Compare September 8, 2026 05:03
@WaylandYang
WaylandYang force-pushed the feat/import-history-shows-the-ledger branch 2 times, most recently from 7fae33b to c1c3c45 Compare September 8, 2026 05:08
@WaylandYang
WaylandYang force-pushed the feat/rules-read-as-a-table branch 2 times, most recently from 1f0f89f to 201ed55 Compare September 8, 2026 05:12
@WaylandYang
WaylandYang force-pushed the feat/import-history-shows-the-ledger branch from c1c3c45 to 1400e7b Compare September 8, 2026 05:12
Base automatically changed from feat/import-history-shows-the-ledger to dev September 8, 2026 05:14
WaylandYang and others added 3 commits September 8, 2026 13:15
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: WaylandYang <wayland0916@gmail.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: WaylandYang <wayland0916@gmail.com>
Signed-off-by: WaylandYang <wayland0916@gmail.com>
@WaylandYang
WaylandYang force-pushed the feat/rules-read-as-a-table branch from 201ed55 to a575c60 Compare September 8, 2026 05:15
@WaylandYang
WaylandYang merged commit 4f6afb5 into dev Sep 8, 2026
4 checks passed
@WaylandYang
WaylandYang deleted the feat/rules-read-as-a-table branch September 8, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant