Skip to content

feat: add admin picker when editing .mega_cedar.json#2147

Merged
genedna merged 2 commits into
gitmono-dev:mainfrom
benjamin-747:main
Jul 22, 2026
Merged

feat: add admin picker when editing .mega_cedar.json#2147
genedna merged 2 commits into
gitmono-dev:mainfrom
benjamin-747:main

Conversation

@benjamin-747

Copy link
Copy Markdown
Collaborator

No description provided.

Migrate callisto to dense codegen, keep polymorphic joins in entity_ext,
bump russh and remove lazy_static/ed25519-dalek, and normalize webhook
event enum labels to underscores with Enum rs_type call-site fixes.
Let Cedar admins select org members in BlobEditor and regenerate
entity-store JSON via POST /api/v1/admin/cedar/generate before commit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f5bfa70d5b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

<MegaCedarAdminPicker
fileContent={fileContent}
onContentGenerated={handleCedarContentGenerated}
disabled={updateBlobMutation.isPending}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Block commits while Cedar generation is pending

When an admin has already made a change, toggling another checkbox starts generateCedar.mutateAsync but the parent editor still only disables saving for updateBlobMutation.isPending. On a slow or failed generation, the user can open the commit dialog and save the previous .mega_cedar.json content while the picker UI already reflects the newer selection, so the committed admin list can miss the last toggle. Please lift the generation pending state to the editor or otherwise disable commit/save until the latest generation completes.

Useful? React with 👍 / 👎.

@benjamin-747
benjamin-747 requested a review from genedna July 22, 2026 09:06
@genedna
genedna added this pull request to the merge queue Jul 22, 2026
Merged via the queue into gitmono-dev:main with commit 499a61a Jul 22, 2026
9 checks passed
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