Skip to content

[codex] implement team-space server APIs - #107

Merged
hwangjokim merged 3 commits into
mainfrom
codex/implement-team-space-apis
Jun 11, 2026
Merged

[codex] implement team-space server APIs#107
hwangjokim merged 3 commits into
mainfrom
codex/implement-team-space-apis

Conversation

@hwangjokim

@hwangjokim hwangjokim commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

  • Add client contracts, types, and API calls for server-only Team Space endpoints.
  • Surface dev guide history/detail/confirm flows in the team guide UI.
  • Surface GitHub weekly summary data in the GitHub integration UI.
  • Extend API mocks and OpenAPI docs so local development covers the new flows.
  • Apply design review polish: clearer GitHub weekly-summary context, no mobile metric-label truncation, and earlier access to guide version history.

Why

The server already exposed Team Space dev-guide history/confirmation and GitHub weekly summary endpoints, but the client did not yet consume them. This brings the client API surface back in sync with the server and keeps the newly exposed UI readable across desktop and mobile layouts.

Validation

  • ./node_modules/.bin/tsc -p tsconfig.app.json --noEmit
  • ./node_modules/.bin/biome lint .
  • ./node_modules/.bin/tsc -b
  • ./node_modules/.bin/vite build
  • Browser verification on http://127.0.0.1:5173/team for guide history, confirm action, and GitHub weekly summary UI.
  • Design quality review across desktop 1440x900 and mobile 390x844 after polish changes.

@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
client Ready Ready Preview, Comment Jun 11, 2026 5:42pm

@hwangjokim
hwangjokim marked this pull request as ready for review June 11, 2026 17:34

@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: b33c88d1e6

ℹ️ 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".

Comment thread openapi/openapi.yaml Outdated
Comment on lines +1853 to +1855
allOf:
- $ref: '#/components/schemas/DevGuideHistory'
- $ref: '#/components/schemas/DevGuideContent'

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 Make history-content schema satisfiable

When validating GET /team-space/{projectGroupId}/dev-guide/history/{devGuideId}, this allOf combines DevGuideHistory and DevGuideContent, but both referenced schemas set additionalProperties: false. A response containing both the history fields and the guide content is rejected by each subschema as having extra properties, so generated validators/clients will treat every successful history-content response as invalid. Define this response as a single closed object, or use a composition strategy that does not close each subschema independently.

Useful? React with 👍 / 👎.

Comment on lines +168 to +170
refetchOnWindowFocus: false,
retry: false,
staleTime: devGuideStaleTimeMs,

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 Refresh guide history after regeneration

After a successful manual regeneration while the history list was already fetched, the new version remains absent from this query for up to the 60s stale window because useRegenerateDevGuideMutation only updates the devGuide query and never invalidates teamSpaceQueryKeys.devGuideHistories. In that scenario the UI shows the regenerated guide but the version-history panel still lists the old versions, so the user cannot select or confirm the newly generated version until a later refetch/reload.

Useful? React with 👍 / 👎.

@hwangjokim
hwangjokim merged commit 2b8a4ea into main Jun 11, 2026
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.

1 participant