Conversation
📝 WalkthroughWalkthroughThe pull request removes the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Poem
🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 warning)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (3)
vite.config.ts (1)
125-133: Remove commented-out dead code.The commented-out
manualChunksblock should be removed rather than left in the codebase. If you need to restore chunking behavior, the fix above provides a working implementation.resources/js/composables/photo.ts (1)
1-1: Consider scoping the eslint-disable more narrowly.A blanket
@typescript-eslint/no-explicit-anydisable for the entire file is broad. Consider using inline// eslint-disable-next-linecomments only where necessary, or defining proper types/interfaces for the photo and options parameters to improve maintainability.resources/js/views/gallery-panels/Map.vue (1)
131-132: The@ts-expect-errorcomment may no longer be needed.Since
clusterFunc()is now a typed function from your own codebase (rather than an untypedL.photo.cluster()), this suppression comment might be removable. Verify if TypeScript still complains after removing it.♻️ Proposed fix
- // `@ts-expect-error` Leaflet.Photo is not typed photoLayer.value = clusterFunc().on("click", function (e: MapClickEvent) {
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4fa49a20-1268-4375-9d6f-07414cd8984f
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (6)
package.jsonresources/js/composables/photo.tsresources/js/services/sidebar-map.tsresources/js/views/gallery-panels/Map.vueresources/sass/app.cssvite.config.ts
💤 Files with no reviewable changes (3)
- resources/js/services/sidebar-map.ts
- package.json
- resources/sass/app.css
Summary by CodeRabbit
Release Notes
Refactor
Style
Chores