Skip to content

refactor: migrate zones#1300

Merged
Azgaar merged 4 commits intoAzgaar:masterfrom
SheepFromHeaven:refactor/migrate-zones
Feb 3, 2026
Merged

refactor: migrate zones#1300
Azgaar merged 4 commits intoAzgaar:masterfrom
SheepFromHeaven:refactor/migrate-zones

Conversation

@SheepFromHeaven
Copy link
Collaborator

Description

Type of change

  • Bug fix
  • New feature
  • Refactoring / style
  • Documentation update / chore
  • Other (please describe)

Versioning

  • Version is updated
  • Changed files hash is updated

@netlify
Copy link

netlify bot commented Jan 31, 2026

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit a0fcdc4
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/6980ae825a33fc00086631a7
😎 Deploy Preview https://deploy-preview-1300--afmg.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 project configuration.

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 PR migrates the zones generator module from JavaScript to TypeScript, adding type safety and fixing two bugs in the process.

Changes:

  • Migrated public/modules/zones-generator.js to TypeScript as src/modules/zones-generator.ts
  • Added Zone interface and proper type definitions
  • Updated PackedGraph type to include zones and markers arrays
  • Removed old JavaScript file and corresponding script tag from index.html

Reviewed changes

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

Show a summary per file
File Description
src/modules/zones-generator.ts New TypeScript implementation of the zones generator module with proper types, class structure, and bug fixes
src/types/PackedGraph.ts Added Zone type import and zones/markers properties to the PackedGraph interface
src/modules/index.ts Added import for the new zones-generator TypeScript module
src/index.html Removed old JavaScript script tag for zones-generator.js
public/modules/zones-generator.js Deleted - migrated to TypeScript

@Azgaar Azgaar merged commit 8ba29b2 into Azgaar:master Feb 3, 2026
7 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