Skip to content

feat(landscape-explorer): add layer search filter in sidebar#361

Open
Athina09 wants to merge 17 commits intocore-stack-org:mainfrom
Athina09:feat/layer-search
Open

feat(landscape-explorer): add layer search filter in sidebar#361
Athina09 wants to merge 17 commits intocore-stack-org:mainfrom
Athina09:feat/layer-search

Conversation

@Athina09
Copy link
Copy Markdown

Adds a small “Search layers…” input to the right sidebar layer list so users can quickly find layers within the selected category. Filtering matches layer label/name (case-insensitive). UI-only change.

Changes
Adds a search input above the category layer list
Filters displayed layers by layer.label / layer.name
Shows an empty state when no layers match
Test plan
Open the app and select state, district, and tehsil.
In each category tab, type into “Search layers…” and confirm the list filters correctly.
Toggle a filtered layer ON/OFF and confirm map behavior is unchanged.
Verify downloads still work for a filtered layer.

apple added 17 commits March 7, 2026 13:40
…andscape visible

- Make scroll container explicit (flex layout, main scrolls only)
- Use scroll-snap proximity and GPU layer for smoother scroll
- Replace backdrop-blur on sections with bg-white/10 to reduce jank
- Fix layout: h-screen + navbar + footer so first section shows below navbar
- Add landing-scroll-container CSS (scroll-padding, -webkit-overflow-scrolling)
- Semantic structure: header, main, footer with shrink-0 for stable layout

Made-with: Cursor
…l-behavior, scroll-margin

Made-with: Cursor
Adds a lightweight search box to filter layers by label/name in the right sidebar, making it faster to find layers without API changes.

Made-with: Cursor
…and deduplicating in-flight requests.

This reduces repeated GeoJSON fetches for the same layer URL, lowers server load, and adds a force-refresh path when fresh data is needed.

Made-with: Cursor
OpenLayers setStyle replaces the previous style; apply the default blue fill
only when layer_store is not panchayat_boundaries.

Made-with: Cursor
Dispatch VECTOR_LAYER_LOAD_ERROR_EVENT from getVectorLayers on HTTP errors,
fetch failures, and invalid GeoJSON; Map listens and merges into layerErrors.
Add dismiss control for the notification panel.

Made-with: Cursor
Use OpenLayers vector loader callbacks so featuresloadend/error fire correctly.
Remove unused url option with custom loader. Prune expired cache entries on
fetch. Parse features with featureProjection like the built-in XHR loader.

Made-with: Cursor
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