-
-
Notifications
You must be signed in to change notification settings - Fork 38
Description
In the Browser (left vertical pane), after selecting "Add instr prefix for .*" for a namespace, appears a confirmation dialog asking if
Do you want FlowStorm to reload all namespaces that matches #"^.*" so the instrumentation changes take effect?
Providing the options to "Cancel" or "Apply".
Notice that the intrumentation prefix was already added.
This dialog is not meant to confirm "Add(ing) instr prefix for .*". The moment you click that, it happens, the prefix is already added. The dialog is actually meant to control a different new action, explained in the dialog text itself: "to reload all namespaces that matches ".
Besides the confussion of expecting the dialog to prevent/control the action I just "clicked" (Add instr prefix), but instead it does something else (asking you to perform a new action), the options to answer the question are also missleading. When being asked if one wants to perform a new action, one would expect to answer "Yes" or "No", not "Cancel" or "Apply".
So I suggest for a quick fix to change the text of the Responses from "Cancel/Apply" to "Yes/No".
Alternativelly, you might want to:
- Default to "Add instr prefix and Reload all namespaces matching" with the possibility to Opt out somehow
- Or to present two options when "right" clicking the namespace you want an instrumentation prefix to be add to:
- Add instr prefix for .* (Reloading all namespaces matching)
- Add instr prefix for .* (Not reloading any namespace)
You might want or not to add a Confirmation-with-warning action for Reloading and/or not Reloading. I would add the dialog with a checkbox option for not showing the Confirmation-warning ever again.
Finally, if this change is applied, don't forget to update the Tutorial (2/9).
Notice this also happens when one tries to delete a prefix.