Skip to content

static js build fixes#133

Open
jokob-sk wants to merge 10 commits intoPierreCapo:masterfrom
netalertx:master
Open

static js build fixes#133
jokob-sk wants to merge 10 commits intoPierreCapo:masterfrom
netalertx:master

Conversation

@jokob-sk
Copy link

@jokob-sk jokob-sk commented Feb 2, 2025

disclaimer

Heavily helped by ChatGPT, please review carefully

@jokob-sk jokob-sk mentioned this pull request Feb 2, 2025
- Implemented Vitest as the testing framework with jsdom for DOM simulation.
- Created configuration files for Vitest and updated package.json with test scripts.
- Added comprehensive test structure with unit and integration tests covering core utilities and API configurations.
- Established testing best practices including organized test files, descriptive names, and reusable mock data.
- Introduced new test files for core utilities, node ancestors, data preparation, and utility functions.
- Ensured all test files adhere to maintainability standards with less than 500 LOC.
- Documented testing setup and best practices in TESTING_SETUP.md.
- Added instructions for running tests locally and outlined future improvements for testing coverage and performance benchmarks.
…ade-in effect

- Removed hardcoded link shape in example configuration.
- Added a new function to process label nodes, allowing for rich text rendering with <tspan>, <strong>, and <i> tags.
- Implemented label offset adjustments for different link shapes to improve positioning.
- Updated label rendering logic to handle both plain text and HTML-like content.
- Introduced a fade-in effect for link labels during transitions.
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