Release: Staging to Production - 2025.11.03 - #654
Conversation
## Summary - remove the unused Flagsmith environment variable from the copilot deployment template - refresh the visibility settings documentation to describe the new permission manager gating - prune Flagsmith references from the developer environment variable tables and historical release notes ## Testing - not run (documentation-only change) ------ https://chatgpt.com/codex/tasks/task_e_68de8e5768bc832ca6f4e55321b0718d
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ 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".
| import { ThemeProvider } from '@emotion/react' | ||
| import flagsmith from 'flagsmith' | ||
| import { FlagsmithProvider } from 'flagsmith/react' | ||
|
|
||
| import { darkModeTheme } from './theme' | ||
| import { AnswersProvider } from './AnswersContext' | ||
| import ChatExtensionWidget from './ChatExtensionWidget' | ||
| import { User } from 'types' | ||
| import { PermissionProvider } from './PermissionProvider' | ||
|
|
||
| const ExtensionContentApp = ({ apiUrl }: { apiUrl: string }) => { | ||
| return ( | ||
| <AnswersProvider user={{} as User} appSettings={{}} apiUrl={apiUrl}> | ||
| <FlagsmithProvider | ||
| options={{ | ||
| // @ts-expect-error | ||
| environmentID: process.env.FLAGSMITH_ENVIRONMENT_ID! | ||
| }} | ||
| flagsmith={flagsmith} | ||
| > | ||
| <PermissionProvider> | ||
| <ThemeProvider theme={darkModeTheme}> | ||
| <ChatExtensionWidget /> | ||
| </ThemeProvider> | ||
| </FlagsmithProvider> | ||
| </PermissionProvider> | ||
| </AnswersProvider> | ||
| ) | ||
| // React.useEffect(() => { |
There was a problem hiding this comment.
Wrap PermissionProvider with Auth0 UserProvider
The new PermissionProvider invokes useUser from @auth0/nextjs-auth0, which throws "You forgot to wrap your app in " when no UserProvider is present in the React tree. ExtensionContentApp now renders PermissionProvider directly under AnswersProvider with no UserProvider, so the widget will crash as soon as the provider mounts. This component either needs to be wrapped in UserProvider or PermissionProvider must handle the missing context.
Useful? React with 👍 / 👎.
Release Summary
Promoting staging to production with cleanup and documentation improvements.
Changes in This Release
🧹 Cleanup
/widgets/chatpage component📚 Documentation
Technical Details
Files Changed: 57 files
Key Areas Modified:
Testing
Deployment Notes
Related PRs
Release Date: November 3, 2025
Release Type: Minor cleanup and documentation update