Skip to content

v1.4.0.26

Choose a tag to compare

@gszigethy gszigethy released this 07 Oct 09:05
· 25 commits to master since this release
922e33e

What's fixed

  • More reliable startup on 444.hu. The extension now waits for the site's application and router to become ready, including when they load after the injected script. Once ready, it initializes once and registers one navigation observer.
  • Reliable navigation between articles. Pending initialization is cancelled when navigating again, and older asynchronous work cannot initialize comments for a later page. This prevents duplicate initialization during rapid navigation.
  • Comment links work on newer article layouts. Opening a #comment… link scrolls to the extension's comments wrapper, even when the page has no legacy comments container. Disqus thread URLs now omit both query strings and fragment identifiers.
  • Correct forum after the August 2022 outage articles. Articles in the historical outage window still use the temporary forum, including consecutive articles from that period. Navigating to a later article restores the configured forum or the default 444hsz forum.
  • Custom forum names stay on Disqus. Pasted and saved names are trimmed, converted to lowercase and checked before use. Values containing URL separators or other invalid characters fall back to 444hsz, preventing them from selecting a script host outside Disqus.
  • Correct Geekz forum at initialization. The legacy frontend chooses geekzblog or 444hsz before starting the site's comment module.
  • Initialization errors are now caught and reported instead of becoming unhandled promise rejections.

Testing and build improvements

  • Added tests for the modern and legacy frontends: router readiness, article layouts, navigation, forum switching, saved settings, comment links, themes and resizing.
  • Coverage now includes all three application scripts. CI enforces line, function and branch thresholds for each script, rather than checking only the bootstrap loader.
  • Added regression tests for manifest packaging and lint-baseline behavior, made extension formatting blocking, and uploaded coverage reports separately from the extension ZIP.
  • SonarCloud imports LCOV coverage and waits for its quality gate. Analysis runs on pull requests and the default branch; feature-branch pushes still run tests and build the extension.

Validation and download

The release commit passed the GitHub Quality baseline workflow: 36 JavaScript tests, eight Python tests, coverage thresholds, lint, formatting, syntax checks and manifest/resource validation. Local application coverage was 94.69% lines, 87.11% branches and 96.87% functions. SonarCloud reports 94.7% line coverage, 87.1% branch coverage and 93.6% combined coverage across 1,149 lines to cover; the new-code quality gate passes.

The attached 444hu_comments.zip is the CI-built Manifest V3 extension for 1.4.0.26, containing 18 validated extension files. Install or update it using the same method as the previous release.

Validation uses representative DOM fixtures. Live Chrome loading, current 444.hu behavior and Disqus login/network behavior have not been verified during this release.

Remaining findings

SonarCloud still lists 10 pre-existing CSS findings: duplicate declarations and missing generic font-family fallbacks. This release does not resolve every historical finding.

Changes: PR #3, PR #4, and the version bump in PR #5.

Full changelog

Build: tag workflow, commit 922e33e82f290397a13d84fbe1120277e9cfa88b. The ZIP was checked for archive integrity, manifest version and byte-for-byte agreement with the release sources.

SHA-256 (444hu_comments.zip):

A3B852607F94750ECFB9F232F7574267BA05A3A97AE51B8441B5508C92EF542D