Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Show patient update confirmation as inline alert rather than modal #377

Closed
jglovier opened this issue Mar 18, 2016 · 15 comments
Closed

Show patient update confirmation as inline alert rather than modal #377

jglovier opened this issue Mar 18, 2016 · 15 comments
Labels
in progress indicates that issue/pull request is currently being worked on ux

Comments

@jglovier
Copy link
Member

Current experience: When you update a patient record, you are shown a confirmation dialog as a modal that lets you go back, or simply close the dialog. It is superfluous and requires an extra click to keep working if you don't want to return to the patient record screen.

image

Better experience: Instead, we should render the alert inline just above the button so that you don't have the extra step of dismissing the modal if you want to do anything other than returning to the patient index. We can still include the patient index link in the confirmation alert for convenience if that is your next destination.

Steps to reproduce: Go to a patient record and update any piece of information.

@jglovier jglovier added design ux help wanted indicates that an issue is open for contributions labels Mar 18, 2016
@dswanson
Copy link

I propose this would be an improvement for the user experience. I would encourage most of the modal confirmation dialogs be "retired". Nice!

@jglovier
Copy link
Member Author

I would encourage most of the modal confirmation dialogs be "retired".

+:100:

@eddiesholl
Copy link

There's a couple of options I evaluated recently for ember notifications. We went with:
http://stonecircle.github.io/ember-cli-notifications/

Another nice option is:
http://simonwade.me/assets/ember-demos/#/ember-notify

@jkleinsc
Copy link
Member

@eddiesholl thanks for the suggestions. I really like ember-cli-notifications. @jglovier what do you think?

@jglovier
Copy link
Member Author

jglovier commented Apr 15, 2016

I'm not really interested in any of the default styling or animations of those options, but anything that solves the basic case of showing an inline alert without a modal is fine with me.

The placement of the alert should be in close proximity to the button where the alert was generated from, or at the top of the page if it is generated as part of a general page load condition. I'll create some design mocks to show what I think we want visually.

@jkleinsc
Copy link
Member

@jglovier perfect 👍

@clettenberg
Copy link
Contributor

clettenberg commented May 7, 2016

I can take this one if no one else is working on it. I have a very rough wip using ember-cli-notifications
Edit: Nevermind. I just re-read the thread and had missed the part about mocking this up first.

@amyrlam
Copy link
Contributor

amyrlam commented Sep 24, 2016

I'll work on this

@jscottchapman
Copy link
Contributor

@amyrlam It looks like you are working on this one. Is that right? Just wanted to make sure two people aren't working on the same issue unknowingly.

@amyrlam
Copy link
Contributor

amyrlam commented Oct 12, 2016

@jscottchapman hi! I have a branch https://github.com/amyrlam/hospitalrun-frontend/tree/amyrlam/no-modal, but since I have another issue in work, feel free to give to someone else. You could run my branch locally to see a demo. @jglovier mentioned moving the notification above the button (right now it's at the top center of the page)

@ivanlori
Copy link

ivanlori commented Nov 1, 2016

@tangollama , Hi I am new on this project, I would like to work on this issue, can I?

@jkleinsc jkleinsc added in progress indicates that issue/pull request is currently being worked on and removed help wanted indicates that an issue is open for contributions labels Nov 1, 2016
@jkleinsc
Copy link
Member

jkleinsc commented Nov 1, 2016

@ivanlori it is yours to work on.

@jglovier
Copy link
Member Author

@ivanlori any update on this? If you've not had a chance to work on it, and don't think you will in the immediate future, I'd like to add the help-wanted label back on it.

@ivanlori
Copy link

ivanlori commented Jan 18, 2017 via email

@melissahie
Copy link
Contributor

taking this issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in progress indicates that issue/pull request is currently being worked on ux
Projects
None yet
Development

No branches or pull requests

9 participants