Skip to content

fix(github): hide remaining Git and Gist entry points - #8

Merged
mixiaowu2023 merged 2 commits into
tronweb3:mainfrom
Redchar1992:fix/hide-gist-entry-points
Aug 14, 2026
Merged

fix(github): hide remaining Git and Gist entry points#8
mixiaowu2023 merged 2 commits into
tronweb3:mainfrom
Redchar1992:fix/hide-gist-entry-points

Conversation

@Redchar1992

@Redchar1992 Redchar1992 commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • hide Gist publish/update actions from the file explorer toolbar and context menus
  • hide the remaining GitHub token-safety recipe on Home
  • stop advertising Git tools to the AI while the Git UI is unavailable
  • keep the existing GitHub, Git, Gist, OAuth, token, and tool-handler implementations intact

Scope

Temporary entry-point-only follow-up to #7.

Diff: 4 production files + 2 focused test files, 15 insertions and 18 deletions.

Validation

  • pnpm nx run-many --target=lint --projects=remix-ui-file-explorer,remix-ui-workspace --parallel=false
  • pnpm nx lint remix-ide
  • focused Playwright tests:
    • TC-CB-003: Home GitHub token-safety recipe is absent
    • TC-AI-TOOL-006: no git_* tools are sent to the model
  • NODE_OPTIONS=--max-old-space-size=6144 pnpm build:prod
  • Chrome smoke test at http://127.0.0.1:8080/
    • no GitHub connection controls, Git plugin icon, Gist mutation actions, or token-safety recipe
    • only ordinary GitHub issue-report links remain visible

Known unrelated checks

  • The upstream main CI Lint job already fails in pnpm audit --prod on newly published dependency advisories; this PR does not change dependencies.
  • pnpm nx test remix-ide reaches the relevant source assertions, then fails because the public mirror intentionally excludes apps/remix-ide/docs/v2.3.0-roadmap-section-3-traceability.md.

- Remove the Gist publish action from the file explorer toolbar.\n- Hide Gist mutation actions from file and folder context menus.\n- Leave the existing Gist implementation unchanged.
- Hide the Home token-safety recipe while retaining its action logic.
- Stop advertising Git tools to AI while keeping their handlers intact.
- Update focused Playwright coverage for the temporary visibility rules.
@Redchar1992 Redchar1992 changed the title fix(github): hide Gist publish entry points fix(github): hide remaining Git and Gist entry points Aug 14, 2026
@mixiaowu2023
mixiaowu2023 merged commit 65a682b into tronweb3:main Aug 14, 2026
2 of 3 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