Skip to content

v2.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Mar 03:49

Added

  • Settings - Added persistence to localStorage;
  • Settings - Added graph element limits to SettingsProvider.
  • Hooks - Implemented usePropertyEditor hook to manage property editing state and logic for nodes and edges.
  • ActionBar - Added a display for the current application version.
  • ErrorHandling - Added a global error boundary component to catch and display errors gracefully to the user.
  • GenerationAlgorithms - Added minor helper function and a user feedback for when exceeding max edges for simple graphs.

Changed

  • Modals - Adjusted modals subtitle into a prop.
  • App - Adjusted modals to rendered at top level of the app to avoid z-index and overflow issues.
  • Contexts - Splited concerns of PopupsContext into ModalsContext for managing modal states and ToastsContext for managing toast notifications.
  • Contexts - Splitted concerns of GraphProvider into GraphRegistryProvider for managing graph instances, GraphMetaProvider for managing graph metadata (defaults, version, etc.) and GraphSelectionProvider for managing graph selection.
  • Project - Changed endOfLine in .prettierrc to 'lf'.
  • Inputs - Changed default import for named imports to be more consistent with the rest of the project.
  • Error - Renamed ParsedErrorToast to ParsedErrorToasts to better reflect a collection of toast configurations.

Fixed

  • ImportExportService - Fixed parsing of blank lines in text import.
  • TypeGuards - Fixed loose type guards for elements (NodeData and EdgesData) data.