GithubHelp home page GithubHelp logo

Comments (5)

guigrpa avatar guigrpa commented on September 25, 2024

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:

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:

uploadedstories

from storyboard.

guigrpa avatar guigrpa commented on September 25, 2024

Something I forgot: logs and stories generated at the client(s) will not pollute the server's console.

from storyboard.

Nic2012 avatar Nic2012 commented on September 25, 2024

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.

guigrpa avatar guigrpa commented on September 25, 2024

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.

Nic2012 avatar Nic2012 commented on September 25, 2024

In a 1st mom. y comment and solution wasnt clear for me.
But nevertheless, thank y for y efforts.

from storyboard.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.