moosetechnology / MooseIDE

New Tools for Moose
MIT License
8 stars 18 forks source link

Query browser: Warn when no entity is propagated #993

Open jecisc opened 6 months ago

jecisc commented 6 months ago

It would be nice in the query browser to not display the browser but a warning when there is no entity propagated so that the user understand he needs to propagate its model or entities

NicolasAnquetil commented 6 months ago

Not showing the QueryBrowser seems a bit radical.

I often open a browser before propagating entities

But the browser could have a message saying that no entities have been propagated

jecisc commented 6 months ago

By "Not showing the QB" I meant to open the browser but replace the content by a message

ClotildeToullec commented 5 months ago

Maybe we should have that at a higher level than just the query browser. Many browsers have a similar issue.

This means that we cannot configure the browser before propagating any entities.

NicolasAnquetil commented 5 months ago

yes more generic is a good idea

I did not understand the 2nd point (about configuring)

jecisc commented 5 months ago

IIUC she means that most browsers cannot do anything without propagated entities.

ClotildeToullec commented 5 months ago

I meant that if we don't show the actual browser content before having any entities, we can't modify the browser. For example, add a static tag in the tag browser, knowing that it will be empty until we propagate, or choosing the associations to be shown in Architectural Map, or building queries.

It makes sense in most cases, because the configuration options often depend on the entities propagated (like the available query parameters). I just wanted to be sure we agree.