All release notes

v1.156.1

1 feature, 1 fix

Enhance note access control and improve action strip visibility

  • Updated the note access control logic to check for space access through associated threads if the note's space ID is missing, improving error handling for unauthorized access.
  • Refactored the AppLayout component to utilize new utility functions for determining action strip visibility based on content type and user permissions, enhancing the user interface experience.
  • Adjusted the ThreadPage component to ensure accurate note count retrieval from navigation data, improving synchronization with the thread's state.

Add visit tracking for notes and threads

  • Implemented POST endpoints for tracking visits to notes and threads, updating the lastVisited timestamp in the database.
  • Enhanced error handling for authentication and access control, ensuring users can only update their own notes and threads or those they have access to.
  • Refactored thread ID normalization in the frontend hooks to maintain consistency across API calls.
  • Updated AppLayout to correctly format note and thread IDs for hooks, improving integration with the new visit tracking functionality.