Skip to content

fix: add back draw geometry button - #513

Merged
bdjulbic merged 1 commit into
mainfrom
fix/add-map-draw-button
Apr 3, 2026
Merged

bdjulbic merged 1 commit into
mainfrom
fix/add-map-draw-button

Conversation

@bdjulbic

@bdjulbic bdjulbic commented Apr 2, 2026 •

Copy link
Copy Markdown
Collaborator

Add back draw geometry button

Screenshot 2026-04-02 at 13 56 23

Summary by CodeRabbit

  • Chores
    • Updated default UI control state initialization to include the map drawing control configuration with default visibility and activation settings.

@coderabbitai

coderabbitai Bot commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4d2b7ffc-f4d0-4caf-adcd-4245db401ef9

📥 Commits

Reviewing files that changed from the base of the PR and between aca33f8 and 2f024ef.

📒 Files selected for processing (1)
  • packages/kepler/src/KeplerSlice.ts

📝 Walkthrough

Walkthrough

A new mapDraw control entry is added to the default Kepler state initialization within mapControls, setting initial visibility to true and active state to false alongside existing map legend and toggle3d controls.

Changes

Cohort / File(s) Summary
Default State Configuration
packages/kepler/src/KeplerSlice.ts
Added mapDraw entry to uiState.mapControls with show: true and active: false to initialize map draw control visibility and activation state in default state.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A drawing tool joins the map's embrace,
In Kepler's state, it finds its place,
Dormant but visible, ready to share,
The power to mark what matters there! 🗺️✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: add back draw geometry button' directly matches the main change: adding back the mapDraw entry to the UI control state for the geometry drawing button.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/add-map-draw-button

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bdjulbic
bdjulbic merged commit 0e74352 into main Apr 3, 2026
4 checks passed
@bdjulbic
bdjulbic deleted the fix/add-map-draw-button branch April 3, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants