firebase / genkit

An open source framework for building AI-powered apps with familiar code-centric patterns. Genkit makes it easy to develop, integrate, and test AI features with observability and evaluations. Genkit works with various models and platforms.
Apache License 2.0
783 stars 118 forks source link

[Dev UI] [New Nav] Show / hide empty runners #1344

Open mjchristy opened 1 week ago

mjchristy commented 1 week ago

Considerations

Copy: "View more" "View less"

How will this interact with runtime connection? We should persist their nav state unless they refresh.

Screenshots

Collapsed State

Image

Annotations:

Screenshot 2024-11-20 at 2 03 01 PM
MichaelDoyle commented 1 week ago

Re: persistence, currently we do a "hard refresh" when the connection is re-established. We probably need to revisit that behavior in a more general sense.

tonybaroneee commented 1 week ago

@hugomurillomtz FYI - there's already some preexisting, unused logic in nav-toggle.service.ts that you can leverage here. Check out the areRunnersCollapsed and saveRunnerCollapseState helper methods, which use localStorage to remember the collapsed/expanded state.