Skip to content

Comments

ENG-1440: Port page groups settings in suggestive mode#793

Merged
sid597 merged 5 commits intoeng-1281-port-discourse-node-block-panelfrom
eng-1217-page-groups-left-sidebar
Feb 23, 2026
Merged

ENG-1440: Port page groups settings in suggestive mode#793
sid597 merged 5 commits intoeng-1281-port-discourse-node-block-panelfrom
eng-1217-page-groups-left-sidebar

Conversation

@sid597
Copy link
Collaborator

@sid597 sid597 commented Feb 17, 2026

https://www.loom.com/share/dcdbb3b9441145fe94bf152f84fff80b


Open with Devin

Summary by CodeRabbit

  • Bug Fixes

    • Page group persistence improved. Groups now properly synchronize with global settings whenever changes occur—when groups are created, deleted, or when pages are added to or removed from groups. Changes are immediately saved.
  • New Features

    • Schema initialization now runs automatically on extension startup, ensuring the extension is properly configured without requiring manual intervention.

@linear
Copy link

linear bot commented Feb 17, 2026

@supabase
Copy link

supabase bot commented Feb 17, 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
Copy link
Collaborator Author

sid597 commented Feb 17, 2026

@coderabbitai full review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 17, 2026

✅ Actions performed

Full review triggered.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 17, 2026

Caution

Review failed

An error occurred during the review process. Please try again later.

📝 Walkthrough

Walkthrough

This change introduces schema initialization during extension load and synchronizes PageGroup state changes with global settings storage through a new syncPageGroupsToBlockProps helper function that persists local group modifications.

Changes

Cohort / File(s) Summary
Settings State Synchronization
apps/roam/src/components/settings/PageGroupPanel.tsx
Adds syncPageGroupsToBlockProps() helper to persist PageGroup changes to global settings and updates all group modification handlers (create, remove, add page, remove page) to call this sync function after state updates.
Extension Initialization
apps/roam/src/index.ts
Imports and invokes initSchema() during extension initialization, placing the call before returning the public interface to ensure schema setup runs on load.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The PR title references 'ENG-1440' but the PR objectives mention 'ENG-1217', creating a mismatch. Additionally, the title 'Port page groups settings in suggestive mode' is overly broad and vague—the actual changes focus on synchronizing page group settings to block properties (dual-write implementation), which is more specific than the generic 'port' language suggests. Clarify the ticket reference (ENG-1440 vs ENG-1217) and consider a more specific title that captures the dual-write synchronization of page groups to block properties, such as 'Sync page groups to block properties'.
✅ Passed checks (2 passed)
Check name Status Explanation
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.


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.

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 5 additional findings.

Open in Devin Review

@sid597 sid597 requested review from mdroidian and removed request for mdroidian February 17, 2026 12:41
@sid597 sid597 changed the base branch from main to graphite-base/793 February 17, 2026 12:51
@sid597 sid597 force-pushed the eng-1217-page-groups-left-sidebar branch from 5f263ce to 6ef48f7 Compare February 17, 2026 12:51
@sid597 sid597 changed the base branch from graphite-base/793 to eng-1281-port-discourse-node-block-panel February 17, 2026 12:51
Copy link
Collaborator Author

sid597 commented Feb 17, 2026

devin-ai-integration[bot]

This comment was marked as resolved.

@sid597 sid597 force-pushed the eng-1217-page-groups-left-sidebar branch from 6ef48f7 to 5ccc071 Compare February 17, 2026 12:56
@sid597 sid597 requested a review from mdroidian February 17, 2026 13:00
@sid597 sid597 changed the title ENG-1217: Port page groups settings in suggestive mode ENG-1440: Port page groups settings in suggestive mode Feb 17, 2026
@sid597 sid597 changed the base branch from eng-1281-port-discourse-node-block-panel to graphite-base/793 February 17, 2026 15:07
@sid597 sid597 force-pushed the eng-1217-page-groups-left-sidebar branch from d1168f9 to ac0a069 Compare February 17, 2026 15:16
@sid597 sid597 changed the base branch from graphite-base/793 to eng-1281-port-discourse-node-block-panel February 17, 2026 15:17
devin-ai-integration[bot]

This comment was marked as resolved.

@sid597 sid597 force-pushed the eng-1281-port-discourse-node-block-panel branch from 05303b8 to 7e3799e Compare February 17, 2026 15:37
@sid597 sid597 force-pushed the eng-1217-page-groups-left-sidebar branch from ac0a069 to 547a44d Compare February 17, 2026 15:37
@sid597 sid597 force-pushed the eng-1281-port-discourse-node-block-panel branch from 7e3799e to f1d6f92 Compare February 17, 2026 15:47
@sid597 sid597 force-pushed the eng-1217-page-groups-left-sidebar branch 2 times, most recently from 01ef4ec to 8c85845 Compare February 17, 2026 16:04
@sid597 sid597 force-pushed the eng-1281-port-discourse-node-block-panel branch from f1d6f92 to 59ba6a6 Compare February 17, 2026 16:04
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Contributor

@mdroidian mdroidian left a comment

Choose a reason for hiding this comment

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

👍

Couple of Devin comments worth looking into, but not blocking.

@sid597 sid597 force-pushed the eng-1217-page-groups-left-sidebar branch from d9a05d4 to c4f0860 Compare February 23, 2026 05:11
@sid597 sid597 force-pushed the eng-1281-port-discourse-node-block-panel branch from 59ba6a6 to 3c00e79 Compare February 23, 2026 05:11
@sid597 sid597 merged commit fad1443 into eng-1281-port-discourse-node-block-panel Feb 23, 2026
9 of 10 checks passed
@sid597 sid597 deleted the eng-1217-page-groups-left-sidebar branch February 23, 2026 10:41
@sid597 sid597 restored the eng-1217-page-groups-left-sidebar branch February 23, 2026 11:03
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.

2 participants