Repository navigation
·
2 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
Browser UI restructuring, project banner
Code structure
- The browser UI's pure logic moved out of the 1,400-line
app.jsinto small DOM-free modules that also run in Node tests:util.js,settings.js(localStorage, injectable store),filters.js(what lines are visible) andhighlight.js, next to the existingformats.js.app.jskeeps the DOM wiring and shrank by about 80 lines. - The text filter now reuses its compiled regular expression instead of rebuilding it for every incoming line, which helps with busy streams.
- 19 new tests for these modules (228 in total). Behaviour was also checked in a real browser (text filter, regex, invert, level chips, colors).
Documentation
- A project banner for the README, the wiki and the repository social preview.
- Contributor docs describe the browser module layout and where new logic belongs.
No functional changes for users.