Skip to content

Conversation

@maxy-shpfy
Copy link
Collaborator

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

Description

Closes #1306

Contributes to https://github.com/Shopify/oasis-frontend/issues/249

Removed the populateComponentRefs function call when setting the component library state. Also removed the storeComponentsFromLibrary function and its associated logic that was storing individual components in local storage.

Related Issue and Pull requests

Type of Change

  • Bug fix
  • New feature
  • Improvement
  • Cleanup/Refactor
  • Breaking change
  • Documentation update

Checklist

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

Screenshots (if applicable)

Test Instructions

Screen Recording 2025-12-15 at 4.42.24 PM.mov (uploaded via Graphite)

  1. Open Tangle in "Incokgnito" browser mode. Ensure no lib is available in Application / IndexedDB / components.
  2. Create "New Pipeline".
  3. Ensure, that Component Library is available almost instantly.
  4. Ensure, that Components can be dropped on canvas.
  5. Ensure, that you can open "Info" dialog from left panel.

In the video I manually removed "hydration" info (name, author, digest) from the "Quick start" folder to ensure, that Left panel can display "not loaded" libraries.

Additional Comments

This change simplifies the component library loading process by removing unnecessary processing steps.

@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_lazy_load_of_the_yaml_library_components branch from b269a5c to 9483667 Compare December 16, 2025 00:44
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_hydrate_component_library_file branch 2 times, most recently from c7cb823 to 5d85020 Compare December 16, 2025 01:02
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_lazy_load_of_the_yaml_library_components branch 2 times, most recently from 06d72a6 to ef2a39e Compare December 16, 2025 01:07
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_hydrate_component_library_file branch from 5d85020 to 14cf3eb Compare December 16, 2025 01:07
@maxy-shpfy maxy-shpfy marked this pull request as ready for review December 16, 2025 01:11
@maxy-shpfy maxy-shpfy marked this pull request as draft December 16, 2025 01:29
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_lazy_load_of_the_yaml_library_components branch from ef2a39e to b2cf0e0 Compare December 16, 2025 02:25
@maxy-shpfy maxy-shpfy marked this pull request as ready for review December 16, 2025 02:26
@maxy-shpfy maxy-shpfy marked this pull request as draft December 16, 2025 02:28
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_lazy_load_of_the_yaml_library_components branch from b2cf0e0 to c12e371 Compare December 16, 2025 03:12
@maxy-shpfy maxy-shpfy marked this pull request as ready for review December 16, 2025 03:14
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_hydrate_component_library_file branch from 14cf3eb to d437913 Compare December 17, 2025 19:05
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_lazy_load_of_the_yaml_library_components branch 2 times, most recently from b2e6655 to 838ef5c Compare December 17, 2025 19:16
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_lazy_load_of_the_yaml_library_components branch from 838ef5c to 1d63324 Compare December 17, 2025 19:21
@maxy-shpfy maxy-shpfy changed the base branch from 12-15-feat_hydrate_component_library_file to graphite-base/1556 December 18, 2025 16:49
@maxy-shpfy maxy-shpfy requested a review from a team as a code owner December 18, 2025 16:54
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_lazy_load_of_the_yaml_library_components branch from 1d63324 to 26f27d1 Compare December 18, 2025 16:54
@graphite-app graphite-app bot changed the base branch from graphite-base/1556 to master December 18, 2025 16:54
@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_lazy_load_of_the_yaml_library_components branch from 26f27d1 to 43b189e Compare December 18, 2025 16:55
Copy link
Collaborator Author

maxy-shpfy commented Dec 18, 2025

Merge activity

  • Dec 18, 5:51 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Dec 18, 5:51 PM UTC: @maxy-shpfy merged this pull request with Graphite.

@maxy-shpfy maxy-shpfy merged commit 04bd333 into master Dec 18, 2025
7 of 8 checks passed
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.

feat: Component Library - Preload the library from a file that has all component texts

3 participants