Skip to content

revert: refactor: add simpler componentFocusable util (deprecates LoadableComponent)#9515

Merged
jcfranco merged 2 commits intomainfrom
jcfranco/undeprecate-loadable-util
Jun 8, 2024
Merged

revert: refactor: add simpler componentFocusable util (deprecates LoadableComponent)#9515
jcfranco merged 2 commits intomainfrom
jcfranco/undeprecate-loadable-util

Conversation

@jcfranco
Copy link
Copy Markdown
Member

@jcfranco jcfranco commented Jun 4, 2024

Related Issue: N/A

Summary

#9362 introduced a utility that aimed to simplify how components wait to be loaded/ready before certain logic. Unfortunately, the behavior differs between dist and components output targets. This is because the utility assumes components from the components output target are not returning promises in lifecycle hooks that would delay initial rendering.

See stenciljs/site#1437 for more info.

@github-actions github-actions Bot added the chore Issues with changes that don't modify src or test files. label Jun 4, 2024
@jcfranco jcfranco added the skip visual snapshots Pull requests that do not need visual regression testing. label Jun 4, 2024
@jcfranco jcfranco marked this pull request as ready for review June 4, 2024 20:29
@jcfranco jcfranco requested a review from a team as a code owner June 4, 2024 20:29
@jcfranco jcfranco changed the title revert: refactor: add simpler componentFocusable util (deprecates LoadableComponent) revert: refactor: add simpler componentFocusable util (deprecates LoadableComponent) Jun 4, 2024
@jcfranco jcfranco changed the title revert: refactor: add simpler componentFocusable util (deprecates LoadableComponent) revert: refactor: add simpler componentFocusable util (deprecates LoadableComponent) Jun 4, 2024
@jcfranco jcfranco merged commit 8edeb36 into main Jun 8, 2024
@jcfranco jcfranco deleted the jcfranco/undeprecate-loadable-util branch June 8, 2024 01:22
@github-actions github-actions Bot added this to the 2024-06-25 - Jun Release milestone Jun 8, 2024
benelan added a commit that referenced this pull request Jun 10, 2024
…orkflow

* origin/main: (26 commits)
  revert: refactor: add simpler `componentFocusable` util (deprecates `LoadableComponent`) (#9515)
  chore(linting): enable selector-pseudo-element-colon-notation rule (#9518)
  refactor(storybook): refactor tooltip simple story interface (#9538)
  refactor(dom): consolidate transition/animation waiting utils (#9341)
  refactor(storybook): build storybook simple story args interfaces using component class (#9457)
  chore: release next
  fix(block): add accessible label for slotted controls (#9502)
  feat(action-bar, action-pad): add expandLabel and collapseLabel to messages (#9497)
  chore: release next
  feat(action-menu, combobox, dropdown, input-date-picker, popover): allow logical placements for flipPlacements property. #8825 (#9490)
  fix(popover): correct border radius on close button (#9485)
  fix(list-item): hide nested list items by default (#9474)
  refactor: move component types into component specific interfaces files (#9527)
  chore: release next
  fix(alert): pause auto-close alert when link focused (#9503)
  refactor(storybook): consolidate storybook and component types (#9500)
  refactor(calcite-block-section,calcite-card): consolidate interfaces imports (#9517)
  chore: release next
  fix(block-section): restore block toggling when clicking on the header switch (#9472)
  chore: release next
  ...
@benelan benelan mentioned this pull request Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Issues with changes that don't modify src or test files. skip visual snapshots Pull requests that do not need visual regression testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants