Skip to content

Commit c22cdbe

Browse files
authored
Add deprecated message to footer (wpilibsuite#827)
Since dashboards are opened a lot more then Pathweaver or Robotbuilder, I didn't want to make a pop-up that had to be dismissed every time it was used.
1 parent 68a14d7 commit c22cdbe

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

app/src/main/resources/edu/wpi/first/shuffleboard/app/MainWindow.fxml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
<?import javafx.scene.control.MenuItem?>
88
<?import javafx.scene.control.SeparatorMenuItem?>
99
<?import javafx.scene.layout.StackPane?>
10+
<?import javafx.scene.layout.HBox?>
1011
<?import javafx.scene.layout.VBox?>
1112
<?import javafx.scene.layout.BorderPane?>
13+
<?import javafx.scene.text.Text ?>
1214
<VBox fx:id="root" maxHeight="Infinity" maxWidth="Infinity"
1315
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
1416
fx:controller="edu.wpi.first.shuffleboard.app.MainWindowController">
@@ -61,4 +63,14 @@
6163
<fx:include source="ConnectionIndicators.fxml"/>
6264
</right>
6365
</BorderPane>
66+
<BorderPane styleClass="footer">
67+
<center>
68+
<HBox alignment="CENTER">
69+
<children>
70+
<Text text="Warning: Shuffleboard is deprecated and will be removed for the 2027 season. " fill="red"/>
71+
<Text text="See frc-docs for alternatives." fill="red" underline="true" onMouseClicked="#openDocsInBrowser"/>
72+
</children>
73+
</HBox>
74+
</center>
75+
</BorderPane>
6476
</VBox>

0 commit comments

Comments
 (0)