Skip to content

[Tracker] Bubbletea Model Refactor (Loading + Init/Tick Integration) #821

@NucleoFusion

Description

@NucleoFusion

Overview

Re-pickup and refactor of the Bubbletea model to better utilize built-in features like tea.Init() and tea.Tick() for improved loading states and UX consistency.

Goals

  • Introduce proper loading states using Bubbletea primitives
  • Standardize async behavior across views
  • Prepare for a unified table/list abstraction

Tasks

  • Utilize tea.Init() and tea.Tick() to implement loading states
  • Identify and refactor commands/views that should display loading
  • Convert existing components to use loadingtablelist
  • Once migration is complete, rename loadingtablelisttablelist

Model Refactor Tracker

Track which models have been migrated to the new loading + init/tick pattern:

  • tablelist
  • selection
  • multiselect
  • tablegrid

Mark each as complete once it fully adopts the new pattern (loading state + proper init/tick usage).

Reference

Notes

This is a tracker issue.

A more expansive issue will follow, covering the full scope of the problem and the complete refactor plan.
This issue acts as a prequel — setting up the groundwork and introducing initial structural changes.

Ownership

This is being actively worked on by @NucleoFusion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions