All release notes

v1.191.11

7 fixes, 1 improvement

Update TiptapNoteLink to use named imports for ProseMirror plugins

  • Replaced dynamic imports with named imports for `Plugin` and `PluginKey` from `@tiptap/pm/state` in the TiptapNoteLink component.
  • Improved code clarity and maintainability by using explicit imports.

Prevent default behavior in MobileNavigation component

  • Added `e.preventDefault()` and `e.stopPropagation()` to click handlers in the MobileNavigation component to prevent unintended interactions.
  • Updated the click handler for the new space panel item to ensure proper navigation behavior when clicking on specific elements.

Update load more logic in InfiniteScrollList component

  • Introduced a new variable `showLoadMore` to determine the visibility of the "Load more" button based on the parent's `initialHasMore` prop.
  • Updated the rendering condition for the "Load more" button to use `showLoadMore` instead of `hasMore`, improving the component's behavior in relation to parent state.

Adjust padding in EditSpacePanel component

We've made an improvement: Adjust padding in EditSpacePanel component

  • Added left and right padding to the EditSpacePanel for improved layout consistency and visual appeal.

Enhance navigation history and space filtering logic

  • Added debug logging to track scope changes and filtering processes in NavigationContext and PersistentNavigation components.
  • Preserved existing openedInSpaceIds during updates to prevent incorrect scoping when switching spaces.
  • Improved filtering logic to ensure only relevant items are displayed based on the selected space, enhancing user experience during navigation.

Refine active thread visibility logic in PersistentNavigation component

  • Updated logic to ensure the active thread is only visible on thread pages when the URL space matches the selected space, preventing unintended thread additions during space switching.
  • Introduced a check for URL parameters to enhance reliability in determining the active thread's context based on the selected space.

Improve space switching handling in NavigationColumn component

  • Introduced a ref for effectiveSelectedSpaceId to prevent unnecessary re-firing of effects when switching spaces.
  • Updated the logic for deriving openedInSpaceId to use the ref, enhancing reliability during SPA navigation.
  • Removed effectiveSelectedSpaceId from the dependency array of the useEffect to avoid unintended re-scoping of threads.

Refine thread scoping in NavigationColumn component

  • Added a guard to ensure thread scoping only occurs when viewing a thread or note page, preventing unnecessary re-firing of effects during space switching.
  • Improved reliability of space ID derivation from URL search parameters, enhancing user experience in navigation.