Skip to content
This repository was archived by the owner on Aug 23, 2026. It is now read-only.

fix(settings): restore UI on updated Grok - #17

Open
Zpankz wants to merge 11 commits into
imjustprism:devfrom
Zpankz:fix/grok-settings-ui
Open

Zpankz wants to merge 11 commits into
imjustprism:devfrom
Zpankz:fix/grok-settings-ui

Conversation

@Zpankz

@Zpankz Zpankz commented Aug 13, 2026

Copy link
Copy Markdown

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

  • Anchor the avatar-menu patch on Grok's current Settings menu item and inject Void beside it.
  • Assign Void tabs to Grok's other settings group.
  • Remove stale version and settings-primitive patches that no longer match Grok's bundles.
  • Fall back to local SettingsRow, SettingsTitle, and SettingsDescription components when Grok does not expose those primitives.

Verification

  • bun run lint:fix
  • bun run lint:styles:fix
  • bun run tsc
  • bun run test:patches
  • bun run build
  • bun run test:build
  • Loaded the unpacked Chrome build against live grok.com and verified the Void submenu, nested plugin list, Themes, Quick CSS, Experiments, and grouped settings tabs.

@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: 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"\)\]\}\)/,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge 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 👍 / 👎.

Comment on lines +114 to +116
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);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge 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-apps

greptile-apps Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Greptile Summary

Updates 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 other group, and local settings components provide a fallback when Grok primitives are unavailable.

Confidence Score: 5/5

Safe to merge: no blocking failure remains.

No blocking failure remains.

T-Rex T-Rex Logs

What T-Rex did

  • T-Rex ran the settings access validation before the patch and confirmed that the old menu regex did not match the representative updated Grok Settings menu shape.
  • T-Rex ran the settings access validation after the patch and observed that the updated menu insertion and the Void settings-tab append succeeded against the representative shape, while the fallback render harness did not complete.
  • T-Rex executed the repository checks with bun test, bun run test:patches, and bun run tsc; 18 tests passed, patch checks reported zero errors and warnings, and TypeScript completed successfully.
  • T-Rex reviewed the focused Bun validation source that drives the patch replacement behavior.

View all artifacts

T-Rex Ran code and verified through T-Rex

Reviews (2): Last reviewed commit: "Merge pull request #1 from imjustprism/m..." | Re-trigger Greptile

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants