Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

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

    Firmware wishlist
    8
    12
    1571
    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.
    • sLpFhaWK
      sLpFhaWK last edited by

      I have 2 printers with Duet Wifi's and I tend to leave the tabs open in the background when printing and I'm doing other work on the computer. Instead of having to always go to the tabs to see what % the print is at I think it would be awesome to see it right in the tab next to whatever you named your printer.

      Not sure if this would be a firmware request, or a web interface addon, but I just thought I'd ask here.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • T3P3Tony
          T3P3Tony administrators last edited by

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

          1 Reply Last reply Reply Quote 0
          • sLpFhaWK
            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!

            1 Reply Last reply Reply Quote 0
            • burtoogle
              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
              • iDevelo
                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
                • yngndrw
                  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
                  • Jackal
                    Jackal last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • yngndrw
                      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
                      • iDevelo
                        iDevelo last edited by

                        Something like this?

                        https://youtu.be/YIzUvNyPGgo

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

                          I like it! How hard is it to implement?

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

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

                            iDeveloUK created this issue 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