-
Notifications
You must be signed in to change notification settings - Fork 24
Replace window.confirm with custom ConfirmDialog #259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Replace window.confirm with custom ConfirmDialog #259
Conversation
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
✅ Deploy Preview for split-but-wiser ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
|
@coderabbitai review this with pr #256, #258 |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain
🏁 Script executed: Length of output: 19879 🏁 Script executed: Length of output: 13299
Key Differences1. Variants Support
2. Props Naming
3. Accessibility Implementation
4. Styling & UI
5. GroupDetails Usage
6. Documentation
7. Issues
RecommendationProceed with PR
Would you like me to help close PR |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain
🏁 Script executed: Length of output: 3762 I can see that all three PRs are attempting to implement the same feature - replacing 🏁 Script executed: Length of output: 4913 🏁 Script executed: Length of output: 503 🏁 Script executed: Length of output: 5867
SummaryAll three PRs aim to replace
Key Differences: PR
|
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain
🏁 Script executed: Length of output: 3806 Let me examine the actual implementation differences between these PRs: 🏁 Script executed: Length of output: 1037 🏁 Script executed: Length of output: 6620
PR Comparison
Key DifferencesPR
PR
PR
RecommendationClose PR
Would you like me to review PR |
Implemented a global
ConfirmContextandConfirmDialogcomponent to replace nativewindow.confirmalerts with a dual-theme accessible modal.Key changes:
web/components/ui/ConfirmDialog.tsxwrappingModalwith "danger" and "info" variants.web/contexts/ConfirmContext.tsxproviding a Promise-basedconfirm()function.web/App.tsxto includeConfirmProvider.web/pages/GroupDetails.tsxto useawait confirm(...)for deleting expenses, groups, and members.web/components/ui/Modal.tsxaccessibility by addingrole="dialog"andaria-modal="true".PR created automatically by Jules for task 3929385471900353896 started by @Devasy23