Comments (5)
Interesting idea! I've put up a proof-of-concept in branch feature-uploadClientLogs.
If you want to test it, download this branch and run:
$ npm install
$ npm run buildExample
$ npm run example
Then open the following URLs in your browser:
- Monitor: http://localhost:8090
- Example client application with upload: http://localhost:3000/exampleUpload.html
Now if you open the Storyboard DevTools on the monitor and log in (any credential is fine), you'll see the logs from the console-less application in the Client section. Every time you reload the client application (the second URL), you'll get a new top-level story in the DevTools. Feedback is welcome!
Screenshot:
from storyboard.
Something I forgot: logs and stories generated at the client(s) will not pollute the server's console.
from storyboard.
Hi, I am not able for the mom. to test it, but to be sure that I understand: As a precondition it is still needed to startup the monitor on a host or desktop PC before I can use a client browser on Android ?
My idea was more to be independent from devTools and in general from chrome, that any browser (supporting websockets) could be used on e.g. an Android system or whatever.
Would it be possible to add a tiny websocket server in y node lib, that responses on a http://ahostname:8080 by a tiny webpage open in any browser; has internally a websocket client open to immediately receives logs and write it to obj.document?
from storyboard.
I'm not sure I understand you so I'll try to recap.
One of the ideas behind Storyboard was to be able to use a normal web application in a browser, jump to the DevTools and see not only your client logs (as in the console), but also related server logs. This works great in Chrome.
Now if you ask about other browsers, what you can do with v1.1.0 (I just published it) is configure the WebSocket Client that is included in Storyboard so that it uploads the logs to the server, and connect to the server from a Chrome browser, where you will be able to see the remote logs. I think this architecture not only solves your problems, but also opens the door to many new ideas: save all client logs in a database, analyse user actions, etc.
I'm closing this issue since I believe PR #9 covers the original post.
from storyboard.
In a 1st mom. y comment and solution wasnt clear for me.
But nevertheless, thank y for y efforts.
from storyboard.
Related Issues (15)
- Display login errors
- Is it possible to overload console? HOT 6
- Parsing error: Unexpected token : HOT 6
- Recieving logs by another websocket client HOT 5
- listenerCreate is not a function HOT 2
- Postgres schema HOT 1
- Default src HOT 5
- Forget items from leaves of tree upwards HOT 2
- Demo is down. HOT 3
- Change port HOT 1
- Typescript types HOT 2
- Add levels to stories HOT 1
- Heroku app is down HOT 3
- Trying to get in touch regarding a security issue HOT 3
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 storyboard.