Skip to content

Conversation

@maxy-shpfy
Copy link
Collaborator

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

Description

Refactored the component library system to improve how user components are managed. This PR replaces the old approach of checking if a component is owned by a user with a more reliable method using the user components library.

Key changes:

  • Added a dedicated UserComponentsLibrary class to handle user components
  • Replaced the checkIfUserComponent function with direct library queries
  • Updated component flags to use suspense queries for determining component ownership
  • Modified the component details dialog to properly check if a component belongs to the user

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. Create a new component and verify it appears in your user components
  2. Check that the component details dialog correctly identifies user-owned components
  3. Verify that favorite component functionality still works as expected
  4. Test that component library search functions properly

@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_standard_library_to_yamllibrary branch from c1bd3e3 to 2704b28 Compare December 18, 2025 16:59
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_remove_usercomponents_from_componentlibraryprovider branch from 3ed341e to fc46b7b Compare December 18, 2025 17:00
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_standard_library_to_yamllibrary branch from 2704b28 to f5fa742 Compare December 18, 2025 17:57
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_remove_usercomponents_from_componentlibraryprovider branch from fc46b7b to b5cc3a7 Compare December 18, 2025 17:57
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_standard_library_to_yamllibrary branch from f5fa742 to 0024d70 Compare December 18, 2025 18:03
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_remove_usercomponents_from_componentlibraryprovider branch from b5cc3a7 to 4f39b1e Compare December 18, 2025 18:04
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_standard_library_to_yamllibrary branch from 0024d70 to d1617a3 Compare December 18, 2025 18:11
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_remove_usercomponents_from_componentlibraryprovider branch from 4f39b1e to 17cb421 Compare December 18, 2025 18:11
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_standard_library_to_yamllibrary branch from d1617a3 to 7f7bcf0 Compare December 18, 2025 18:30
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_remove_usercomponents_from_componentlibraryprovider branch from 17cb421 to ac89067 Compare December 18, 2025 18:31
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_move_standard_library_to_yamllibrary branch from 7f7bcf0 to f65f5c4 Compare December 18, 2025 18:35
@maxy-shpfy maxy-shpfy force-pushed the 12-17-refactor_remove_usercomponents_from_componentlibraryprovider branch from ac89067 to 0dee1a2 Compare December 18, 2025 18:36
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