Skip to content

UI refactoring#315

Closed
IanMayo wants to merge 22 commits intomainfrom
UI-refactoring
Closed

UI refactoring#315
IanMayo wants to merge 22 commits intomainfrom
UI-refactoring

Conversation

@IanMayo
Copy link
Copy Markdown
Member

@IanMayo IanMayo commented Apr 2, 2025

Refactor the more complex UI components

Copilot AI review requested due to automatic review settings April 2, 2025 12:31
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 2, 2025

Deploy Preview for reactol ready!

Name Link
🔨 Latest commit 2dd8bfc
🔍 Latest deploy log https://app.netlify.com/sites/reactol/deploys/67ed419141b0af0008217629
😎 Deploy Preview https://deploy-preview-315--reactol.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Copy Markdown
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 PR refactors and enhances several UI components and related hooks to improve modularity, testability, and organization of the code. Key changes include refactoring tests and UI component hooks, adding a new GeoJSON validation helper with tests, and updating various UI elements such as tree views and toolbars to use shared components and constants.

Reviewed Changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.

File Description
tests/details/add-zone.spec.ts Updated test flow for adding zones with modified wait and element interactions
src/helpers/geoJSONValidation.ts & src/helpers/tests/geoJSONValidation.test.ts Added a helper to validate GeoJSON data and corresponding tests
src/components/Layers/* Refactored hooks and UI components (Track management, selection, keyboard handlers, feature creation, tree view, toolbar, etc.) to improve cohesion and integration
src/components/GraphsPanel/index.tsx Updated to use the new FeatureIcon component for improved consistency

@IanMayo
Copy link
Copy Markdown
Member Author

IanMayo commented Apr 2, 2025

Drop this, there were some onsolveable issues

@IanMayo IanMayo closed this Apr 2, 2025
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