[8664] No visual error feedback for incorrect password on Session Expired login dialog #4899
[8664] No visual error feedback for incorrect password on Session Expired login dialog #4899jvega190 wants to merge 3 commits into
Conversation
…on Expired login dialog
|
Warning Review limit reached
More reviews will be available in 4 minutes and 31 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ 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 |
|
@coderabbitai can you check if everything looks good? Please give it a final review before I hand over for human review |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "=== PR Details ==="
gh pr view 4899 --repo craftercms/studio-ui --json title,body,state,additions,deletions,changedFiles,files,commits
echo ""
echo "=== PR Diff ==="
gh pr diff 4899 --repo craftercms/studio-uiLength of output: 6417 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "=== Full services/auth.ts ==="
cat ui/app/src/services/auth.ts
echo ""
echo "=== Full epics/auth.ts ==="
cat ui/app/src/state/epics/auth.ts
echo ""
echo "=== Palette file ==="
fd -e ts -e tsx "palette" --search-path ui/app/src/styles | head -5
fd -e ts -e tsx "palette" --search-path ui/app/src/styles -x cat {}
echo ""
echo "=== AuthMonitor.tsx full ==="
cat ui/app/src/components/AuthMonitor/AuthMonitor.tsx
echo ""
echo "=== reducers/auth.ts full ==="
cat ui/app/src/state/reducers/auth.ts
echo ""
echo "=== Check for error code 6004 constant ==="
rg -rn "6004" --type ts --type tsx -C2
echo ""
echo "=== Check reversePluckProps usage in epics/auth.ts ==="
rg -n "reversePluckProps" ui/app/src/state/epics/auth.tsLength of output: 23805
🔴 Issues1. Two unused imports in
- import { reversePluckProps } from '../../utils/object';
...
- import { catchAjaxError } from '../../utils/ajax';🟡 Minor suggestions2. Unnecessary Fragment in The - <>
- <Typography ...>
- ...
- </Typography>
- </>
+ <Typography ...>
+ ...
+ </Typography>3. Magic number The // reducers/auth.ts or a shared constants file
export const INCORRECT_CREDENTIALS_ERROR_CODE = 6004;Then import and use it in both the reducer and the component. 4.
- placeContent: 'center',
+ alignItems: 'center',5. Colour contrast (accessibility)
No blocking logic bugs found. Addressing the two unused imports ( |
craftercms/craftercms#8664