-
Notifications
You must be signed in to change notification settings - Fork 441
Responsive Guidelines
Lukas Krause edited this page Feb 26, 2020
·
15 revisions
- Good Visual Hierarchy for your content especially on smaller viewports
- Progressively enhance your content. Spiral out i.e. start with the core of the functionality on the smallest viewport, add more for its main aspects briefly, then optionally develop some aspects fully on larger viewports
- Optimize images for size
- Responsive Images
- As usual in mobile first design, we start designing for the smallest supported viewport. In our case (320x568)
- navigation placement should be conveniently to reach on mobile
- optimize for touch
- Click Target Size for touch
- no hover states for touch
- Scrolling is hard on touch devices, help people
- search and filter functionality
- Remove inessential form fields
- Input Type Attributes
- Visual Feedback (Spinner/Animation etc.) for touch
- Size content to the viewport width
- Responsive Typography
- font size
- ideal column should contain 70 to 80 characters per line
There are often better alternatives to modals. Modals, especially large ones, don't scale well on devices with a small viewport. However, it doesn't mean that modals should never be used. Refer to the list below to guide your decisions.
- Confirming an action: Modal is a good choice since users need to act right now
- Warning users: Modal might be a good choice, but be wary of overuse. It should be used only when a long process started to let users know that it's in motion or when a critical error happened
- Editing data: Favor inline editing whenever possible. Otherwise, a form on its own page could also be fine
- Creating data: A form on its own page is better, especially on workflows with multiple steps and on error-prone forms (validation in modals is usually quite bad)
- Displaying data: A page is better choice
Breadcrumbs are not a replacement for proper navigation elements and and a well structured UI that by design makes it easy to navigate through the application. Although, having them usually doesn't hurt. Often they can help to quickly check the current position within the application and to show the ancestors. There are a few points that should be considered when using the breadcrumbs:
- They should be visualized in a way that is not obtrusive to other components in the UI.
- Shouldn't break into multiple lines (makes it hard to read them in the right order).
- The breadcrumbs shouldn't link to the current route, since it's confusing to the user and creates unnecessary reloads of the page.
- On mobile devices there is often a lack of space. Solutions can be, only pointing one level down, collapsing them... Again they should not break into multiple lines or take to much space (obtrusive).
If all of this is new to you, here are some things to check out
- https://responsivedesign.is/
- https://trentwalton.com/2011/07/14/content-choreography/
- https://abookapart.com/products/responsive-web-design
- https://abookapart.com/products/mobile-first
- Why we should avoid modals? https://www.designyourway.net/blog/design/modal-dialog-windows-in-mobile-ui/
- https://uxplanet.org/modality-the-one-ux-concept-you-need-to-understand-when-designing-intuitive-user-interfaces-e5e941c7acb1
- Breadcrumbs, why, how and should we still use them?
- Development Environment Overview
- Development Environment Tips & Tricks
- Spec-Tips
- Code Style
- Rubocop
- Testing with VCR
- Authentication
- Authorization
- Autocomplete
- BS Requests
- Events
- ProjectLog
- Notifications
- Feature Toggles
- Build Results
- Attrib classes
- Flags
- The BackendPackage Cache
- Maintenance classes
- Cloud uploader
- Delayed Jobs
- Staging Workflow
- StatusHistory
- OBS API
- Owner Search
- Search
- Links
- Distributions
- Repository
- Data Migrations
- next_rails
- Ruby Update
- Rails Profiling
- Installing a local LDAP-server
- Remote Pairing Setup Guide
- Factory Dashboard
- osc
- Setup an OBS Development Environment on macOS
- Run OpenQA smoketest locally
- Responsive Guidelines
- Importing database dumps
- Problem Statement & Solution
- Kickoff New Stuff
- New Swagger API doc
- Documentation and Communication
- GitHub Actions
- How to Introduce Software Design Patterns
- Query Objects
- Services
- View Components
- RFC: Core Components
- RFC: Decorator Pattern
- RFC: Backend models