Skip to content

Map banners - #897

Merged
digitaltom merged 4 commits into
mainfrom
map_banners
Sep 20, 2026
Merged

digitaltom merged 4 commits into
mainfrom
map_banners

Conversation

@digitaltom

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings September 19, 2026 21:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved critical security and clustering issues, plus a moderate scaling issue, block approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 High severity

Open (2)
What changed in this PR

Adds configurable description banners for map point features, with banner, square, and bubble styles.

Changes:

  • Adds editing controls, persistence, translations, and documentation.
  • Renders and synchronizes description banners with GeoJSON features.
  • Adds styling, scaling, visibility handling, and feature specs.
File Summary
spec/​features/​feature_edit_point_spec.rb Tests description-banner editing.
locale/​de/​app.po Adds German translations.
locale/​app.pot Updates translation catalog.
docs/​tutorials/​geojson_style_spec.md Documents show-desc.
app/​views/​maps/​modals/​feature/​_edit_ui.haml Adds banner-selection controls.
app/​javascript/​maplibre/​styles/​styles.js Handles marker scaling and outlines.
app/​javascript/​maplibre/​map.js Integrates visibility and zoom handling.
app/​javascript/​maplibre/​layers/​geojson/​desc_banners.js Creates and manages description banners.
app/​javascript/​maplibre/​layers/​geojson.js Integrates banners with GeoJSON lifecycle.
app/​javascript/​maplibre/​feature.js Synchronizes feature controls.
app/​javascript/​controllers/​feature/​modal_controller.js Synchronizes descriptions and controls.
app/​javascript/​controllers/​feature/​edit_controller.js Persists selected banner shapes.
app/​assets/​stylesheets/​map.css Styles banner variants and scaling.
app/​assets/​stylesheets/​feature.css Styles feature controls.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread app/javascript/maplibre/layers/geojson/desc_banners.js Outdated
Comment thread app/javascript/maplibre/layers/geojson/desc_banners.js
* origin/main:
  add warning popup for non logged in map owners
  improve tooltips
  introduce a 'featured' flag to show maps on frontpage
  frontpage fixes
  frontpage work

# Conflicts:
#	locale/app.pot

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Moderate banner performance, visibility, touch interaction, and scaling issues remain unresolved.

Review effort: Lite
Findings: 1 High severity

Open (1)
Resolved since last review (1)

@digitaltom
digitaltom merged commit 977bf91 into main Sep 20, 2026
10 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.

2 participants