Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Is there a way to add a % bar to the tab if you're printing something?

    Scheduled Pinned Locked Moved
    Firmware wishlist
    8
    12
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T3P3Tonyundefined
      T3P3Tony administrators
      last edited by

      It would be something to add to the DWC web interface I will let @chrishamm know about this request.

      www.duet3d.com

      1 Reply Last reply Reply Quote 0
      • sLpFhaWKundefined
        sLpFhaWK
        last edited by

        @dc42:

        I suspect it's not possible, because AFAIK the browser only requests the favicon.ico file when it connects initially. But someone else may know a workaround.

        Speaking of the faveicon, how does one change that? I'd like to have them to be different colors instead of both blue 😃

        @T3P3Tony:

        It would be something to add to the DWC web interface I will let @chrishamm know about this request.

        Thank you!

        -sLpFhaWK
        Ultibots K250v
        Rostock Max v2 Soon to be Full MetalMax
        Mini Kossel

        1 Reply Last reply Reply Quote 0
        • burtoogleundefined
          burtoogle
          last edited by

          It's easy to change the text shown in the browser tab from javascript. It just needs the UI code to do something like this every now and again:

          document.title = "My fab printer: 75%";

          1 Reply Last reply Reply Quote 0
          • iDeveloundefined
            iDevelo
            last edited by

            @dc42:

            I suspect it's not possible, because AFAIK the browser only requests the favicon.ico file when it connects initially. But someone else may know a workaround.

            For chrome and Firefox you can change it dynamically with an Ajax request but I don't think you can in IE or Safari.

            1 Reply Last reply Reply Quote 0
            • yngndrwundefined
              yngndrw
              last edited by

              Here's a demo page showing how you can dynamically change the favicon:
              https://mathiasbynens.be/demo/dynamic-favicons
              http://stackoverflow.com/a/2995536/4107016

              1 Reply Last reply Reply Quote 0
              • Jackalundefined
                Jackal
                last edited by

                This one seems interesting as well
                https://github.com/lipka/piecon

                1 Reply Last reply Reply Quote 0
                • yngndrwundefined
                  yngndrw
                  last edited by

                  @Jackal:

                  This one seems interesting as well
                  https://github.com/lipka/piecon

                  That one is very pleasing, I especially like how it generates the images on the fly so you don't have to serve them all.

                  Looking through the web UI code, it looks like there's already a nice setProgress function which could be used to update this:
                  https://github.com/dc42/DuetWebControl/blob/master/src/js/viewmodel.js#L2402

                  1 Reply Last reply Reply Quote 0
                  • iDeveloundefined
                    iDevelo
                    last edited by

                    Something like this?

                    https://youtu.be/YIzUvNyPGgo

                    1 Reply Last reply Reply Quote 0
                    • Demthiosundefined
                      Demthios
                      last edited by

                      I like it! How hard is it to implement?

                      1 Reply Last reply Reply Quote 0
                      • iDeveloundefined
                        iDevelo
                        last edited by

                        I've put a pull request in with chris: https://github.com/chrishamm/DuetWebControl/pull/33/commits/eb2a220471c4c520314c29534fe00d53d217a782

                        iDeveloUK opened this pull request in chrishamm/DuetWebControl

                        closed Piecon Integration #33

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA