Gold872 / elastic-dashboard

A simple and modern dashboard for FRC
MIT License
71 stars 13 forks source link

Unable to Create tabs via Shuffleboard API #28

Closed m10653 closed 7 months ago

m10653 commented 7 months ago

Describe the bug Utilizing the shuffleboard api and the getTab method fails to create a new tab. Where as the exact same code will cause a new tab to be created within shuffleboard dashboard itself.

To Reproduce Steps to reproduce the behavior:

  1. Run Shuffleboard.getTab("test");
  2. Shuffleboard.selectTab("test");
  3. Tab is created and switched to via Shuffleboard Dashboard
  4. Elastic fails to do so.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Bug shown where tab Autonomous2 is not being created. bug

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Gold872 commented 7 months ago

Elastic only creates a tab via the shuffleboard api when there's a new widget to be placed. I'll try experimenting with being able to create a tab when there's nothing on it, but I'm not sure if I will be able to get it reliably working. The shuffleboard schema on network tables is very finnicky and was a huge pain to get working consistently.

Gold872 commented 7 months ago

Feature has been added and will be released in the next update