MetaCell / MetaCell/geppetto-meta

debugger call because selectedTab is undefined

Open
#110 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I also observed this in Netpyne-UI when you start the application with console open.

My assumption is that the middleware that updates the layout widget also has to change current selection of tab, or misses some important updates to the layout.

Reproduction in example app:
(1) Add widget by using button, (2) Minimize widget by using button -> debugger call in Layout.tsx because selectedTab is undefined

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce this in the example app with the console open: add a widget, then minimize it using the button. Start at the debugger call in Layout.tsx and trace the middleware that updates the layout and current tab selection. Done when the sequence no longer leaves selectedTab undefined or reaches the debugger call.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.