-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Visual Library] Non-modal editing of a Visual Library chart still offers Save and Return, lands in a Canvas workbook #92821
Comments
Pinging @elastic/kibana-presentation (Team:Presentation) |
Pinging @elastic/kibana-app (Team:KibanaApp) |
I think this should be fixed by #91005 , but maybe the PR missed your specific navigation path @monfera could you check whether you have this commit locally? cc @ThomThomson |
Thanks Joe, I didn't have this commit and a git pull on |
Seems like both #91005 and #90243 were merged correctly into 7.12 - (back when 7.x was 7.12) Interestingly, this issue seems like more of a design / UX consideration. This earlier issue: #90221 describes a situation where editing a by value panel would put the state into the app link, which meant that leaving (going to home for instance), then navigating back via the I fixed that by saving the listing page to the app link instead any time the app was editing or creating a by value panel. That fixed the most egregious parts of the issue, but I can definitely see how it could be strange to have the app link take you back to a state where you're linked to an originating app. I am leaning towards the following fix: Redirect to Listing Page:
|
If I'm following the flow correctly...
If that is the flow, then my expectation would be to see the listing page. In my mind, the editing I was doing prior was in the context of the dashboard, so I wouldn't expect to land back in that editing flow unless I went back through the original dashboard. Suspecting that is your proposed solution, I am in agreement :) Thanks for coming to my TED Talk. |
Kibana version:
7.12
Original install method (e.g. download page, yum, from source, etc.):
kbn bootstrap
etc. from the7.12
branchDescribe the bug:
as in the title
Steps to reproduce:
Expected behavior:
Save and Return should only be active if we came here from within eg. a Canvas workpage where we initiated editing the chart
Screenshots (if relevant):
Any additional context:
It's probably a hard problem to know if we're still in modal editing, eg. what if I forgot to ever return from an edit, then went to the home page. I think in this case there should be some reset: navigate away from the modal edit any way other than "Save and Return": clear the flag that allows modal return. Indefinite states shouldn't dangle around
The text was updated successfully, but these errors were encountered: