Skip to content

Commit 6767ea4

Browse files
committed
Simplify dashboard controlled table state and integrate main
2 parents 3e804f1 + 5aeec04 commit 6767ea4

78 files changed

Lines changed: 8857 additions & 1425 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/dashboard/spike.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ measurement therefore received a null node and threw before leaving the exited
103103
state, keeping each menu at opacity 0. Accessibility selection alone did not
104104
catch this because the transparent options were still in the DOM.
105105

106-
The version-pinned pnpm patch separates insertion effects from layout effects
107-
and attaches callback refs between those phases. It includes the source change
108-
and two regression tests. Insertion effects still prepare event callbacks and
109-
styles before refs run. The browser check now requires full menu opacity before
110-
selecting an option in each of the four Material controls.
106+
The original spike used a version-pinned patch to run insertion effects before
107+
callback refs and layout effects. Main now uses Redact 0.1.2, which implements
108+
that ordering upstream, so the old patch has been removed. The browser check
109+
requires full menu opacity before selecting an option in each of the four
110+
Material controls.
111111

112112
Validation against an isolated copy of Redact's existing tests: 207 existing
113113
passes preserved, two new regressions fixed, and three unchanged baseline
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CREATE TYPE "public"."showcase_placement" AS ENUM('showcase', 'community', 'private');--> statement-breakpoint
2+
ALTER TABLE "showcases" ADD COLUMN "placement" "showcase_placement";--> statement-breakpoint
3+
-- Preserve existing visibility. Editorial decisions are applied separately.
4+
UPDATE "showcases" SET "placement" = CASE WHEN "status" = 'approved' THEN 'showcase'::showcase_placement ELSE 'private'::showcase_placement END;--> statement-breakpoint
5+
ALTER TABLE "showcases" ALTER COLUMN "placement" SET DEFAULT 'private';--> statement-breakpoint
6+
ALTER TABLE "showcases" ALTER COLUMN "placement" SET NOT NULL;--> statement-breakpoint
7+
ALTER TABLE "showcases" ADD COLUMN "review_reason" text;--> statement-breakpoint
8+
CREATE INDEX "showcases_status_placement_idx" ON "showcases" USING btree ("status","placement");

0 commit comments

Comments
 (0)