Skip to content

Conversation

@rdhyee
Copy link
Contributor

@rdhyee rdhyee commented Nov 1, 2025

Summary

Reorganized the Cesium tutorial to show query results immediately after clicking a point, before scrolling through technical explanations.

Changes

  • Moved "Samples at Location via Sampling Event" section (HTML table output) to appear directly after "getGeoRecord (selected)" section
  • Moved "Understanding Paths in the iSamples Property Graph" to appear after the results table
  • Removed duplicate output section from old location

Benefits

  • ✅ Users see results immediately without scrolling through explanations
  • ✅ Technical details remain available below for those interested
  • ✅ Cleaner, more intuitive information hierarchy
  • ✅ Better mobile experience (less scrolling to see results)

Testing

  • ✅ Tested locally with Quarto preview
  • ✅ Verified with Playwright that page structure is correct
  • ✅ Confirmed "On this page" navigation shows new order:
    1. getGeoRecord (selected)
    2. Samples at Location via Sampling Event ← NOW HERE
    3. Understanding Paths in the iSamples Property Graph

Visual Confirmation

Page loads correctly with reorganized structure. The output table now appears immediately after clicking a point, without requiring scroll through technical documentation.


🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

rdhyee and others added 3 commits November 1, 2025 10:48
Reorganized Cesium tutorial to show query results immediately after
clicking a point, before technical explanations.

Changes:
- Moved "Samples at Location" section (HTML table output) directly
  after "getGeoRecord (selected)" section
- "Understanding Paths in the iSamples Property Graph" now appears
  after results
- Removed duplicate output section from old location

Benefits:
- Users see results immediately without scrolling through explanations
- Technical details remain available below for those interested
- Cleaner, more intuitive information hierarchy

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Wraps the color-coding classification query in try-catch to handle
intermittent DuckDB-WASM HTTP range request errors when querying
large remote parquet files.

Changes:
- Added try-catch around classification query execution
- Logs user-friendly error messages to console instead of crashing
- Page remains functional even if classification fails
- Provides helpful tips about retrying or using local cached file

Fixes occasional "Range request...offset is out of bounds" errors
that occur due to DuckDB-WASM limitations with remote files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Added //| output: false directive to three Observable cells that
execute side effects but don't return values, which were displaying
"undefined" on the page.

Fixed cells:
- Camera initialization (PKAP view setup)
- Geocode search handler
- Classification button handler

These cells only perform side effects (camera control, event handling),
so their output should be suppressed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@rdhyee rdhyee merged commit 1d28ee3 into isamplesorg:main Nov 1, 2025
1 check 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