Conversation
📝 WalkthroughSummary by CodeRabbit
WalkthroughInserted PromptDeploymentView into SettingsPanel; modified outer wrapper, ContactUsView alignment/styling, and Router icon sizing in the enterprise fallback prompt view; and added a Tailwind Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
f1f9a6a to
e604a81
Compare
ad44de0 to
d1ea419
Compare
2452907 to
ec4a3c5
Compare
d1ea419 to
3627ca6
Compare
ec4a3c5 to
d139c6c
Compare
3627ca6 to
07c974f
Compare
d139c6c to
a9b323a
Compare
8bdc181 to
a512710
Compare
00cb164 to
e634f42
Compare
3932074 to
d97fd81
Compare
36a9229 to
2e358b7
Compare
d97fd81 to
96c07d5
Compare
2e358b7 to
ea4750f
Compare
805694b to
576eb0a
Compare
28f364c to
671d7af
Compare
a6207ca to
66f0442
Compare
671d7af to
b1d2ef0
Compare
66f0442 to
c69e6bd
Compare
a7aa89a to
a4751ee
Compare
There was a problem hiding this comment.
♻️ Duplicate comments (1)
ui/app/globals.css (1)
6-6:⚠️ Potential issue | 🟠 MajorStylelint still needs Tailwind v4 at-rule allowlisting for Line 6.
This looks like the same unresolved blocker previously flagged:
@sourceis valid for Tailwind v4, butscss/at-rule-no-unknownwill fail unlesssourceis whitelisted in stylelint config.#!/bin/bash # Verify stylelint rule configuration for Tailwind v4 at-rules (read-only). # Expected: scss/at-rule-no-unknown includes "source" in ignoreAtRules. fd -HI 'stylelint.config.*|.stylelintrc.*' | while read -r f; do echo "---- $f ----" rg -n -C3 'scss/at-rule-no-unknown|ignoreAtRules|source|tailwind|apply|theme|utility|variant|custom-variant|plugin|reference' "$f" doneAs per coding guidelines, "always check the stack if there is one for the current PR. do not give localized reviews for the PR, always see all changes in the light of the whole stack of PRs (if there is a stack, if there is no stack you can continue to make localized suggestions/reviews)".
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@ui/app/globals.css` at line 6, The `@source` at-rule on line referencing "@source" in ui/app/globals.css is valid in Tailwind v4 but will be flagged by the scss/at-rule-no-unknown rule; update your Stylelint config (stylelint.config.* or .stylelintrc.*) to add "source" to the scss/at-rule-no-unknown.ignoreAtRules array (or equivalent ignoreAtRules setting) so the `@source` at-rule is allowlisted, and re-run the verification script provided to confirm "source" appears in ignoreAtRules.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Duplicate comments:
In `@ui/app/globals.css`:
- Line 6: The `@source` at-rule on line referencing "@source" in
ui/app/globals.css is valid in Tailwind v4 but will be flagged by the
scss/at-rule-no-unknown rule; update your Stylelint config (stylelint.config.*
or .stylelintrc.*) to add "source" to the scss/at-rule-no-unknown.ignoreAtRules
array (or equivalent ignoreAtRules setting) so the `@source` at-rule is
allowlisted, and re-run the verification script provided to confirm "source"
appears in ignoreAtRules.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 3365a1f1-d4ce-45e4-af31-364e9352e98c
📒 Files selected for processing (3)
ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsxui/app/globals.cssui/components/prompts/fragments/settingsPanel.tsx
✅ Files skipped from review due to trivial changes (2)
- ui/components/prompts/fragments/settingsPanel.tsx
- ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsx
a4751ee to
10865dd
Compare
8ab486e to
1a73c1b
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@ui/app/globals.css`:
- Line 6: Update the `@source` import in ui/app/globals.css to point at the
enterprise component folder; replace the incorrect
"../../../bifrost-enterprise/ui/**/*.tsx" value used in the `@source` declaration
with the correct relative path "../app/_fallbacks/enterprise/**/*.tsx" so
Tailwind will scan the enterprise component .tsx files.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 9bc44ff3-4d45-45d2-9e4c-e6e4246256d4
📒 Files selected for processing (3)
ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsxui/app/globals.cssui/components/prompts/fragments/settingsPanel.tsx
✅ Files skipped from review due to trivial changes (1)
- ui/components/prompts/fragments/settingsPanel.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
- ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsx
1a73c1b to
9f01c3f
Compare
0a82df2 to
aac5b15
Compare
2c77290 to
684cf74
Compare
aac5b15 to
38a5bde
Compare
38a5bde to
f139ac8
Compare
684cf74 to
5465c4e
Compare
There was a problem hiding this comment.
🧹 Nitpick comments (1)
ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsx (1)
8-9: Drop redundantjustify-startfrom caller className.
align="top"already maps tojustify-startinsideContactUsView, so keeping both duplicates layout responsibility across components.Suggested cleanup
<ContactUsView align="top" - className="justify-start gap-3 rounded-md border p-4" + className="gap-3 rounded-md border p-4" icon={<Router className="h-8 w-8" strokeWidth={1.5} />}🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsx` around lines 8 - 9, Remove the redundant "justify-start" utility from the className on the caller component in promptDeploymentView.tsx (the element with className="justify-start gap-3 rounded-md border p-4") because align="top" already causes ContactUsView to apply justify-start; keep the other utilities (gap-3, rounded-md, border, p-4) intact so only "justify-start" is deleted to avoid duplicate layout responsibility between the caller and ContactUsView.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In
`@ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsx`:
- Around line 8-9: Remove the redundant "justify-start" utility from the
className on the caller component in promptDeploymentView.tsx (the element with
className="justify-start gap-3 rounded-md border p-4") because align="top"
already causes ContactUsView to apply justify-start; keep the other utilities
(gap-3, rounded-md, border, p-4) intact so only "justify-start" is deleted to
avoid duplicate layout responsibility between the caller and ContactUsView.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 54b510b0-2609-422d-818e-b244529716e9
📒 Files selected for processing (3)
ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsxui/app/globals.cssui/components/prompts/fragments/settingsPanel.tsx
✅ Files skipped from review due to trivial changes (1)
- ui/components/prompts/fragments/settingsPanel.tsx
f139ac8 to
ee19296
Compare
5465c4e to
3df2fd7
Compare
There was a problem hiding this comment.
♻️ Duplicate comments (1)
ui/app/globals.css (1)
6-6:⚠️ Potential issue | 🟡 MinorThis issue was already flagged in a previous review.
The path
../../../bifrost-enterprise/ui/**/*.tsxwas verified to not exist (see past review verification script results).Additionally, this line appears redundant: line 4 already scans
../app/**/*.tsx, which includes bothapp/enterprise(symlinked enterprise source per vite.config.mts) andapp/_fallbacks/enterprise(fallback implementations). The component mentioned in the PR summary (promptDeploymentView.tsx) is located in the fallbacks directory and is already covered by line 4's glob pattern.Recommendation: Remove this line entirely, as the existing
@sourcedirective at line 4 already covers enterprise component files.🗑️ Proposed fix: remove the redundant line
`@source` "../app/**/*.tsx"; `@source` "../node_modules/streamdown/dist/*.js"; -@source "../../../bifrost-enterprise/ui/**/*.tsx";🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@ui/app/globals.css` at line 6, Remove the redundant `@source` directive that references "../../../bifrost-enterprise/ui/**/*.tsx" from ui/app/globals.css; the existing `@source` "../app/**/*.tsx" already covers enterprise and fallback components (including promptDeploymentView.tsx), so delete the line containing the "../../../bifrost-enterprise/ui/**/*.tsx" `@source` directive to avoid referencing a non-existent path.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Duplicate comments:
In `@ui/app/globals.css`:
- Line 6: Remove the redundant `@source` directive that references
"../../../bifrost-enterprise/ui/**/*.tsx" from ui/app/globals.css; the existing
`@source` "../app/**/*.tsx" already covers enterprise and fallback components
(including promptDeploymentView.tsx), so delete the line containing the
"../../../bifrost-enterprise/ui/**/*.tsx" `@source` directive to avoid referencing
a non-existent path.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: e3fc4321-0778-4ca6-a18d-4ef25ee559ad
📒 Files selected for processing (3)
ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsxui/app/globals.cssui/components/prompts/fragments/settingsPanel.tsx
✅ Files skipped from review due to trivial changes (1)
- ui/components/prompts/fragments/settingsPanel.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
- ui/app/_fallbacks/enterprise/components/prompt-deployments/promptDeploymentView.tsx
Merge activity
|
The base branch was changed.

Summary
Integrates the prompt deployments enterprise feature into the UI by adding the PromptDeploymentView component to the settings panel and updating its visual styling.
Changes
Type of change
Affected areas
How to test
Verify the prompt deployments enterprise feature appears in the settings panel with proper styling.
Navigate to the prompts page and open the settings panel to verify the PromptDeploymentView component renders correctly with the updated card-style layout.
Screenshots/Recordings
The PromptDeploymentView now appears as a compact card in the settings panel instead of a full-height centered view.
Breaking changes
Related issues
Related to enterprise prompt deployments feature integration.
Security considerations
No security implications - this is a UI enhancement for displaying enterprise feature information.
Checklist
docs/contributing/README.mdand followed the guidelines