mbouchenoire / lowfer

Your software architecture laboratory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retractable filters panel

mbouchenoire opened this issue · comments

We should be able to hide / show the component filters panel to have more space to display graphs / data.

Hello, I would like to help on this topic.
Do you have any hint to start with ?

Maybe, by applying same strategy than "settings" component ?

Hi, thanks for your interest in the project !

The "filters panel" uses the Menu element from Semantic UI.

The code is located here : src/main/webapp/features/filters/Filters.tsx.

I don't know if the Menu component allow some sort of retractable logic, but if not I'm open to suggestions (using an other component or coding it ourselves). The only prerequisite if that the selected filters must stay visible at all times to avoid confusion.

Ok, I'll start to dig in and try to understand how to modify it ;-)

Hello, I'm missing something when I would like to start the application with dev profile and check modifications.

I have tried to force this profile with gradle (-Pdev and also with environment variables "dev=true" and "profiles=dev"), however when it starts spring, I see "prod" value for selected profile, and it fails because it doesn't a bean for ArchitectureRepository.

What I am doing wrong ?

I've found a workaround to be able to run the application, then test lowfer ui.
In the code, class ArchitectureDirectoryRepository, I'v removed annotation related to conditionnal behavior :

@ConditionalOnProperty(prefix = "architectures.", value = "directory")
@ConditionalOnMissingBean(ArchitectureGitRepository.class)

Then, I was able to start back-end ;-)
And frontend starts to be reactive...