Skip to content

Update 26 # Copywriting & UX Improvements, Introduction of NPM Workflows and Consistency Considerations!

Compare
Choose a tag to compare
@hifocus hifocus released this 02 Oct 10:18
· 107 commits to master since this release

General Changes

  • jQuery will now be loaded under the 'version-aliasing' format. This is because some previous jQuery v3 releases contained some vulnerabilities, and this change can avoid such problem by always loading the latest version within the version number 3.
  • Local js libraries are now removed, since they cannot self-update; their existence also increased the repository's size.
  • Merger is now a NPM package; this enabled not only static resources in the repository to be referred through services like UNPKG or jsDelivr, but also minifying the HTML file size through the command npm run build.
  • To respond to the removal of local js libraries, alternative resources can be introduced through unpkg.zhimg.com, a UNPKG mirror that is optimised both in China Mainland and the globe.

UX Improvements

  • Copywritings across all supported languages had been tweaked to improve UX.
  • The gravatar mirror (now called 'source' to avoid confusions) had been switched back to official source, as their performance in China Mainland now look quite satisfying.
  • The QR Code container that will appear after the relevant payment method button had been clicked is now larger, which can cover the profile photo and other buttons completely.

Developer-facing Changes

  • If you use a serverless service to host your merger site, you may now tell the service to run npm run build each time a build is triggered. The minified merger site will then be located in the ./public directory (please be sure to use a Linux-based image when selecting building environment).
  • Some code comments had been updated to keep consistency and clarity.

This is a stable release. If you do encountered any problems while using this version, please let us know in issues.