ho-dev / HattrickOrganizer

Assistant for Hattrick online football manager
https://ho-dev.github.io/HattrickOrganizer/
GNU Lesser General Public License v3.0
195 stars 79 forks source link

[FEATURE] create a new overview Tab to be used as main tab instead of Lineup #530

Open akasolace opened 4 years ago

akasolace commented 4 years ago

We might have a new starting tab for HO! one similar to the club overview in HT plus additional information:

we might make some of those information entry points to some of existing tools and module (e.g. clicking on power rating display the historic graph in statistics tab, clicking on arena display income stats or arena sizer tool, .....)

@tychobrailleur maybe this one could be a good candidate to try incorporating a javafx form .... so could be for next version when we upgrade to java 14

tychobrailleur commented 4 years ago

I really like this idea! we could also display upcoming matches, and some HO news, new versions of HO available, etc.

akasolace commented 4 years ago

@tychobrailleur for your info I did it as a proof of concept: the overview tab has just 2 stupid labels but: it is using JavaFX panel inside main HO interface (both java 11) and using Scene Builder ! which is a breeze compare to manually doing GUI interface ! It took me 1h30 out of which I wasted 1h15 because of missing dll under windows ... so I am very surprised how easy it was. It all looks to work. I am hesitating moving to java 11 already for 4.0 and maybe to java 14 for 5.0

steffanots commented 4 years ago

Should I take this? JavaFX tab ? Do we have some designer or I'll prepare some preview

akasolace commented 4 years ago

@steffanots yes, you can take this one. Yes please prepare some preview/mockup before starting coding. This will be the landing page of HO!, we need a consensus of what is gonna look like. Maybe @DavidatorusF could throw some design idea as well.

JavaFX tab ?

@tychobrailleur what do you think of this? With the introduction of darklaf should we stick to plain swing also for that new tab ?

tychobrailleur commented 4 years ago

@tychobrailleur what do you think of this? With the introduction of darklaf should we stick to plain swing also for that new tab ?

This could be part of a POC to see whether the theming can be maintained even with JavaFX?

akasolace commented 3 years ago

In the meantime I received information from @weisJ that Darklaf is not compatible with JavaFX so we should stick with a Swing pannel.