mobxjs / mobxjs/mobx-devtools

[Feature Request] Add Views to MST right panel

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
502
Forks
34
PR merge metrics
No merged PRs in 30d

Description

So basically I have some store that does this

.extend(self => {
    let currentOTP = observable.box(null)

    const views = {
      get currentOTP() { return currentOTP.get() }
    }

    const actions = {
      setCurrentOTP(otp) { currentOTP.set(otp) }
    }

    return { views, actions }
  })

I want to be able to see all my Views in the right panel in the image where should show me currentOTP: [value]

screen shot 2017-11-24 at 1 34 15 am

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

Start by reviewing the extension's right-panel implementation and how it currently displays store data. Compare that behavior with the supplied MST store example, then verify that the currentOTP view and its value appear in the right panel as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
devtools, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.