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

ViewModel editor shows incorrect / incomplete data #103

Open
bmomberger-bitovi opened this issue Nov 13, 2019 · 0 comments
Open

ViewModel editor shows incorrect / incomplete data #103

bmomberger-bitovi opened this issue Nov 13, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bmomberger-bitovi
Copy link
Contributor

Repro setup:

  • Install the built devtools as a chrome extension.
  • open panel/panel.html in a tab
  • open Chrome dev tools
  • click on CanJS in the tab bar of dev tools

Issue 1: clicking todo-list in components tree frequently shows no properties or no subproperties

  • click on todo-list in the components tree
  • click on a todo-item in the components tree
  • click on todo-list again

Actual result (possibly intermittent)

  • in view model editor, todo-list component is shown with either
    • no properties; or
    • the correct "editable" and "todos" properties, but when expanding, no subproperties or element of those property values are shown.

Expected result

  • in view model editor, todo-list component is shown, and its object and array properties are expandable to see their properties or elements

Issue 2: clicking todo-item in components tree causes "undefined ViewModel" (~1sec after "todo-item ViewModel")

  • click on todo-list in the components tree
  • click on a todo-item in the components tree

Actual result (possibly intermittent)

  • in view model editor, "todo-item ViewModel" is shown at the top
  • one second passes
  • in view model editor, "undefined ViewModel" is shown at the top
  • no properties are shown beneath

Expected result

  • in view model editor, "todo-item ViewModel" is shown at top
  • properties appropriate to a todo-item (name & completed) are shown beneath
@bmomberger-bitovi bmomberger-bitovi added the bug Something isn't working label Nov 14, 2019
@bmomberger-bitovi bmomberger-bitovi self-assigned this Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant