Repository navigation
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 27416bafd7
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| replacement: { | ||
| match: /\(0,(\i)\.jsxs\)\((\i)\.DropdownMenuSub,\{children:\[\(0,\1\.jsxs\)\(\2\.DropdownMenuSubTrigger,\{children:\[.{0,100}"user-dropdown\.help"/, | ||
| replace: "$self._renderVoidMenu(),$&", | ||
| match: /\(0,(\i)\.jsxs\)\((\i)\.DropdownMenuItem,\{onSelect:\i,children:\[\(0,\1\.jsx\)\(\i\.CogIcon,\{className:"size-4 me-2 text-fg-secondary"\}\),\i\("user-dropdown\.settings","Settings"\)\]\}\)/, |
There was a problem hiding this comment.
Remove visual utility classes from the patch match
If Grok merely changes or reorders the size-4 me-2 text-fg-secondary styling, this exact regex stops matching and the Void submenu disappears even though the stable user-dropdown.settings item remains. Match the semantic i18n key and only the minimum surrounding structure instead of making the behavioral patch depend on Tailwind classes.
AGENTS.md reference: AGENTS.md:L162-L165
Useful? React with 👍 / 👎.
| const FallbackSettingsRow = ({ children, action, hidden, className }: SettingsRowProps) => hidden ? null : createElement("div", { className: ["flex items-center justify-between gap-4 px-3 py-2", className].filter(Boolean).join(" ") }, createElement("div", { className: "min-w-0 flex-1" }, children), action); | ||
| const FallbackSettingsTitle = ({ children, className }: SettingsTitleProps) => createElement("div", { className: ["text-sm font-medium text-fg-primary", className].filter(Boolean).join(" ") }, children); | ||
| const FallbackSettingsDescription = ({ children }: SettingsDescriptionProps) => createElement("div", { className: "mt-0.5 text-xs text-fg-secondary" }, children as ReactNode); |
There was a problem hiding this comment.
Move fallback styling into Void CSS
These fallbacks are intended to work when Grok no longer exposes its settings primitives, but they still depend on Grok's Tailwind utility classes; a bundle that removes or renames those utilities leaves every Void setting row unstyled. Use Void-prefixed classes backed by a stylesheet so the fallback is actually independent of Grok's generated CSS.
AGENTS.md reference: AGENTS.md:L106-L110
Useful? React with 👍 / 👎.
Greptile SummaryUpdates Void’s settings integration for Grok’s current account menu and settings navigation. The menu patch is anchored on the current Settings item, Void tabs are placed in the Confidence Score: 5/5Safe to merge: no blocking failure remains. No blocking failure remains.
What T-Rex did
Reviews (2): Last reviewed commit: "Merge pull request #1 from imjustprism/m..." | Re-trigger Greptile |
Summary
Restores Void's settings entry points after Grok's recent UI update changed the account menu and grouped settings navigation. The avatar menu exposes the Void submenu again, and Plugins, Themes, Quick CSS, and Experiments remain accessible from Grok's settings UI.
What changed
othersettings group.Verification
bun run lint:fixbun run lint:styles:fixbun run tscbun run test:patchesbun run buildbun run test:build