question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: DevTools

See original GitHub issue

(Intended to be created in a separate repository)

Currently

When we try to debug a regular Frint app (involving root and children), we tend to investigate it by logging window.app in the Chrome DevTools console.

Use cases involve:

  • Checking existence of Root app
  • Listing all providers
  • Checking which providers are cascaded
  • Finding list of registered Child Apps
  • Checking their configuration (multi instance or not for example, and target regions)
  • If Child Apps are mounted already in a Region
  • Inspecting Apps’ state
  • …there can be more

At the moment, to do all of that, developers need to have knowledge of internal APIs of Frint to move forward with debugging.

Proposal

A Developer Tools extension, can be targeted for Chrome only for now, where developers get to see the current situation of Root and Child Apps. The common use cases listed above should be handled by this extension at least.

By default, it can take window.app as a source. But the extension should be configurable by the developer to use any other variable name.

Example for React: https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en

Source: https://github.com/facebook/react-devtools

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
fahad19commented, Mar 6, 2018

@yurist38: done. you are admin of this repo now: https://github.com/frintjs/frint-devtools

1reaction
fahad19commented, Nov 15, 2017

I am currently thinking of something like this:

frint-devtools-mockup

  • Top bar: has setting icon, that can lead to a form where developer can assign the root app variable (like window.app)
  • Left sidebar: lists all the apps. Root App appears on top, followed by child apps (they can be styled a bit different in list, to give prominence to Root App)
  • Main view:
    • Top bar: has two tabs/pills (options and providers)
    • Content area: lists items
Read more comments on GitHub >

github_iconTop Results From Across the Web

[Proposal] official bloc devtools · Issue #2748 - GitHub
Got the devtool server to work with the v8 flutter_todos tutorial (specifically, this commit/version. Didn't clean up the example. Doesn't work.
Read more >
Chrome DevTools Design Review Guidelines
When contributing to Chrome DevTools, please follow the process explained in this document. This is to reach a clear agreement on proposals, while...
Read more >
ChromeDriver proposal using DevTools/Extensions
ChromeDriver is an implementation of WebDriver, a w3c working draft that presents an API for out of process website testing. This allows website...
Read more >
Google Chrome DevTools Tutorials - WebFX
Get a Proposal Rocket ... Chrome Developer Tools (also known as DevTools) is an essential component of any front-end developer's toolkit.
Read more >
Berlin 2013 - Proposal - devopsdays
The Etsy DevTools team was created to foster collaboration between engineering and operations and also between different teams within engineering.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found