Code and feature updates to Suttacentral.net

@HongDa and others have been hard at work behind the scenes working on various improvements and fixes to SuttaCentral.net

You may need to do a hard refresh to see the new features/fixes.

Please do report any problems

features

  • Enhance: ability to select only the translation text when root texts visible.
  • Enhance: enable transition between traditional and simplified Chinese.
  • Enhance: Switch to serif version of Chinese and Japanese fonts.
  • Enhance: In linebyline mode, allows switching the position of the root text line and the translation text line.

search

  • Enhance: search: only return one translation of any given text with preference to segmented texts.
  • Enhance: Alias popular queries #1581
  • Enhance: Search filters must be case insensitive #2968
  • Fix: Report an error if an invalid parameter is used on a filter, or an invalid filter is used. #2978
  • Enhance: Set default search document language for new users #2974

bugs

  • Fixed a problem where some static page titles were not localized in the breadcrumbs.
  • Fixed a problem where the author name of a suttaplex card was not displayed.
  • Fixed a Ctrl/Cmd Click issue reported on the discourse.
  • Enhance: Hyphenation #1682
  • Fix: Maps should not zoom when you just scroll over them #2825
  • Fix: parallel root text linking to a 404 page.

Misc

  • Improve the code of sc-site-layout.js and sc-navigation.js.
  • Upgrade the Aksharamukha to latest version and test.
  • Fix High LCP and Time to Interactive in mobile. #2174
  • Remove support for filter author: in search function.
  • Enhance: Reduce CLS on segmented pages #2360
  • Increase test coverage for TextInfoModel.
  • Remove unicode points and refactor unsegmented text titles.
  • Refactoring and fix for forced updates.
10 Likes

Amazing new changes! Especially the root text placement, ability to copy only translation, trad/simp chinese…

However, what happened to the font?

3 Likes

Please explain in detail with screenshots. Preferably in the General Bugs thread.

1 Like