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

I can't add a widget to a dashboard

Scheduled Pinned Locked Moved General Discussion
21 Posts 2 Posters 5.5k Views 1 Watching
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.
  • J Offline
    jkandasa
    last edited by 7 Aug 2018, 02:35

    @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 7 Aug 2018, 03:22 Reply Quote 0
    • T Offline
      TomG @jkandasa
      last edited by 7 Aug 2018, 03:22

      @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

      J 1 Reply Last reply 7 Aug 2018, 04:08 Reply Quote 0
      • J Offline
        jkandasa @TomG
        last edited by jkandasa 8 Jul 2018, 09:38 7 Aug 2018, 04:08

        @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 7 Aug 2018, 05:11 Reply Quote 0
        • T Offline
          TomG @jkandasa
          last edited by 7 Aug 2018, 05:11

          @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

          J 1 Reply Last reply 9 Aug 2018, 05:32 Reply Quote 0
          • J Offline
            jkandasa @TomG
            last edited by jkandasa 8 Sept 2018, 11:03 9 Aug 2018, 05:32

            @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 10 Aug 2018, 06:06 Reply Quote 0
            • T Offline
              TomG @jkandasa
              last edited by TomG 8 Oct 2018, 13:40 10 Aug 2018, 06:06

              @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

              J 1 Reply Last reply 10 Aug 2018, 08:56 Reply Quote 1
              • J Offline
                jkandasa @TomG
                last edited by 10 Aug 2018, 08:56

                @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 10 Aug 2018, 14:26 Reply Quote 0
                • T Offline
                  TomG @jkandasa
                  last edited by 10 Aug 2018, 14:26

                  @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

                  J 1 Reply Last reply 10 Aug 2018, 15:59 Reply Quote 1
                  • J Offline
                    jkandasa @TomG
                    last edited by 10 Aug 2018, 15:59

                    @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 11 Aug 2018, 03:38 Reply Quote 0
                    • T Offline
                      TomG @jkandasa
                      last edited by 11 Aug 2018, 03:38

                      @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
                      21 out of 21
                      • First post
                        21/21
                        Last post

                      0

                      Online

                      619

                      Users

                      531

                      Topics

                      3.4k

                      Posts
                      Copyright © 2015-2025 MyController.org | Contributors | Localization