Enhanced block properties related APIs for plugins. [897d18f52]
UI Enhancements
Polish to select component [3da57d0ee], block control arrow [a4df98903], and classic notification cp [bfe8c4bcd].
Polish for the highlight area image actions bar [8dbfe92fc] and resized highlight area image from the ref asset metadata [dc6fa6cf1].
Improve class page sections [2fe803964] and select component to support a header [80c811e93].
Polish appearance and settings UI [cbe0ae442], as well as block control arrow [a4df98903].
UX Enhancements
Copy raw code editor content [9cbc59811].
Add asset ref link for the highlight area image [e053405bb].
Enhance image handling to allow resizing for certain UI elements [76786a958].
Better interaction for the plugin readme content [75edccdf0].
Add rationale for disabling certain built-in attributes [22ce2b890].
RTC and Cryptography Enhancements
Improved device APIs and cryptographic functionalities, such as AES encryption/decryption, device management, and key synchronization [58ea518ee, 93a67d594, ea80dd297].
Bug Fixes
General Fixes
Resolved issues with block references in db graphs and fixed related database functionalities [cf923ab1, 18eb5aaae].
Issues with graph parsing, hidden pages, and result sorting for queries have been fixed [0d3cf6c53].
Corrected behavior for property node values and data loading [456825e98].
UI/UX Specific Fixes
Addressed problems with incorrect preview behaviors for nested ref links and block ref previews [9bbb035ce, 79c3031ce].
Enhanced the behavior of the settings dialog, page title actions, and select component alignment [4fd84006a, 43a25d2cf, 3da57d0ee].
Corrected scrolling and heading block behaviors in the modal preview and right sidebar [f3878434, 3ac14d734].
PDF/Assets Handling Fixes
Fixed issues with PDF asset handling, ensuring proper creation and storage of area images [8f726fdbd, 185ebc596].
Graph and DB Enhancements
Addressed issue of auto-calculating popup side positions and hiding empty property values [d6354529a, 04eaea43f].
Enhancements to store URL property value in blocks for better editability [3b25d8f47].
Localization Management Fixes
Incorporated updates and corrections for various translations and added localization support across languages like Catalan, Polish, and Japanese [2e35af564, 48f29174].
Build and Deployment Fixes
Fixed build and test support issues with publishing applications and dependencies [92cc1ce38, e157e818c].
Refactoring
Codebase Refactoring
Moved and separated certain elements for better modularity, handling, and retrieval [94773db6f, a3ba4bc65].
Chores
Tasks and Minor Adjustments
Updated dependencies, test assertions, logging protocols, and modified some core test structures for enhanced stability and consistency [230e74fcd, 1a7a2b25e].
This changelog covers the latest improvements, bug fixes, and enhancements implemented in the week leading up to December 6, 2024. The focus has been on improving collaboration features, fixing UI issues, optimizing database performance, and updating dependencies for better build support.
New Features
Highlighting Features
Implement highlight feature for recent blocks with a close button (8b8fd8712, 82ea47382).
Enhancements
Real-Time Collaboration (RTC)
Simplify graph calibration and auto-start RTC on new graph creation (3f07b780f, eb273f1af).
Deprecate certain RTC functions for improved performance (a2b3efa86).
User Interface and Experience
Polish table header details and collaboration button (4a74e652b, 36a444347).
Fixes failure when misconfigured journal reference is a property value (04aa88b43)
Fixes importer failing hard on page references with the same name as a task (0cffd64d4)
Fixes frontend lint issues and incorrect styles for external window PDF viewer (f28c69890, 73e51a88b)
Fixes property history still existing when a property is deleted (c87da72b9)
Fixes schema validation for hidden pages and removes duplicated key in tests (d7590fddc, a45da56cd)
Fixes frontend lint issues, hidden blocks incorrectly identified, and db test failures (b113967c9, e8659d655)
Fixes issues with property history schema and node-level property configuration (f28d344ef, 1adeaa325)
Fixes lint issues, schema validation for hidden pages, and incorrect property history schema (b9b38ceac, c70e5b598)
Enhancement
Enhances importer to support importing :logseq.task/scheduled (2a4f49e54)
Allows built-in properties to use most other properties without hardcoded configuration (769e68a3c)
Enhances the importer to display one notification about ignored files instead of multiple notifications per file and ignores PDF highlight pages during import (1ab621069, bade5d4a7)
Adds :logseq.property/created-by prop to blocks and updates CLI import to print last transaction (3e025dd31, b9b4aa8c6)
Enhances dev imports to print original error’s ex-data and CLI import prints last transaction (d7a2f80dc, 1ab621069)
Enhances property history and schema validation to avoid partial history around deleted properties (e34c4d5b9, f7a2e86bf)
Enhances property history schema to specify used properties and validator for hidden blocks (1adeaa325, f4c0d9b69)
Enhances schema validation to include dispatch key for immediate invalid schema identification (f7a2e86bf, 1adeaa325)
Enhances property history and schema validation for hidden pages, property-level configuration mixed with node level (f4c0d9b69, e8cbf7aeb)
Chore
Updates docstrings and other import-type values to be keywords like other values (25d1243ed)
View Group By: Introduced the ability to group blocks by properties, enhancing data organization and visualization (e7e429408).
Export and Import Commands: Enabled export+import EDN commands for any user to facilitate data interchange and feedback (4ed5897e4).
Linked References View: Initial work on a linked references view for improved reference management (c183686c5).
Enhancement
Export and Import: Enhanced support for exporting and importing various block and page types, including properties, tags, refs, and closed values across graphs (4f25e27d9).
Schema Version Management: Improved schema version management, introduced SchemaVersion, and updated related APIs for better compatibility with nbb (5143d7467).
Query Builder: Enhanced the query builder to support multi-word task values and fixed various issues (6848f98be).
UI Improvements: Several UI improvements, including fixing sub menu content within table header popups, improving table header action popup behavior, and enhancing UX elements (09ddf31a8).
Error Handling: Enhanced error handling for exports and imports to provide user-friendly notifications and actively validate exports before import (7da4f7a9b).
Bug Fix
Export/Import Issues: Fixed several issues related to block objects failing to import if they have properties, import failures for different types of refs with deep properties or tags, and incorrect behavior for sub menu content within table header popups (52acbd0ed).
RTC Tasks: Fixed issues related to RTC tasks not accepting UUID parameters, not running in publishing contexts, and other related bugs (fdf817667).
Schema Version Check: Fixed schema version check and related issues such as refresh local repos and use transit instead of ->clj&->js for data serialization (bbcc49734).
Block Content Blinking: Fixed block content blinking issue for the spent time label (14d623065).
Chore
Code Cleanup and Refactoring: Various code cleanup, refactoring, and dependency updates to improve maintainability, such as using medley/dissoc-in instead of a copied version, removing deprecated references, and adding kondo aliases (a4aacf022).
Test Helpers: Added test helpers to reduce redundant defaults for input export maps and improve test inspection by returning entities instead of d/q results (8b0279021).
Performance
Efficiency Improvements: Various efficiency improvements in block and page exports, such as avoiding recursive export of properties and classes not visible on a page, shallow copying refs to fix import failures, and optimizing test helper usage (4f25e27d9).
Refactoring
Schema Version Management: Refactored schema version management to use a simple map instead of a defrecord for better compatibility with nbb and introduced SchemaVersion to replace the current schema-version using a plain number (da6d85369).
Export/Import: Refactored block export handling, improved error messages for exports and imports, and simplified import steps by adding missing sqlite.build docs and fixing :build/uuid issues (8b8055dd7).
Improve query builder with support for multiple columns sort and table pinning (96c1cc577)
Enhance webpack configuration by adding externals for React and ReactDOM (ebeeb280e)
Optionally validate after creating a db in the development environment (1ccdcab8a)
Add descriptions for public built-in properties (ec9944db2)
Enhance user experience by adding skeleton loading for views and lazy rendering columns when scrolling or if there are many columns (bc8fa3d2d)
Filter data on the worker to reduce data sent to the main thread, enhancing performance (b28e02f5f)
Bug Fix
Fix page reference display error when using class as property for the first time (8d2025a9e)
Correct property key align and fix reorder auto-complete if items are grouped (db52711d1)
Fix incorrect ref update causing an infinite loop, and improve hierarchy handling in button tag functionality (33cbf0f75)
Ensure the correct property value is shown when editing a closed property, fix graph export with pvalue classes or properties failing (d432119db)
Chore
Remove unused package and update nbb scripts to be repl friendly (8f1b61036)
Revert a temporary disablement of js-toast and bump electron version to 35.0.1 (c269046b4, ac0a0dae7)
Performance
Hide unpinned columns when scrolling and lazy render them if there are a lot, improve performance by reducing get-block calls and pre-fetching property values (bc8fa3d2d, 2dce5eefd)
Enhance view performance by preloading pages to avoid slow opening at all pages and filter data on the worker to reduce data sent to main thread (4e2cecec5, b28e02f5f)
Refactoring
Separate worker build and prepend bundle to worker js output, update shadowcljs version (b122d453c, 691e12126)
Refactor code to remove outdated hnsw-label and update cljfmt.edn for dev environment (2c88070fe, 5f02b7c86)