All release notes

v1.190.5

1 feature, 5 fixes

Resolve TypeScript errors and enhance type safety across tests and scripts

  • Updated TypeScript errors audit to reflect all errors resolved.
  • Enhanced type safety in Playwright tests by specifying types for page parameters.
  • Improved user ID handling in scripts by ensuring non-null assertions for environment variables.
  • Refined query and parameter handling in various routes to ensure required values are present, improving error handling and robustness.

Enhance navigation and data handling in SPA

  • Updated TypeScript configuration to include a new path alias for app navigation.
  • Improved search string handling in `AppLayout` to convert parsed objects into URL search strings.
  • Added new content types for better menu options in `ActionStrip` and utility functions.
  • Refined event listener type casting in multiple components for better type safety.
  • Enhanced navigation context to prioritize URL parameters for thread identification, improving reliability in SPA mode.

Improve handling of note and thread data in navigation

  • Added checks to prevent overwriting navigation history with default values when note data is still loading.
  • Enhanced logic in `AppLayout` and `NotePage` to ensure only meaningful titles and gradients are used from note data.
  • Updated `PersistentNavigation` to prioritize accurate thread information from navigation history over defaults, improving user experience.

Enhance note loading and navigation data structure

  • Updated `onNotesLoaded` in `ThreadPage` to accept a more flexible type for notes, ensuring compatibility with internal structures.
  • Modified `PersistentNavigation` to include `firstAccessed` and `lastAccessed` timestamps for active threads, improving navigation history tracking and user experience.

Improve space ID handling and navigation history tracking

  • Enhanced `getSpaceIdFromSearch` function to support both string and object formats for space ID extraction.
  • Updated `ThreadPage` and `NavigationColumn` components to ensure consistent space ID retrieval from URL parameters and local storage.
  • Refined `PersistentNavigation` to update active thread data with fresh information from props, improving navigation consistency and user experience.

Enhance navigation history tracking and improve active thread handling

  • Added `addToNavigationHistory` function to track active threads with relevant data in SPA mode.
  • Updated `PersistentNavigation` to utilize `activeThreadProp` for stable active item identification, improving navigation consistency.
  • Refined logic to prevent duplicate "Unorganized" items in navigation when thread IDs conflict.