Open davidhunter08 opened 1 year ago
Team Rocket are exploring using bottom sheets for test results.
Bottom sheets are a mobile-app UI pattern intended to present temporary contextual information while maintaining access to the main content. When used for a few options or some additional information, a bottom sheet can enable quick access to controls; however, they should not be used on top of other bottom sheets or for displaying lengthy content.
Bottom sheets are a mobile-app UI pattern intended to present temporary contextual information while maintaining access to the main content. When used for a few options or some additional information, a bottom sheet can enable quick access to controls; however, they should not be used on top of other bottom sheets or for displaying lengthy content.
@davidhunter08 fwiw apple's own apps break that last rule all the time
the team rocket example above is one where i wonder if and how we might implement it as a native sheet. it would be nice to understand how much freedom + control we have to design those (e.g. can you use Frutiger in a sheet? can we use our own entire FE library? etc)
Thanks @michaelgallagher I'm meeting with team omelette tomorrow to hopefully discuss exactly that!
I've been playing about with a bottom sheet in HTML
@davidhunter08 nice
Team Mavericks are looking to use native bottom sheets for users to 'Give feedback'.
Team Valiant are looking to use native bottom sheets for users to 'Filter results'.
q: is this the native component version? if so, should we be using the stock component header?
q: is this the native component version? if so, should we be using the stock component header?
Hey Mike, there are still lots of questions around this component. I think some design / dev collaboration in native code to explore the possible is needed. We spoke to Team Omelette (Beyond the Shell 🐣) in December in regards to prototyping / testing native components but the team were not at that stage yet.
We met with Team Mavericks yesterday, a decision was made to build the web version of the 'Give feedback' across all platforms (which simply goes to a new page when selecting the 'Give feedback' link and doesn't use a bottom sheet / overlay) until we understand more about implementing a native bottom sheet.
The secondary care team currently have the 'filter' and 'sort by' function of their hospital document and questionnaires user flow
Something we are looking at in N&M is utilising the bottom sheet to allow users to remove/restore messages from the App. We have tested this patten in both moderated and unmoderated testing sessions and the pass rate is very high. We'd be looking to use the bottom sheet component once it has been built, and if its possible, to act as dialogue and confirmation interactions for removing/restoring messages
A few questions/queries that were raised in a recent playback of this journey in the IxD huddle:
Team Native are shortly going to be developing the Native Bottom Sheet component and spoke to me recently on the 'dismiss' interaction comparisons between the iOS and Android versions of the component, so I produced this documentation for them which I think is correct, but have a question about the iOS version (see below the screenshots)
The main difference from an interaction perspective is that the Android bottom sheet does not have a 'Close' button, whereas the iOS version has a 'Close' text button. On both, the user can click outside the bottom sheet (fun fact Material refer to this as the Scrim), drag down on the handle, or click 'Apply' to dismiss the bottom sheet.
There is also an interesting interaction on the Material bottom sheet where users can dismiss it by swiping left or right from the edge of the screen, referred to as Predictive Back
Question
@zachrigby-nhs i'm pretty sure you're correct about the full screen sheet on iOS pushing the "root sheet" back in the view.
some questions:
@michaelgallagher some thoughts to your questions
Another question on this that just came up in a call with some of the Native developers is what type of error message/component/pattern do we show if the filter wasn't able to open for whatever reason.
Their suggestion was to use a native error pattern, since the error is to do with a native component (the bottom sheet). For example, showing an error message in a dissmissable snackbar component on Android. For example 'Cannot show filters'
Thoughts?
Another question on this that just came up in a call with some of the Native developers is what type of error message/component/pattern do we show if the filter wasn't able to open for whatever reason.
Their suggestion was to use a native error pattern, since the error is to do with a native component (the bottom sheet). For example, showing an error message in a dissmissable snackbar component on Android. For example 'Cannot show filters'
Thoughts?
@zachrigby-nhs – I think the suggestion of using a native error pattern does make sense. It is essentially us trying to stick to platform conventions as much as we can. I suppose if we could style it, then it would be good to use our NHS brand language for errors there too (if possible).
Do you know what the equivalent of a snack bar for iOS would be?
Would that be an alert modal or something similar to a floating component with a dismiss?
What
A bottom sheet is a user-interface pattern used commonly in mobile apps for providing contextual details or controls in the lower area of the screen.
Other information
Bottom Sheets: Definition and UX Guidelines (Nielsen Norman Group) Material design system - Sheets: bottom component Sheets | Apple Developer Documentation How to Create Awesome Bottom Sheets | by Thomas Cree