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

Chrome extension (Dev tools) #218

Open
kettanaito opened this issue Mar 18, 2018 · 2 comments
Open

Chrome extension (Dev tools) #218

kettanaito opened this issue Mar 18, 2018 · 2 comments
Labels
DX enhancement Enhances existing functionality. experimental
Milestone

Comments

@kettanaito
Copy link
Owner

What

Need to develop a Google Chrome extension as a RAF DevTools.

Why

  1. To allow logging form/field events outside of the console.
  2. To get rid of numerous console.log statements.
  3. For easier debugging and time-based form/field changes.
  4. For potential time-travelling (applying the state of the form at the certain period of time).

How

  1. Read how to develop a Chrome extension.
  2. Well, develop it.
@kettanaito kettanaito added enhancement Enhances existing functionality. DX experimental labels Mar 18, 2018
@kettanaito kettanaito added this to the Release 2.0 milestone Mar 18, 2018
@kettanaito
Copy link
Owner Author

kettanaito commented Mar 19, 2018

I gave it a try, and creating Chrome extension is easier than it seems. At least, at the first glance.

During the brainstorming I realized that the logged events must be grouped logically, which would make them easier to read and navigate. My initial thought is to have a "major" events (i.e. "change", "blur", "submit"), which are logged at the root level, and then "minor" events which may follow the major ones (i.e. "update", "validate").

Update: A spec should be written for this dev tool.

@kettanaito kettanaito changed the title Chrome extensions (Dev tools) Chrome extension (Dev tools) Mar 21, 2018
@kettanaito
Copy link
Owner Author

#354 will assist tremendously for such dev tool, since now each state update contains only the relevant patch of the next field(s). That patch is what needs to be displayed in the dev tool, to objectively see what field properties have changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX enhancement Enhances existing functionality. experimental
Projects
None yet
Development

No branches or pull requests

1 participant