Skip to content

Conversation

@maxy-shpfy
Copy link
Collaborator

@maxy-shpfy maxy-shpfy commented Dec 17, 2025

Description

Refactored the component favorites system to use a dedicated IndexedDB-based library instead of the previous approach that stored favorite status directly on component objects. This change:

  1. Introduces a new FavoriteLibrary class that extends BrowserPersistedLibrary
  2. Migrates existing favorited components to the new storage system
  3. Updates the UI components to use the new library for managing favorites
  4. Removes the now-obsolete setComponentFavorite method and related code

Type of Change

  • Improvement
  • Cleanup/Refactor

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Test Instructions

  1. Verify that existing favorite components are migrated correctly
  2. Test adding and removing components from favorites
  3. Confirm that the favorites folder displays correctly in the component library

@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from 49fcc8d to 966bd16 Compare December 17, 2025 19:05
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_favorite_libs_to_indexdb_library branch from 8fde55e to 0f7cb8c Compare December 17, 2025 19:05
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from 966bd16 to 6482d26 Compare December 17, 2025 19:16
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_favorite_libs_to_indexdb_library branch 2 times, most recently from 64430f6 to 0566d1b Compare December 17, 2025 19:21
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from 6482d26 to 0aa532a Compare December 17, 2025 19:21
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from 0aa532a to e85a341 Compare December 18, 2025 16:58
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_favorite_libs_to_indexdb_library branch from 0566d1b to 472a8dc Compare December 18, 2025 16:59
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from e85a341 to a931668 Compare December 18, 2025 17:56
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_favorite_libs_to_indexdb_library branch from 472a8dc to 03340dc Compare December 18, 2025 17:56
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from a931668 to ffc0991 Compare December 18, 2025 18:02
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_favorite_libs_to_indexdb_library branch from 03340dc to 8cd6373 Compare December 18, 2025 18:03
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from ffc0991 to 2206d76 Compare December 18, 2025 18:09
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_favorite_libs_to_indexdb_library branch from 8cd6373 to 568e99b Compare December 18, 2025 18:10
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from 2206d76 to eb0dfd1 Compare December 18, 2025 18:29
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_favorite_libs_to_indexdb_library branch from 568e99b to f3a8c70 Compare December 18, 2025 18:29
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_react_compiler_in_graphcomponents branch from eb0dfd1 to 9e224a3 Compare December 18, 2025 18:34
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_favorite_libs_to_indexdb_library branch from f3a8c70 to 2b465c1 Compare December 18, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants