Feat(webapp) chat AI UI improvements, new task landing pages and side menu#3941
Feat(webapp) chat AI UI improvements, new task landing pages and side menu#3941samejr wants to merge 132 commits into
Conversation
Conflicts: - AgentMessageView.tsx, AgentView.tsx: kept both sides. - schedules/route.tsx: deletion preserved; the purchase modal and usage bar have been moved into the Scheduled Task landing page with a new shared resource action route. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
|
Important Review skippedToo many files! This PR contains 152 files, which is 2 over the limit of 150. To get a review, narrow the scope: ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (152)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| {/* {isUsingPlugin && ( */} | ||
| {/* {featureFlags.hasPrivateConnections && ( */} | ||
| <SideMenuItem | ||
| name="Private Connections" | ||
| icon={PadlockIcon} | ||
| activeIconColor="text-text-bright" | ||
| inactiveIconColor="text-text-dimmed" | ||
| to={v3PrivateConnectionsPath(organization)} | ||
| data-action="private-connections" | ||
| /> | ||
| {/* )} */} | ||
| <SideMenuItem | ||
| name="Roles" | ||
| icon={RolesIcon} | ||
| activeIconColor="text-text-bright" | ||
| inactiveIconColor="text-text-dimmed" | ||
| to={organizationRolesPath(organization)} | ||
| data-action="roles" | ||
| /> | ||
| {/* )} */} |
There was a problem hiding this comment.
🚩 Feature flag guards for Private Connections and Roles removed from sidebar — routes still guard access
The hasPrivateConnections feature flag guard and the isUsingPlugin guard for Roles have been commented out (apps/webapp/app/components/navigation/OrganizationSettingsSideMenu.tsx:124-143), making both menu items visible to all users regardless of their entitlements. This is not a bug because the route loaders themselves still enforce access: _app.orgs.$organizationSlug.settings.private-connections._index/route.tsx calls canAccessPrivateConnections() (which checks the hasPrivateConnections feature flag in apps/webapp/app/v3/canAccessPrivateConnections.server.ts), and the Roles route checks rbac.isUsingPlugin(). However, users without access will now see a link in the sidebar that leads to a page that may redirect or show an error/upsell, which could be a confusing UX. The commented-out guards ({/* {isUsingPlugin && ( */}, {/* {featureFlags.hasPrivateConnections && ( */}) suggest this might be a WIP change that needs cleanup before merge.
Was this helpful? React with 👍 or 👎 to provide feedback.
Closes #
✅ Checklist
Testing
[Describe the steps you took to test this change]
Changelog
[Short description of what has changed]
Screenshots
[Screenshots]
💯