HattrickOrganizer icon indicating copy to clipboard operation
HattrickOrganizer copied to clipboard

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

Open akasolace opened this issue 5 years ago • 6 comments

We might have a new starting tab for HO! one similar to the club overview in HT plus additional information: - club logo - club details (fans, TS, confidence, ...) - cup and ladder information - staff information - training information - finance information - new power rating - some other information (and delete misc module)

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

akasolace avatar May 19 '20 12:05 akasolace

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

tychobrailleur avatar May 19 '20 16:05 tychobrailleur

@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

akasolace avatar May 19 '20 19:05 akasolace

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

steffanots avatar Sep 04 '20 17:09 steffanots

@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 ?

akasolace avatar Sep 04 '20 19:09 akasolace

@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?

tychobrailleur avatar Sep 12 '20 17:09 tychobrailleur

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

akasolace avatar Nov 13 '20 08:11 akasolace