6 min read #OpenCloud#UX

OpenCloud · Mobile

Mobile web UI: PWA, bottom drawer and drilldown menu

Many people don't own a computer, but they do have a smartphone. Since 3.3.0 you can install the OpenCloud web UI as a web app on your home screen, context menus on phones open as a drawer from the bottom, and submenus show one level at a time. Up to 3.6.0, the switch between list and tile view in portrait mode, a dedicated narrow logo for small screens and the update notice in the mobile navigation followed.

For many people, the smartphone is the only computer they have. In clubs, schools, home care services or on construction sites, files get shared with people who never sit in front of a desktop. If you run file storage for them, expect the interface to be used with a thumb on a six-inch screen. OpenCloud has its own apps for Android and iOS. Still, there are plenty of situations where you don't want to or aren't allowed to install anything, such as on a work phone or when you just want to open a shared folder quickly. Then the browser is the app. Between OpenCloud 3.3.0 and 3.6.0, the web UI was adapted to smartphones in several places.

PWA on the home screen

Since 3.3.0 you can install the web UI as a Progressive Web App (PWA) (web#980). The smartphone's browser menu then offers to add OpenCloud to the home screen or install it as an app. After that, OpenCloud launches with its own icon, full screen, without address bar and tabs, in portrait mode. On the technical side, the main thing missing was a square icon: the manifest now points to a 512 × 512 pixel PNG whose petrol background stays visible on both light and dark home screens.

You should know the limits. The installed web app is the same web UI, just without the browser frame. It stores nothing for offline use and needs a connection to the server. The release notes explicitly call the PWA a foundation for caching and offline features; 3.3.0 does not include them. Name and icon in the manifest are hardcoded to “OpenCloud”, even on instances with custom branding. If you want files available offline or photos uploaded automatically, use the apps for Android and iOS.

Bottom drawer and drilldown menus

On the desktop, clicking the three dots next to a file opens a small menu right beside it. On a phone, that menu was hard to hit, covered parts of the list and didn't show which file it applied to. Since 3.3.0, on screens narrower than 640 pixels, a drawer slides up from the bottom edge instead (web#985). Most apps use this pattern. The name of the selected file sits at the top, so you can see what the actions apply to. An “X”, a tap outside or the Escape key closes the drawer. It takes up at most two thirds of the screen height and shrinks when there are only a few entries. Longer lists scroll inside the drawer. While it is open, focus stays inside it, which helps keyboard and screen reader users.

Folder “Construction June” at 375 pixels wide in OpenCloud 3.2.0: the context menu of “Offer crane rental.odt” sits as a small popup over the file list, without a file name.

Before: the context menu as a popup over the list (OpenCloud 3.2.0).

The same folder in OpenCloud 3.3.0: the menu slides in as a drawer from the bottom edge, with “Offer crane rental.odt” and an “X” at the top; the rest of the page is dimmed.

After: the drawer from the bottom with file name and “X” (OpenCloud 3.3.0).

Tapping the three dots next to “site-photo-01.jpg” opens the drawer with the file name; tapping above it closes it. The button highlight was added for the recording (OpenCloud 3.7.0, 375 pixels).

The drawer replaces more than the file list's context menu. Because it is built into the UI's central menu component, the “New” menu, the share role picker, the navigation and the menus in user, group and space management also open from the bottom on a phone. Since 3.3.0, screen readers announce the close button as “Close the context menu” instead of the technical “Close the bottom drawer” (web#1063).

Three phone screenshots side by side: the “New file” drawer with Folder, OpenDocument and other file types; the “Role” drawer with “Can view”, “Can view (secure)” and “Can edit”; the “Marketing” drawer in space management with Rename, Edit subtitle, Edit quota, Disable and Details.

The same drawer for the “New” menu, the role picker when sharing and space management (OpenCloud 3.7.0).

Submenus such as “Open with...” used to expand sideways on the desktop, which doesn't fit on a narrow screen. On a phone, a submenu now replaces the drawer's content (web#1017). Its title sits at the top, and an arrow takes you back to the previous level. You only ever see one list of actions and always know where you are.

Tapping “Open with...” in the drawer of “Notes.txt”: the content switches to “Text Editor” and “CollaboraOnline”, and the arrow at the top left leads back. Highlights added for the recording (OpenCloud 3.7.0).

What's still missing: you can't swipe the drawer down to dismiss it. The team deliberately held this gesture back as a separate step because getting the details right takes more work. You close the drawer with the “X” or by tapping outside it.

Dynamic viewport height

Mobile browsers show and hide their address bar depending on scroll direction. OpenCloud calculated with the full window height, so with the bar visible, the bottom of the page was cut off, and with it the pagination of large folders. From 3.3.0 on, the UI uses the actually visible height (web#1058). A community user reported the bug and supplied the fix along with it.

The toggles between table and tiles used to be hidden in portrait mode. If you wanted to browse photos, you had to turn your phone sideways just to get to the tile view. Since 3.5.0 there is a dedicated button for this in portrait mode next to the view options (web#1157). It opens a list with condensed table, table and tiles, with a checkmark next to the current view.

  1. Header of the folder “Construction June” at 375 pixels; the button to the left of the gear icon has a colored outline.
    Next to the gear icon for the view options is the “Switch view mode” button (highlight added).
  2. Drawer “View mode” with “Condensed table view”, “Default table view” and “Tiles view”, with a checkmark after “Tiles view”.
    The “View mode” drawer offers condensed table, table and tiles; the active view has a checkmark (OpenCloud 3.7.0).

Logo and version on small screens

In the top bar, the wide logo with the “OpenCloud” wordmark ran into the icons next to it on narrow screens. Since 3.6.0, below 960 pixels wide, the UI shows a dedicated narrow logo; in the default theme that's the hexagon without the wordmark (web#1281, opencloud#1579). If you maintain your own theme, set it in theme.json under clients.web.defaults as logoMobile. If the entry is missing, logo is used as before, so a single logo for all sizes still works.

Top bar at 375 pixels in OpenCloud 3.5.0: the “OpenCloud” wordmark runs into the search magnifier icon.

Before: the wide logo bumps into the search (OpenCloud 3.5.0).

The same bar in OpenCloud 3.6.0: only the hexagon, followed with some spacing by search, feedback, notifications, sidebar and user menu.

After: the narrow logo, just the hexagon (OpenCloud 3.6.0).

Version 3.6.0 also brought the check for new versions to the web UI. On the desktop, its notice appears in the left sidebar, which doesn't exist on phones for lack of space. So that the check isn't lost there, the phone's navigation menu now shows the server version at the bottom and, if applicable, the notice about a new version (web#1323). The check is on by default and can be turned off with FRONTEND_CHECK_FOR_UPDATES=false.

Drawer “Navigation” with Personal, Shares, Spaces and Deleted files, below it “OpenCloud 3.7.0” on a gray background.

The phone's navigation menu shows the server version at the bottom. The update check was turned off for the screenshot, which is why the notice is missing (OpenCloud 3.7.0).

Everything in this post is part of the web UI, with no setting and no subscription required. It kicks in automatically as soon as the screen is narrow enough.

Sources