13 Commits

Author SHA1 Message Date
Ivan
e6e26e31cb feat(MicronParser): improve resilience by adding error handling for parse failures and implement HTML escaping for fallback content 2026-04-07 15:11:27 -05:00
Ivan
dead9b0921 test(tests): increase timeout threshold for MicronParser performance test 2026-03-31 00:33:21 +03:00
Ivan
a1a480a153 Refactor test mocks in various components to use function constructors instead of arrow functions for improved compatibility with Vitest 4. 2026-03-22 15:09:17 +03:00
Sudo-Ivan
8a362a94be Revert MicronParser.js truecolor support for now 2026-03-12 15:01:48 -05:00
Sudo-Ivan
b3ac1a1a68 Add support for fallback truecolor in MicronParser
- Implemented handling for fallback truecolor syntax for foreground and background colors in MicronParser.
- Updated tests to verify compatibility with NomadNet and priority of fallback truecolor over standard 3-character color codes.

https://github.com/RFnexus/micron-parser-js/pull/21
2026-03-11 22:24:40 -05:00
Sudo-Ivan
2cb7b9886e Update MicronParser to support truecolor foreground and background colors with new 'FT' and 'BT' formats. Add corresponding unit tests to validate functionality. 2026-03-10 22:00:51 -05:00
Sudo-Ivan
5d803da1e2 Code Cleanup 2026-03-09 12:37:16 -05:00
Sudo-Ivan
7dc27f32fd Update performance tests and adjust expectations for rendering times 2026-03-09 12:36:45 -05:00
Sudo-Ivan
b001949195 Add comprehensive tests for MicronParser and NotificationBell 2026-03-06 15:50:40 -06:00
Sudo-Ivan
1a37f49d42 Add tests for MicronParser and NomadNetworkPage to validate partial handling, including regex matching, content injection, and state management for partials. 2026-03-05 15:17:19 -06:00
Sudo-Ivan
21450c69eb Add AppPropagationSync tests and enhance ConfirmDialog tests
- Introduced a new test suite for App propagation sync metrics, validating toast notifications for sync status.
- Enhanced ConfirmDialog tests to verify heading display and button attributes.
- Added additional tests for FormLabel, FormSubLabel, LanguageSelector, and other components to improve test coverage and ensure proper functionality.
2026-02-14 19:18:37 -06:00
Sudo-Ivan
af0d9352c2 Update MicronParser with DOMPurify integration and code improvements
- Added global DOMPurify reference for HTML sanitization.
- Improved error handling for DOMPurify initialization.
- Refactored style definitions and formatting for consistency.
- Updated tests to reflect changes in MicronParser initialization and behavior.

This update enhances security and code readability while ensuring robust functionality.
2026-01-23 11:28:43 -06:00
Sudo-Ivan
5a9e066b10 feat(tests): add comprehensive unit tests for various components including AboutPage, CallPage, and MessagesPage 2026-01-02 20:36:58 -06:00