Skip to content

Conversation

@Arbyhisenaj
Copy link
Member

Screenshot 2026-01-21 at 17 55 40 (2) updating design to remove colours connected to types

Description

Motivation and Context

How Can It Be Tested?

How Will This Be Deployed?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I've checked the spec (e.g. Figma file) and documented any divergences.
  • My code follows the code style of this project.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I've updated the documentation accordingly.
  • Replace unused checkboxes with bullet points.

@Arbyhisenaj Arbyhisenaj requested a review from joaquimds January 21, 2026 17:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the design system to remove type-based colors and introduces customizable colors for markers, folders, and data sources. It also adds the ability to switch between cluster and heatmap display modes for marker data sources.

Changes:

  • Added color customization for markers, placed markers, and folders with a new ColorPalette component
  • Introduced marker display modes (clusters/heatmap) with visual toggle in context menus
  • Redesigned DataSourceItem component with neutral color scheme and improved layout

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/server/models/Map.ts Added MarkerDisplayMode enum and new optional config fields for colors and display modes
src/server/trpc/routers/map.ts Updated config mutation to handle new color and display mode fields
src/components/ColorPalette.tsx New component providing a color picker with 12 predefined colors
src/components/DataSourceItem.tsx Redesigned UI with neutral colors, improved spacing, and sorted metadata display
src/app/map/[id]/components/controls/DataSourceItem.tsx Added color picker and display mode toggle (cluster/heatmap) to context menu
src/app/map/[id]/components/controls/MarkersControl/SortableMarkerItem.tsx Added color customization via context menu for individual markers
src/app/map/[id]/components/controls/MarkersControl/SortableFolderItem.tsx Added folder color picker that propagates to all markers in the folder
src/app/map/[id]/components/controls/MarkersControl/MarkersList.tsx Updated drag-and-drop to inherit folder colors and display custom colors in overlay
src/app/map/[id]/components/controls/MarkersControl/MarkerDragOverlay.tsx Updated to display custom marker colors during drag operations
src/app/map/[id]/components/controls/ControlWrapper.tsx Added support for custom colors via new color prop
src/app/map/[id]/components/PlacedMarkers.tsx Updated to render markers with custom colors from config
src/app/map/[id]/components/Markers.tsx Implemented heatmap display mode with custom color gradients and conditional rendering
src/app/(private)/data-sources/components/UserDataSourcesList.tsx Updated to sort data sources by import date and simplified header styling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ev-sc ev-sc merged commit 2a4100e into main Jan 25, 2026
1 check passed
@ev-sc ev-sc deleted the design/updating-ds-page branch January 25, 2026 20:33
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.

3 participants