Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor preload in components to use LiveView's new update_many #711

Closed
8 of 9 tasks
mayel opened this issue Sep 23, 2023 · 0 comments
Closed
8 of 9 tasks

Refactor preload in components to use LiveView's new update_many #711

mayel opened this issue Sep 23, 2023 · 0 comments
Labels
Refactor Work that improves the understandability and quality of the code
Milestone

Comments

@mayel
Copy link
Member

mayel commented Sep 23, 2023

See https://hexdocs.pm/phoenix_live_view/Phoenix.LiveComponent.html#module-update-many

Uses:

  • Bonfire.Social.Boosts.LiveHandler.preload
  • Bonfire.Social.Follows.LiveHandler.preload
  • Bonfire.Social.Likes.LiveHandler.preload
  • Bonfire.Social.Feeds.LiveHandler.preload
  • Bonfire.UI.Me.SettingsViewsLive.InstanceMembersLive
  • Bonfire.Boundaries.LiveHandler.maybe_check_boundaries
  • Bonfire.Boundaries.Blocks.LiveHandler.preload
@mayel mayel added the Refactor Work that improves the understandability and quality of the code label Sep 23, 2023
mayel added a commit to bonfire-networks/bonfire_ui_me that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_boundaries that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_social that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_ui_social that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_ui_common that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_ui_me that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_boundaries that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_social that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_ui_social that referenced this issue Nov 8, 2023
mayel added a commit to bonfire-networks/bonfire_ui_common that referenced this issue Nov 8, 2023
@mayel mayel closed this as completed Nov 8, 2023
@mayel mayel modified the milestones: 0.9.12 - Optimisations, 1.0 beta Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Work that improves the understandability and quality of the code
Projects
None yet
Development

No branches or pull requests

2 participants