Skip to content

ContentsPlanet 2021.08.31

Compare
Choose a tag to compare
@ContentsViewer ContentsViewer released this 30 Aug 22:52
· 101 commits to master since this release
8774994

In this release, we have made major changes to the design of the tag map page and the content editing page. We have improved the way of grouping contents by tags, to present the list of contents more clearly and simply. The loading method of the pages has been improved so that the pages are displayed more quickly. We have improved the design of the database, separated modules, and changed from a singleton to a multi-instance based design. In addition, we have fixed some bugs and changed the design.

Changes

ContentsPlanet

  • Renamed the control tag noindex-latest, which means not to be included in recent updates, to noindex-recent.
  • Included the php configuration options mbstring.internal_encoding, default_charset in the system settings.
    • Set the default character encoding to UTF-8
  • Lowered the frequency of alert messages.
  • In the case of https communication, added the secure attribute to the cookie.
  • htaccess files are now updated only when there is a change in the configuration.

tag-viewer

  • Changed the design of the tag list.
  • Changed the design of the tag card list.
  • Change the structure of the tag main page.
    • Moved up the main tag list to the top
  • Suggested content and tagged content are grouped not separated.
  • Added an icon to the bottom right corner of the suggested content card to represent the suggestion.
  • Added the feature to measure and log page generation time.
  • Displayed a list of content with a single group of tags that have the same content.
    • Avoided redundant information by displaying the same content with different tags.

directory-view

  • Changed to lazy loading of images.

viewer

  • Changed the design of content publication date and update date.
  • Improved accessibility of the collapse button in the table of contents.
  • Removed character limit for left and right content link titles.
  • Changed the HTML structure around the footer.
  • Removed the dividing line between summary and body elements.
  • Reduced First Contentful Paint (FCP) time.
    • Separate and preload style sheets.
    • Lazy loading of plugin code.

error-page

  • Reduced First Contentful Paint (FCP) time.

login

  • Changed the design of the login page.

content-editor

  • Changed the layout.
  • Changed the design.

preview

  • Changed input to the API to text in content format.

content-database-edit-service

  • Renamed from contents-database-edit-service to content-database-edit-service.
  • Changed the design of the Diff Edit Page.
  • API specification changes
    • SaveContent
      • Changed input to the API to text in content format.

related-search-service

  • Added the feature to measure and log page generation time.
  • Displayed a list of content with a single group of tags that have the same content.

ContentDatabase

  • Renamed from ContentsDatabase to ContentDatabase.
  • The database can now be instantiated.
    • At runtime, you can now have multiple databases at the same time.
  • Added the feature to parse text in content format.

ContentDatabaseContext

  • Separated from ContentsDatabaseManager.
  • It has the role of managing each database category.
    • It provides access to user, per-layer databases, tag maps, and indexes.
    • It prevents modification and acquisition of data beyond the scope.

ContentDatabaseControls

  • Separated from ContentsDatabaseManager.
  • It provides methods for modifying and retrieving data from the database regardless of the segment.

SeachEngine

  • The index can now be instantiated.
  • At runtime, it is now possible to have multiple indexes at the same time, and search and registration can be executed for each index.

ContentsViewerUtils

  • It now has the namespace ContentsViewerUtils.

OutlineText

  • Updated MathJax version from 2 to 3.
  • Set loading=lazy in img tag.
    • Set lazy loading of images by default.
  • Enclosed the parsed output Html element in the outlinetext-parser-output class.
  • Added styles for the dl element.
  • Asynchronous loading of SyntaxHighlighter.
  • Only applied MathJax conversion to OutlineText parsing output.
  • Adjusted the style to match the dark mode.
    • Code block.
    • Math link
  • Changed the style of reference highlighting.

ContentsViewer

  • Support for Chromium 77 and higher versions.
    • Avoided using the optional chaining operator ( ?. ).
  • Deleted unused code.

Splitter

  • Support for Chromium 77 and higher versions.
    • Avoided using the optional chaining operator ( ?. ).
  • Now, it is possible to split the view within an element.
    • In previous versions, it was only possible to split the entire window screen.

Bug Fixes

tag-viewer

  • Fixed wrong HTML formatting of lists in navigation section.

directory-viewer

  • Fixed wrong HTML formatting of lists in navigation section

contents-viewer

  • Fixed wrong date/time format (ISO-8601) in structured data.

note-viewer

  • Fixed wrong link to directory.

history-viewer

  • Fixed wrong link to directory.

related-search-service

  • Fixed null access issue when searching for related content before creating a cache for the target content.

OutlineText

  • Fixed an issue where the code block or tag block immediately after a list or definition list would not be positioned at the correct outline level.

ContentsViewer

  • Fixed an issue where some animations would not work when hovering over outline tag elements.
  • Fixed an issue where the sibling content buttons were clipped.
  • Fixed an issue where the layout would be corrupted when printing in Firefox browser.

Splitter

  • Fixed a issue where the z-index of the slide bar would increase with each drag.