• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    I can't add a widget to a dashboard

    General Discussion
    2
    21
    2243
    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.
    • jkandasa
      jkandasa last edited by

      @TomG Thanks for the database, I found the issue and created a ticket in GitHub to track.

      https://github.com/mycontroller-org/mycontroller/issues/462

      T 1 Reply Last reply Reply Quote 0
      • T
        TomG @jkandasa last edited by

        @jkandasa said in I can't add a widget to a dashboard:

        @TomG Thanks for the database, I found the issue and created a ticket in GitHub to track.

        https://github.com/mycontroller-org/mycontroller/issues/462

        Thank you very much for your hard work on this. Is there anything I can do to work around this problem (other than making additional dashboards, or simplify my custom button widgets)?

        I know nothing about Java programming, but it appears the solution is to increase the size of the VALUE2 array or to make it dynamically sized (if possible). Could you make the size of this array a setting so everyone that doesn't have this problem won't have to pay the price of the additional memory that this fix will require (and it wouldn't be a hard coded size that someone will run into sooner or later)? Perhaps the additional memory isn't that big of an issue.

        MyController 1.4.0.Final on a Raspberry Pi 3+ running Raspbian Stretch
        MySensors 2.3.0 Serial Gateway

        jkandasa 1 Reply Last reply Reply Quote 0
        • jkandasa
          jkandasa @TomG last edited by jkandasa

          @tomg Thank you! For now no workaround, other than creating a new dashboard.
          I plan to take off dashboard configuration from the database(keep it as a JSON file.). This option will remove this restriction.

          T 1 Reply Last reply Reply Quote 0
          • T
            TomG @jkandasa last edited by

            @jkandasa said in I can't add a widget to a dashboard:

            @tomg Thank you! For now no workaround, other than creating a new dashboard.
            I plan to take off dashboard configuration from the database(keep it as a JSON file.). This option will remove this restriction.

            ☺ :clapping_hands_medium-light_skin_tone: :clapping_hands_medium-light_skin_tone: :clapping_hands_medium-light_skin_tone:

            MyController 1.4.0.Final on a Raspberry Pi 3+ running Raspbian Stretch
            MySensors 2.3.0 Serial Gateway

            jkandasa 1 Reply Last reply Reply Quote 0
            • jkandasa
              jkandasa @TomG last edited by jkandasa

              @tomg I have added fix for this issue and this change is available in the SNAPSHOT version. Kindly check it on this version and let me know.
              Thank you!

              NOTE: Once you upgrade, you cannot go back to the previous version(without old backup)

              T 1 Reply Last reply Reply Quote 0
              • T
                TomG @jkandasa last edited by TomG

                @jkandasa said in I can't add a widget to a dashboard:

                @tomg I have added fix for this issue and this change is available in the SNAPSHOT version. Kindly check it on this version and let me know.
                Thank you!

                NOTE: Once you upgrade, you cannot go back to the previous version(without old backup)

                The snapshot worked great! I was able to combine my two dashboards (that I made to work around the problem) into one dashboard without any problems.

                Is the dashboard configuration in a JSON file available somewhere?

                This issue was important to me not for just one dashboard, but I plan to have several dashboards of similar complexity and artificially splitting up dashboards made the user interface more complex and confusing.

                I'm surprised I'm the first person to report this problem. Perhaps other people just lived with the limitation and added dashboards or I'm pushing the boundaries on custom button widgets.

                I'd like to point out to everyone listening, that about one week after I reported a problem, the developer provided a fix. I certainly wouldn't expect this level of service all the time, but this is a level of service you won't see from most commercial products. I'll definitely support MyController.org (and MySensors.org) with an annual donation. You should support them too if you find value in these products. I'm sure any amount would be appreciated. FYI, I don't have any connection to these two organizations other than as a satisfied user.

                MyController 1.4.0.Final on a Raspberry Pi 3+ running Raspbian Stretch
                MySensors 2.3.0 Serial Gateway

                jkandasa 1 Reply Last reply Reply Quote 1
                • jkandasa
                  jkandasa @TomG last edited by

                  @tomg Thank you for your support! 👍
                  Please note: I am working on this project in my spare time. Sometimes you may expect a long delay.

                  Back to the main query:
                  Yes, At this time we have dashboard configuration in two places,

                  1. Database - Keeps dashboard name and root layout details
                  2. JSON file - Keeps widget configurations

                  This JSON file will be kept under myconteller/conf/resources/dashboards/, NOTE: You should not change the file name.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    TomG @jkandasa last edited by

                    @jkandasa It doesn't look like I'll be editing either of these to dashboard configuration sources by hand. :smiling_face_with_open_mouth_smiling_eyes:

                    Thanks again for your hard work. I'm look forward to the final release of 1.4.0.

                    MyController 1.4.0.Final on a Raspberry Pi 3+ running Raspbian Stretch
                    MySensors 2.3.0 Serial Gateway

                    jkandasa 1 Reply Last reply Reply Quote 1
                    • jkandasa
                      jkandasa @TomG last edited by

                      @tomg 12 hours ago I have updated a patch to fix dashboard deletion issue, Kindly move to the latest SNAPSHOT version.

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        TomG @jkandasa last edited by

                        @jkandasa Thanks much.

                        MyController 1.4.0.Final on a Raspberry Pi 3+ running Raspbian Stretch
                        MySensors 2.3.0 Serial Gateway

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        0
                        Online

                        647
                        Users

                        506
                        Topics

                        3.3k
                        Posts

                        Copyright © 2015-2022 MyController.org | Contributors | Localization