Skip to content

0.5.0

Compare
Choose a tag to compare
@cburgmer cburgmer released this 10 Jan 11:52
· 248 commits to master since this release

Features/Fixes

  • New UI preview: CSS Critic is getting a new look. While not feature complete, the NiceReporter can already substitute the BasicHTMLReporter for many use cases (example: csscritic.addReporter(csscritic.NiceReporter());). Missing features are tracked in #51. The motivation behind the UI rework is to move CSS Critic towards becoming a tool for supporting development of a style guide. At the same time the UI has been somewhat neglected, and the new reporter is designed to make testing as much fun as possible.
  • Reference images are now stored in the browser's IndexedDB (https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API). This solves the quota limit of LocalStorage (#50). References are automatically migrated from LocalStorage to IndexedDB on the first run. Due to https://bugzilla.mozilla.org/show_bug.cgi?id=790468 reference images containing transparent colors will in the migration process trigger a failing test with no visible changes. These tests will need to be manually re-accepted.
  • While including the script loader via ./csscritic.js is still the preferred way, the all in one bundle (./dist/csscritic.allinone.js) has been improved to automatically include the necessary CSS. The previously seperate csscritic.min.css has been removed from the package.