You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried the "hide from boot dash" checkbox in the boot launch config. Seems to be all working fine. Is it some special launch config? Coming from the previous Eclipse/STS version perhaps?
Seems to work fine with any launch config I've created in my STS 4.10
I've tried creating 3 launch configs for petclinic, open the launch config dialog, select petclinic launch config and check/uncheck the checkbox "Hide from Boot Dash" and apply config watch the Boot Dash configs appear/disappear under Local -> spring-petclinic in Boot Dash... How is your case different? Any steps you can list to reproduce the issue please?
Nothing special, in fact, it appeared automagically on its own.
Coming from the previous Eclipse/STS version perhaps?
Probably, project itself was created in the beginnig of March. Next STS update, IIRC, was a couple of weeks later
How is your case different? Any steps you can list to reproduce the issue please?
As said above, I didn't do anything myself, but it was all done by STS. Thus, no steps.
Since hiding doesn't work either with even older STS projects anymore, I presume that the old launch configurations haven't been converted correctly by the latest update.
Funny thing: I just deleted the launch configuration completely -- doesn't bother the dash, project is still listed.
So, looks to me as if the dashboard at least does something else on the side.
How exactly does the dashboard determine what projedcts to list?
Dash board view -> Local -> RMC on the proejct -> Open Config
opens the "Debug Configurations" dialog (why "Debug"?) with a mostly empty interface, but as name
"my project (1)"
as if there were another already with the same name.
Do you have Hide solitary launch configs unchecked in Boot Dash filters? It is checked by default hence you won't see launch config if there is just one... if there is more than they'd show under the app. If you have unchecked then you'd see all launch configs but since you didn't mention it i assumed one launch config won't show under the app by default. Does this make sense to you?
Run configuration and project are two distinct elements. Hide from Boot Dash in the launch config wizard/dialog only applies to launch config and not to the project. My feeling at the moment that you expect the project/app to go away from Boot Dash when Hide from Boot Dash is checked - I don't think this is expected.
One could hide launch configs but not the app/project... You can tag your elements in Boot Dash and then enter tag of elements you'd like to see only... but I don't think we have anything explicit to not show project/app in Boot Dash (similar to launch config)
There is a way to remove app/project from Boot Dash.
Go to Preferences -> Spring -> Boot page. Under General section find Exclude Projects text box. Type regular expression for projects you'd like to be hidden.
Go to Preferences -> Spring -> Boot page. Under General section find Exclude Projects text box. Type regular expression for projects you'd like to be hidden.
Works.
But from a UX PoV this is plain horrible!
Why do I have to look in the global preferences for such a local feature -- if anywhere this belongs to the Dash view itself, as part of the filters.
As for the checkbox in the Launch configuration, that seems to be completely pointless. I am still not sure I understand the explanation, but from what I gather, it is confusing, to say the least.
AFAIU, the entry in the Dash view appears magically w/o any way to control its existence.
It exists independently of a Launch configuration, and yet, it offers an active context menu entry "Open Config" that leads to a Launch configuration w/o any hint that this configuration is just for fun.
The checkbox "Hide from Boot Dash" in particular follows an arcane, to put it mildly, rule when to be effective.
The overall rationale behind this is that the Boot Dashboard should provide a quick and easy-to-access one-click experience to start and stop your Spring Boot application (among other features it provides). Therefore it shows all the Spring Boot apps of your workspace by default, without the need to configure anything or do mark your projects. It identifies projects as Spring Boot projects and then shows them in a list. To that level of the boot dashboard is all about your Spring Boot projects.
If you start a Spring Boot project, there is an associated launch config being used - the regular way in Eclipse to launch apps. Therefore you can jump from the project entry in the Boot Dashboard to the corresponding launch config that is used to launch the app.
If you have exactly one launch config for a project, we don't show the launch config in the boot dashboard by default. You can enable that from the context menu of the boot dashboard, but by default, this is disabled.
If there are more than one launch config for an app, those different launch configs show up as nodes below the application, so that you can see all the related launch configs for your project. You can start/stop all of them or individually. For that case, users have asked us to allow to NOT show very specific launch configs in the boot dashboard, therefore we added the option to not show a specific launch config in the boot dashboard.
I fully agree to the point that the preference to hide specific projects (not launch configs) is totally hidden and too far away from the boot dashboard itself. We tried to address that by adding a menu item to the dashboard view menu called Boot Projects Filters Preference..., which navigates you to exactly that preference. But that doesn't seem to do the job here... ;-) We could introduce a context-menu item for a project on the dashboard to hide it from the dashboard - and the same for the project in the project explorer to bring it back. Just an idea. Any other concrete ideas here?
I am sure thee is a lot of room for improvement here (on the boot dashboard itself as well as on the user guide), so we will take your input here ans try to improve. If you have any additional concrete suggestions, please feel free to add them. They are more than welcome.
The overall rationale behind this is that the Boot Dashboard should provide a quick and easy-to-access one-click experience to start and stop your Spring Boot application (among other features it provides). Therefore it shows all the Spring Boot apps of your workspace by default, without the need to configure anything or do mark your projects. It identifies projects as Spring Boot projects and then shows them in a list. To that level of the boot dashboard is all about your Spring Boot projects.
As far as I can tell, the Dash is all about runnable projects (start, stop, debug, launch config, connection, ...)
So, no Spring Boot project that is not supposed to be run should appear here.
That would remedy the initial cause of my ticket:
I got three projects, one as a SHARED project containing everything common, and two to be actually run (using SHARED as library).
SHARED should not appear in Dash.
If you start a Spring Boot project, there is an associated launch config being used - the regular way in Eclipse to launch apps. Therefore you can jump from the project entry in the Boot Dashboard to the corresponding launch config that is used to launch the app.
That is highly confusing and hardly in keeping with the overall Eclipse experience -- to run something, a Launch configuration is required.
Hence, no Launch conf, no entry in the Dash.
This again would remedy my initial issue: since SHARED has no runnable class, a Launch config cannot be created, thus it would'nt appear in Dash.
Or else, that Launch config simply could be deleted by the user who intuitively recognizes the relationship between Launch conf and entry in Dash.
I fully agree to the point that the preference to hide specific projects (not launch configs) is totally hidden and too far away from the boot dashboard itself. We tried to address that by adding a menu item to the dashboard view menu called Boot Projects Filters Preference..., which navigates you to exactly that preference. But that doesn't seem to do the job here... ;-) We could introduce a context-menu item for a project on the dashboard to hide it from the dashboard - and the same for the project in the project explorer to bring it back. Just an idea. Any other concrete ideas here?
The Dash's toolbar has an entry called "Filters" -- why exactly is that feature (which is at least as much if not more about filtering than the three current entries) not part of it?
After all, the three existing entries concern themselves as well with managing the contents of the Dash.
Even if, for some reason that feature needs to be part of the overall preferences, why not have that Boot Projects Filters Preference... there instead of being hidden in the dots menu?
The overall rationale behind this is that the Boot Dashboard should provide a quick and easy-to-access one-click experience to start and stop your Spring Boot application (among other features it provides). Therefore it shows all the Spring Boot apps of your workspace by default, without the need to configure anything or do mark your projects. It identifies projects as Spring Boot projects and then shows them in a list. To that level of the boot dashboard is all about your Spring Boot projects.
As far as I can tell, the Dash is all about runnable projects (start, stop, debug, launch config, connection, ...)
So, no Spring Boot project that is not supposed to be run should appear here.
That would remedy the initial cause of my ticket:
I got three projects, one as a SHARED project containing everything common, and two to be actually run (using SHARED as library).
SHARED should not appear in Dash.
The Dash's toolbar has an entry called "Filters" -- why exactly is that feature (which is at least as much if not more about filtering than the three current entries) not part of it?
After all, the three existing entries concern themselves as well with managing the contents of the Dash.
Even if, for some reason that feature needs to be part of the overall preferences, why not have that Boot Projects Filters Preference... there instead of being hidden in the dots menu?
Agree, we should change that and redesign the filtering experience here. Doesn't provide a coherent experience at the moment.
If you start a Spring Boot project, there is an associated launch config being used - the regular way in Eclipse to launch apps. Therefore you can jump from the project entry in the Boot Dashboard to the corresponding launch config that is used to launch the app.
That is highly confusing and hardly in keeping with the overall Eclipse experience -- to run something, a Launch configuration is required.
Hence, no Launch conf, no entry in the Dash.
This again would remedy my initial issue: since SHARED has no runnable class, a Launch config cannot be created, thus it would'nt appear in Dash.
Or else, that Launch config simply could be deleted by the user who intuitively recognizes the relationship between Launch conf and entry in Dash.
I don't agree here. I really like the fact (and think this is an important feature of the boot dashboard) that you can "just run" your Spring Boot app without creating a launch config yourself before. And this is not something totally alien to Eclipse (there is also the context-menu, where you can select a project, right-click, and then select "Run As...", which automatically creates a launch configuration behind the scenes).
Therefore, showing projects AND launch configs in the boot dashboard makes sense to me. However, I see the confusion that it creates for projects that are not runnable or that users will never run, even if it might be possible, technically.
I would suggest:
We do not show projects without a main class anymore in the boot dashboard (by default)
We re-design the filtering experience to make it more coherent (and maybe more advanced)
Once that is done, we can re-evaluate to see what other changes are necessary to improve the experience and to further reduce confusion.
That is highly confusing and hardly in keeping with the overall Eclipse experience -- to run something, a Launch configuration is required.
Hence, no Launch conf, no entry in the Dash.
I don't agree here. I really like the fact (and think this is an important feature of the boot dashboard) that you can "just run" your Spring Boot app without creating a launch config yourself before. And this is not something totally alien to Eclipse (there is also the context-menu, where you can select a project, right-click, and then select "Run As...", which automatically creates a launch configuration behind the scenes).
Well, that was misleading.
Ithink, in fact, my and your idea quite match -- only show projects with a Launch config. If no main class exists, do not create a Launch config. main class in this context of course one with @SpringBootApplication.
I also like that you can run apps from boot dash without first creating a launch config. When you do, the Boot Dash creates the launch config for you and that is very convenient. Otherwise you have to go through some additional steps to create launch configuration. These extra steps would be especially cumbersome if you needed to run more than one app at the same time, which is a scenario that the boot dash was explicitly designed to provide a convenient mechanic for. I.e. you select several projects in boot dash at once, click 'start' and several launch configs are created/started with a single button click.
I can see the logic of only showing things with launch configs in the boot dash though. That does make sense from some point of view as well.
Therefore, I think we should close this one here for now. If those improvements are done and available, please feel free to give them an early try @2019-05-10 and let us know what you think then.
Activity
martinlippert commentedon Mar 23, 2021
Hey @BoykoAlex, can you take a look at this? That would be great.
BoykoAlex commentedon May 3, 2021
I've tried the "hide from boot dash" checkbox in the boot launch config. Seems to be all working fine. Is it some special launch config? Coming from the previous Eclipse/STS version perhaps?
Seems to work fine with any launch config I've created in my STS 4.10
I've tried creating 3 launch configs for petclinic, open the launch config dialog, select petclinic launch config and check/uncheck the checkbox "Hide from Boot Dash" and apply config watch the Boot Dash configs appear/disappear under Local -> spring-petclinic in Boot Dash... How is your case different? Any steps you can list to reproduce the issue please?
2019-05-10 commentedon May 4, 2021
Nothing special, in fact, it appeared automagically on its own.
Probably, project itself was created in the beginnig of March. Next STS update, IIRC, was a couple of weeks later
As said above, I didn't do anything myself, but it was all done by STS. Thus, no steps.
Since hiding doesn't work either with even older STS projects anymore, I presume that the old launch configurations haven't been converted correctly by the latest update.
2019-05-10 commentedon May 4, 2021
Funny thing: I just deleted the launch configuration completely -- doesn't bother the dash, project is still listed.
So, looks to me as if the dashboard at least does something else on the side.
How exactly does the dashboard determine what projedcts to list?
2019-05-10 commentedon May 4, 2021
Curiouser and curiouser.
Dash board view -> Local -> RMC on the proejct -> Open Config
opens the "Debug Configurations" dialog (why "Debug"?) with a mostly empty interface, but as name
"my project (1)"
as if there were another already with the same name.
2 remaining items
BoykoAlex commentedon May 4, 2021
Do you have Hide solitary launch configs unchecked in Boot Dash filters? It is checked by default hence you won't see launch config if there is just one... if there is more than they'd show under the app. If you have unchecked then you'd see all launch configs but since you didn't mention it i assumed one launch config won't show under the app by default. Does this make sense to you?
BoykoAlex commentedon May 4, 2021
Run configuration and project are two distinct elements. Hide from Boot Dash in the launch config wizard/dialog only applies to launch config and not to the project. My feeling at the moment that you expect the project/app to go away from Boot Dash when Hide from Boot Dash is checked - I don't think this is expected.
One could hide launch configs but not the app/project... You can tag your elements in Boot Dash and then enter tag of elements you'd like to see only... but I don't think we have anything explicit to not show project/app in Boot Dash (similar to launch config)
BoykoAlex commentedon May 4, 2021
There is a way to remove app/project from Boot Dash.
Go to Preferences -> Spring -> Boot page. Under General section find Exclude Projects text box. Type regular expression for projects you'd like to be hidden.
Does any of it help?
2019-05-10 commentedon May 4, 2021
Works.
But from a UX PoV this is plain horrible!
Why do I have to look in the global preferences for such a local feature -- if anywhere this belongs to the Dash view itself, as part of the filters.
As for the checkbox in the Launch configuration, that seems to be completely pointless. I am still not sure I understand the explanation, but from what I gather, it is confusing, to say the least.
AFAIU, the entry in the Dash view appears magically w/o any way to control its existence.
It exists independently of a Launch configuration, and yet, it offers an active context menu entry "Open Config" that leads to a Launch configuration w/o any hint that this configuration is just for fun.
The checkbox "Hide from Boot Dash" in particular follows an arcane, to put it mildly, rule when to be effective.
What exactly is the rationale behind all that?
martinlippert commentedon May 4, 2021
Let me explain:
The overall rationale behind this is that the Boot Dashboard should provide a quick and easy-to-access one-click experience to start and stop your Spring Boot application (among other features it provides). Therefore it shows all the Spring Boot apps of your workspace by default, without the need to configure anything or do mark your projects. It identifies projects as Spring Boot projects and then shows them in a list. To that level of the boot dashboard is all about your Spring Boot projects.
If you start a Spring Boot project, there is an associated launch config being used - the regular way in Eclipse to launch apps. Therefore you can jump from the project entry in the Boot Dashboard to the corresponding launch config that is used to launch the app.
If you have exactly one launch config for a project, we don't show the launch config in the boot dashboard by default. You can enable that from the context menu of the boot dashboard, but by default, this is disabled.
If there are more than one launch config for an app, those different launch configs show up as nodes below the application, so that you can see all the related launch configs for your project. You can start/stop all of them or individually. For that case, users have asked us to allow to NOT show very specific launch configs in the boot dashboard, therefore we added the option to not show a specific launch config in the boot dashboard.
I fully agree to the point that the preference to hide specific projects (not launch configs) is totally hidden and too far away from the boot dashboard itself. We tried to address that by adding a menu item to the dashboard view menu called
Boot Projects Filters Preference..., which navigates you to exactly that preference. But that doesn't seem to do the job here... ;-) We could introduce a context-menu item for a project on the dashboard to hide it from the dashboard - and the same for the project in the project explorer to bring it back. Just an idea. Any other concrete ideas here?Hope I could explain the rationale behind the boot dashboard a bit. There is a user guide section about it as well where some or many of these aspects where described: https://github.com/spring-projects/sts4/wiki/Introduction-And-Working-With-Local-Projects.
I am sure thee is a lot of room for improvement here (on the boot dashboard itself as well as on the user guide), so we will take your input here ans try to improve. If you have any additional concrete suggestions, please feel free to add them. They are more than welcome.
2019-05-10 commentedon May 5, 2021
As far as I can tell, the Dash is all about runnable projects (start, stop, debug, launch config, connection, ...)
So, no Spring Boot project that is not supposed to be run should appear here.
That would remedy the initial cause of my ticket:
I got three projects, one as a SHARED project containing everything common, and two to be actually run (using SHARED as library).
SHARED should not appear in Dash.
That is highly confusing and hardly in keeping with the overall Eclipse experience -- to run something, a Launch configuration is required.
Hence, no Launch conf, no entry in the Dash.
This again would remedy my initial issue: since SHARED has no runnable class, a Launch config cannot be created, thus it would'nt appear in Dash.
Or else, that Launch config simply could be deleted by the user who intuitively recognizes the relationship between Launch conf and entry in Dash.
The Dash's toolbar has an entry called "Filters" -- why exactly is that feature (which is at least as much if not more about filtering than the three current entries) not part of it?
After all, the three existing entries concern themselves as well with managing the contents of the Dash.
Even if, for some reason that feature needs to be part of the overall preferences, why not have that
Boot Projects Filters Preference...there instead of being hidden in the dots menu?martinlippert commentedon May 5, 2021
That sounds related to #605.
martinlippert commentedon May 5, 2021
Agree, we should change that and redesign the filtering experience here. Doesn't provide a coherent experience at the moment.
martinlippert commentedon May 5, 2021
I don't agree here. I really like the fact (and think this is an important feature of the boot dashboard) that you can "just run" your Spring Boot app without creating a launch config yourself before. And this is not something totally alien to Eclipse (there is also the context-menu, where you can select a project, right-click, and then select "Run As...", which automatically creates a launch configuration behind the scenes).
Therefore, showing projects AND launch configs in the boot dashboard makes sense to me. However, I see the confusion that it creates for projects that are not runnable or that users will never run, even if it might be possible, technically.
I would suggest:
Once that is done, we can re-evaluate to see what other changes are necessary to improve the experience and to further reduce confusion.
2019-05-10 commentedon May 5, 2021
Well, that was misleading.
Ithink, in fact, my and your idea quite match -- only show projects with a Launch config. If no main class exists, do not create a Launch config.
main classin this context of course one with@SpringBootApplication.kdvolder commentedon May 5, 2021
I also like that you can run apps from boot dash without first creating a launch config. When you do, the Boot Dash creates the launch config for you and that is very convenient. Otherwise you have to go through some additional steps to create launch configuration. These extra steps would be especially cumbersome if you needed to run more than one app at the same time, which is a scenario that the boot dash was explicitly designed to provide a convenient mechanic for. I.e. you select several projects in boot dash at once, click 'start' and several launch configs are created/started with a single button click.
I can see the logic of only showing things with launch configs in the boot dash though. That does make sense from some point of view as well.
BoykoAlex commentedon May 5, 2021
Showing only projects with either present launch config or main class only in Boot Dash by default -> 0b840cd
martinlippert commentedon May 7, 2021
I think there are two things that are in progress to improve the experience here:
Therefore, I think we should close this one here for now. If those improvements are done and available, please feel free to give them an early try @2019-05-10 and let us know what you think then.
martinlippert commentedon Jun 2, 2021
Just as a quick follow-up: both mentioned enhancements are implemented and will be shipped as part of the next release (late in June 2021).