Inspector tabs should have a scrolling animation
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
In the inspector, the right-hand tabs (at least, maybe all tabs) should use a visible scrolling animation when switching between tabs. So that the tab container behaves like an image carousel.
I can't find a good isolated example of what I mean. I am probably searching for the wrong thing. To be clear, I mean animating the tab container, not the tabs themselves (although we may want to do that too)
Without animation, flicking between the Run, Log and Input/Output tabs creates a big flicker. A lot of content is moving in and out, and in particular loading the dark code panels against a white UI panel is really really janky. Adding a nice sliding animation will make this transition so much smoother.
implementation notes
Our tab controller basically needs an animated mode, maybe defaulting to true (unless this is too heavyweight visually across the app).
I suspect we need to restructure the tab panel to use a column layout where all tabs are always visible and we scroll the column into view, rather than hide the other panels. We may need to do something clever about not rendering tab content while the panel isn't visible. But we can just do a simple scrollTo to handle the animation.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the inspector's tab controller and tab panel, especially the right-hand Run, Log, and Input/Output tabs. Check how panels are currently shown or hidden and investigate whether scrollTo can provide the requested transition without rendering all content. Done means switching tabs produces a smooth visible container animation without the current flicker.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100