Skip to content

Comments

ENG-1328: Port small blueprint based misc settings into props based#805

Open
sid597 wants to merge 9 commits intographite-base/805from
eng-1328-port-small-blueprint-based-misc-settings-into-props-based
Open

ENG-1328: Port small blueprint based misc settings into props based#805
sid597 wants to merge 9 commits intographite-base/805from
eng-1328-port-small-blueprint-based-misc-settings-into-props-based

Conversation

@sid597
Copy link
Collaborator

@sid597 sid597 commented Feb 20, 2026

https://www.loom.com/share/612bb20332b1445c977547b14b08b42a

Ported the following:

Queries -> Default filters

Grammar -> Nodes

Nodes -> type -> Format

Nodes -> type -> Attributes

Nodes -> type -> Attributes -> Overlay

Nodes -> type -> Canvas -> Color picker

Nodes -> type -> Canvas -> Display alias

Nodes -> type -> Canvas -> Key image location

Nodes -> type -> Canvas -> Query builder alias

Admin -> (BETA) Suggestive mode enabled

Admin -> Reified relation triples


Open with Devin

Summary by CodeRabbit

  • New Features

    • Enhanced feature flag management for Suggestive Mode and Reified relations.
  • Bug Fixes

    • Improved settings persistence and synchronization across discourse node configurations, default filters, and attribute management.
    • Fixed color and alias handling in node canvas settings.
  • Improvements

    • Strengthened node type creation and deletion workflows with better data validation and persistence.

@linear
Copy link

linear bot commented Feb 20, 2026

@supabase
Copy link

supabase bot commented Feb 20, 2026

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@sid597 sid597 marked this pull request as ready for review February 20, 2026 21:40
@sid597
Copy link
Collaborator Author

sid597 commented Feb 20, 2026

@coderabbitai full review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 20, 2026

✅ Actions performed

Full review triggered.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 20, 2026

📝 Walkthrough

Walkthrough

This PR adds centralized settings persistence across discourse node configuration and admin panels by introducing calls to setFeatureFlag, setPersonalSetting, and setDiscourseNodeSetting throughout settings components. It refactors component signatures to accept nodeType and onSync callbacks, replaces some inline UI with reusable panel components, and introduces strong typing for discourse relations.

Changes

Cohort / File(s) Summary
Feature Flag & Personal Settings
apps/roam/src/components/settings/AdminPanel.tsx, apps/roam/src/components/settings/DefaultFilters.tsx
AdminPanel now calls setFeatureFlag when toggling Suggestive Mode and Reified relations features. DefaultFilters refactored to use setPersonalSetting alongside extensionAPI.settings.set for dual persistence of default filters.
Discourse Node Settings Sync
apps/roam/src/components/settings/DiscourseNodeAttributes.tsx, apps/roam/src/components/settings/DiscourseNodeCanvasSettings.tsx, apps/roam/src/components/settings/DiscourseNodeConfigPanel.tsx, apps/roam/src/components/settings/NodeConfig.tsx
Multiple components now integrate setDiscourseNodeSetting to persist attribute edits, color changes, alias updates, and canvas settings. DiscourseNodeConfigPanel introduces strong typing for DiscourseRelation, calculates shortcut/format from labels, and handles deletion of affected relations. DiscourseNodeAttributes signature expanded to include nodeType parameter. NodeConfig refactors useDebouncedRoamUpdater signature, integrates DiscourseNodeSelectPanel, and adds onSync callback wiring.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main objective of the changeset: porting blueprint-based miscellaneous settings into a props-based implementation across multiple settings files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sid597
Copy link
Collaborator Author

sid597 commented Feb 20, 2026

@coderabbitai full review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 20, 2026

✅ Actions performed

Full review triggered.

coderabbitai[bot]

This comment was marked as resolved.

Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 6 additional findings.

Open in Devin Review

@sid597 sid597 changed the base branch from eng-1281-port-discourse-node-block-panel to graphite-base/805 February 23, 2026 05:10
@sid597 sid597 force-pushed the eng-1328-port-small-blueprint-based-misc-settings-into-props-based branch from d88de41 to 1d2ba62 Compare February 23, 2026 10:26
@sid597 sid597 changed the base branch from graphite-base/805 to eng-1281-port-discourse-node-block-panel February 23, 2026 10:27
@sid597 sid597 force-pushed the eng-1328-port-small-blueprint-based-misc-settings-into-props-based branch from 1d2ba62 to 4634da5 Compare February 23, 2026 10:40
@sid597 sid597 force-pushed the eng-1281-port-discourse-node-block-panel branch from 1b467b4 to 2d39338 Compare February 23, 2026 10:40
@sid597 sid597 force-pushed the eng-1328-port-small-blueprint-based-misc-settings-into-props-based branch from 4634da5 to 1b440fb Compare February 23, 2026 13:51
@sid597 sid597 force-pushed the eng-1281-port-discourse-node-block-panel branch from 2d39338 to 30de848 Compare February 23, 2026 13:51
@sid597 sid597 force-pushed the eng-1328-port-small-blueprint-based-misc-settings-into-props-based branch from 1b440fb to 586c385 Compare February 23, 2026 14:13
@sid597 sid597 changed the base branch from eng-1281-port-discourse-node-block-panel to graphite-base/805 February 23, 2026 14:17
@sid597 sid597 changed the base branch from graphite-base/805 to eng-1281-port-discourse-node-block-panel February 23, 2026 14:36
@sid597 sid597 requested a review from mdroidian February 23, 2026 15:34
@sid597 sid597 changed the base branch from eng-1281-port-discourse-node-block-panel to graphite-base/805 February 23, 2026 15:35
@sid597 sid597 force-pushed the eng-1328-port-small-blueprint-based-misc-settings-into-props-based branch from 84b5f88 to eb2aaa7 Compare February 23, 2026 16:40
@sid597 sid597 changed the base branch from graphite-base/805 to eng-1281-port-discourse-node-block-panel February 23, 2026 16:40
@sid597 sid597 changed the base branch from eng-1281-port-discourse-node-block-panel to graphite-base/805 February 23, 2026 17:52
@sid597 sid597 force-pushed the eng-1328-port-small-blueprint-based-misc-settings-into-props-based branch from eb2aaa7 to 26619e2 Compare February 23, 2026 17:53
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