betterbearmetalcode / Scouting-Server

Data manipulation and processing tool for 2046 Bear Metal's FRC Scouting System
https://tahomarobotics.org/
0 stars 0 forks source link

opening chart files & finish chart details #58

Open X-man34 opened 3 months ago

X-man34 commented 3 months ago

copy past from discord kind of You can create chart files and the show up and save just fine, but you cant open a saved chart file. That is the main thing I want you to work on, after you finish exporting. Make it so the scouting server can open chart files based on the file format I made up yesterday. You'll have to look at code in the chart Tab Content class to see how to read files and you will have to modify the open method in master controller and make it so that it can distingusih between .frcdat files (databases) and .frccrt files (chart files) the chart files are base 64 encoded json objects so you will have to decode it, its just one line, before making the json object. I also want you to make sure all the details of charts work, like the tabs are bold and not bold when they need or dont need to be saved, I was doing some shenanagins with the savecode, trying to only write it once and put most of it in generic tab content but they may cause issues with save dialogs being named the wrong thing and confusing the user, which I want you to look into.