Skip to content

Dash pie map - #7

Merged
JetSquirrel merged 3 commits into
mainfrom
dash-pie-map
Sep 29, 2026
Merged

JetSquirrel merged 3 commits into
mainfrom
dash-pie-map

Conversation

@JetSquirrel

Copy link
Copy Markdown
Owner

add more type of dashboard to .dash

  • pie
  • map

JetSquirrel and others added 3 commits September 29, 2026 19:04
"Open With", a double-clicked .dash and a drop on the Dock icon arrive as
file:// URLs through the platform's openURLs callback, on launch and while
running. The callback has no App context, so it queues the decoded paths and
the root view drains them on a short poll, opening them the way a drop on the
window does: an app folder as an app tab, a .dash as a dashboard, anything
else as data. Info.plist declares the .dash type so Finder offers DuckLocal
for it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The v0.7.0 upgrade pinned the four gpui-kit crates by tag, and
scripts/check-deps.sh only recognises rev pins, so CI has failed on it since.
Pin the commit the tag names, 0c830f4d: the same code, in the form the check
enforces.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A .dash plot can now be a pie or a map, drawn by the same code as the
results chart's. A pie takes x as its slices and y as their sizes, keeps
every band (merging or dropping one would make the shares wrong) and folds
past eight slices into "other". A map takes lat and lng in place of x and y,
found by column name when left out, and an optional color column.

check rejects the attributes a type has no use for (a map's x, a line's lat,
a pie's series), and with --database verifies the new columns exist and that
coordinates are numeric. Highlighting, completion, hover, check's JSON and
the skill's reference know the new types and attributes.

GeoData moves behind an Arc so a dashboard can prepare it off the UI thread.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@JetSquirrel
JetSquirrel merged commit 7db9f63 into main Sep 29, 2026
3 checks passed
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.

1 participant