-
-
Notifications
You must be signed in to change notification settings - Fork 76
CU-868f7n1u3 Fixing bugs and removing dropper for package. #245
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
Conversation
WalkthroughDropzone JS is commented out from the internal JavaScript bundle configuration in Startup.cs. A minor formatting tweak is made to the Countly user_details payload in resgrid.common.analytics.js. No functional logic or public API changes are introduced. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Pre-merge checks (2 passed, 1 warning)❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
Poem
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. ✨ Finishing Touches
🧪 Generate unit tests
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 |
|
Thanks for opening this, but we'd appreciate a little more information. Could you update it with more details? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
Web/Resgrid.Web/Startup.cs (1)
360-369: Orphaned Dropzone CSS: remove to avoid dead bytes.
dropzone.cssis still bundled while the JS is gone. If Dropzone is fully retired, drop the CSS too.- "lib/deltablot/dropzone/dist/dropzone.css", "css/style.css"); + "css/style.css");
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
Web/Resgrid.Web/Startup.cs(1 hunks)Web/Resgrid.Web/wwwroot/js/app/common/analytics/resgrid.common.analytics.js(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.cs
📄 CodeRabbit inference engine (.github/copilot-instructions.md)
**/*.cs: Prefer functional patterns and immutable data where appropriate in C#
Use modern C# features appropriately
Use meaningful, descriptive names for types, methods, and parameters; avoid unclear abbreviations
Separate state from behavior (e.g., use records for state and place operations in separate static classes)
Prefer pure methods over methods with side effects
Use extension methods appropriately for domain-specific operations
Design for testability; avoid hidden dependencies inside methods and prefer explicit, pure functions
Minimize constructor injection; keep the number of injected dependencies small
Prefer composition with interfaces to extend behavior
Files:
Web/Resgrid.Web/Startup.cs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
- GitHub Check: build
- GitHub Check: Analyze (csharp)
- GitHub Check: Analyze (javascript-typescript)
- GitHub Check: Analyze (javascript-typescript)
- GitHub Check: Analyze (csharp)
🔇 Additional comments (2)
Web/Resgrid.Web/Startup.cs (1)
381-383: ```shell
#!/bin/bash
set -euo pipefailecho "PWD: $(pwd)"
echo "--- ls -la (repo root) ---"
ls -la || trueecho "--- rg version ---"
rg --version || trueecho "--- Count files ---"
find . -type f | wc -l || trueecho "--- List some files (top levels) ---"
find . -maxdepth 3 -type f | sed -n '1,200p' || trueecho "--- Search for Dropzone JS API usages (ignore .gitignore disabled) ---"
rg -nP -S -uu -C2 '\bDropzone\b|new\s+Dropzone(|Dropzone.autoDiscover|Dropzone.options' || trueecho "--- Search for markup/CSS usages (case-insensitive) ---"
rg -nP -S -uu -C2 '\bdropzone\b' --ignore-case || trueecho "--- Search for asset references ---"
rg -nP -S -uu -C2 'dropzone.js|dropzone.css' || trueecho "--- Locate Startup.cs and print lines ~360-390 ---"
file=$(rg --files -uu | grep -i 'Startup.cs' | head -n1 || true)
if [ -n "$file" ]; then
echo "Found Startup.cs: $file"
sed -n '360,390p' "$file" || true
else
echo "Startup.cs not found"
fi</blockquote></details> <details> <summary>Web/Resgrid.Web/wwwroot/js/app/common/analytics/resgrid.common.analytics.js (1)</summary><blockquote> `25-26`: **LGTM on formatting tweak.** No behavior change; payload remains identical. </blockquote></details> </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
|
Approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is approved.
Summary by CodeRabbit
New Features
Chores
Style