Comments (8)
This would be a use case I didn't consider... can you possibly create an example in Sencha Fiddle that I can use to start exploring?
The problem I already know I'll encounter will be the rabbit-hole of possibilities - we'll have to check each frame to see if child frames exist, etc. The easiest solution will be (similar to Chrome DevTools) to ask the user to select the frame they want to inspect and only show it's contents (components, stores, etc) - because trying to find and merge everything from the top level will be a nightmare and ultimately confusing.
In theory it's not technically difficult, but I need a test case in order to be sure I'm solving the task at hand.
from appinspector.
I think you can see it just by going into the Sencha API docs, looking at a class that has an example (like this: http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.Panel), and running the example. The running example is shown inside an iframe, so the problem should be apparent immediately.
from appinspector.
True... I just wanted to be sure it solved a specific problem for you. I'll see if I can get that working, and then you'll be my tester ;-)
from appinspector.
Sure, happy to test it! Just FYI, we use a framework called Ozone which loads separate Ext JS apps into their own iframes (they call these "widgets"). Basically, it acts like a portlet-based "web desktop" to show and manage communication between multiple separate widgets. So this is why I happened to notice the problem.
from appinspector.
We have a very large Sencha application running many iframes containing Sencha sub-applications. This tool would come into its own if we could navigate to the iframes as you have suggested above. As it is the tool is of very little use to us as the sub-applications cannot run in isolation. Do you have a timeframe to provide frame navigation as the console does?
from appinspector.
Sorry, no timetable yet. This actually turns out to be far more difficult than I first thought... and as we develop this project in our spare time we've been trying to focus on lower-hanging fruit first.
from appinspector.
Just as a source of reference, it might be worth looking at another plugin like JSONView (https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc/details?hl=en), which has an option you can enable for "inject into frames". I have no idea how they're doing that, but it sounds similar enough to what is being asked for here that it might be worth a look.
from appinspector.
Ah... I'm running into this issue now. Cannot detect components within a frame.
from appinspector.
Related Issues (20)
- BUG: Components Details still masked after Component selection
- $API for last selected component
- AppInspector and sencha architect HOT 3
- about removing node_modules HOT 1
- Issue displaying dates in Stores > Records HOT 2
- Is it absolutely necessary to have Sencha Architect to be able to build AppInspector? HOT 5
- Enhancement request: Double clicking an element should make its instance available as a global variable
- "SenchaComponent" tab not finding the Viewport HOT 2
- ExtJS 3.4 support HOT 4
- Cannot identify components that exist within an Extjs frame HOT 1
- ExtJs 6 support HOT 2
- hash change triggering reload of sencha app inspector
- Extension is removed from Chrome store HOT 1
- AppInspector not working on the newest Chrome version HOT 1
- Create mock chrome.* APIs for debugging HOT 2
- Visualizations for Stores/Models and associations HOT 2
- Add "run unit tests" to CONTRIBUTING
- Upgrade to Ext JS 5 HOT 3
- BindInspector HOT 1
- MVC tab HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appinspector.