Skip to content

Enhance user feedback and micro-interactions across the UI#340

Open
Athina09 wants to merge 24 commits intocore-stack-org:mainfrom
Athina09:feat/agrohorticulture-dropdown-ui
Open

Enhance user feedback and micro-interactions across the UI#340
Athina09 wants to merge 24 commits intocore-stack-org:mainfrom
Athina09:feat/agrohorticulture-dropdown-ui

Conversation

@Athina09
Copy link

Summary

This PR improves user feedback and micro-interactions across the UI so actions feel more responsive and clear. It adds consistent loading indicators, non-blocking success/error messages, and subtle motion for key interactions.

Problem it Solves

Our UI currently provides limited feedback during user actions, which can make the experience feel unresponsive or unclear. Users often see blank or static states while data is loading and get blocking alert() dialogs instead of contextual confirmations. This work introduces consistent, polished feedback so users always understand what is happening and feel confident that their actions are working.

Changes

  • Loading states

    • Replace blank or static areas during data fetching with clear loading indicators (spinner/overlay and skeleton utilities) in key views.
    • Ensure loading indicators are visually consistent in size, color, and placement.
  • Success / error / toast messages

    • Introduce a global toast system for brief, non-blocking confirmations after important actions (create, update, delete, submit, download).
    • Use consistent patterns for:
      • Placement (top-right toaster)
      • Variants (success, error, etc.)
      • Duration and dismiss behavior.
    • Replace blocking alert() usages with specific, actionable error messages where appropriate.
  • Transitions & animations

    • Add subtle transitions (~150–250ms) around key interactions where relevant (e.g. loading overlays, hover states), keeping motion lightweight and performant.
    • Ensure animations do not interfere with interactions and remain accessible.

Non-goals

  • Large-scale visual redesign or rebranding.
  • Changing core navigation structure or information architecture.

Test Plan

  • Trigger data-loading flows in updated screens and verify:
    • Users see a clear loading indicator instead of a blank or frozen-looking state.
    • The indicator disappears as soon as content is ready.
  • Perform important actions (e.g., download, submit, save) and verify:
    • A success or error toast appears in the top-right with appropriate messaging.
    • No blocking alerts are shown for these flows.
  • Check that transitions/animations:
    • Feel smooth and brief (no jarring or long-running animations).
    • Do not block clicks, keyboard navigation, or screen reader usage.

apple added 24 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
Add a global toast system and map loading overlay so key actions and slow operations provide clearer, consistent feedback.

Made-with: Cursor
- normalizeMwsFeatures handles single OL or GeoJSON feature (wrap to array)
- Dashboard mwsForMap always passes array of all matched MWS for basemap
- Terrain and drainage layers crop to full project area (all micro-watersheds)

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