Skip to content

feat(shortcode): full feature parity with block editor + shortcode reference docs#40

Merged
techtimo merged 2 commits intomainfrom
feat/shortcode-docs-and-parity
Apr 11, 2026
Merged

feat(shortcode): full feature parity with block editor + shortcode reference docs#40
techtimo merged 2 commits intomainfrom
feat/shortcode-docs-and-parity

Conversation

@techtimo
Copy link
Copy Markdown
Owner

Summary

  • Add scroll-wheel-zoom and enable-panning shortcode attributes to [spotmap] — these were block-editor-only until now
  • Change [spotmessages] default group from empty to type,feed_name
  • Document relative date-range values (last-7-days, last-30-minutes, etc.) including the "hide live position" pattern (date-range-to="last-30-minutes")
  • Add README-SHORTCODE.md — full attribute reference for both shortcodes with examples, mapcenter values, navigation button behaviour, and relative time format
  • Add ## Shortcodes section to pluginreadme.md stating feature parity and linking to the reference doc on GitHub

Test plan

  • Verify [spotmap scroll-wheel-zoom="false"] disables mouse-wheel zoom
  • Verify [spotmap enable-panning="false"] disables drag-to-pan
  • Verify [spotmessages] now groups by type and feed by default
  • Verify [spotmap date-range-from="last-2-hours"] returns only recent points
  • Verify [spotmap date-range-to="last-30-minutes"] excludes the most recent points

…docs

- Add scroll-wheel-zoom and enable-panning shortcode attributes
- Change spotmessages group default to type,feed_name
- Document relative date-range values (last-7-days, last-30-minutes, etc.)
- Add README-SHORTCODE.md with full attribute reference for both shortcodes
- Add Shortcodes section to pluginreadme.md linking to README-SHORTCODE.md
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@techtimo techtimo merged commit dbf070f into main Apr 11, 2026
3 checks passed
@techtimo techtimo deleted the feat/shortcode-docs-and-parity branch April 11, 2026 21:09
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