Skip to content

Remove the condensed list view mode and switch between grid and list with two toggle buttons #3532

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a feature request and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Idea

The file views currently offer three view modes in a dropdown: Grid, List and Condensed list. I'd like to drop the condensed list and replace the dropdown with two toggle buttons (Grid | List) placed next to each other.

Why the condensed list can go

  • It adds very little. It uses the same ResourceTable component as the regular list. The only difference is a smaller row height (h-8 instead of the default). The columns, the information and the interactions are all the same.
  • It keeps costing us maintenance. It is registered as its own folder view for every extension point (useFolderViews.ts), needs its own constant (FolderViewModeConstants.name.condensedTable) and gets special handling in ResourceTable.vue. It has also caused its own bugs, e.g. Lazy loading indicator in condensed table looks broken #1456 (broken lazy loading indicator) and Condensed table view doesn't work on file lists with parent folder #2887 (doesn't work on file lists with a parent folder). Every new list feature has to be checked against both variants.
  • Other file clouds don't have it. Google Drive, Nextcloud, Box, Seafile and iCloud Drive all offer just two modes, list and grid, usually as a single toggle or two buttons. A third "compact" mode is the exception (e.g. OneDrive), not the norm.
  • Users who want more density have other options. Browser zoom and a future density setting could cover that need without a separate view mode.

Why two buttons are better than a dropdown

  • Faster switching. Today it takes 2 clicks plus reading the options (open the dropdown, find the right entry). With two buttons it is 1 click, and the active mode is always visible.
  • Clearer state. The current button only shows the icon of the active mode. A segmented Grid | List toggle shows the current mode and the alternative at a glance.
  • Less UI. One fewer dropdown in the app bar.

Relation to #3451

#3451 asks for a per-folder view mode, e.g. a grid for folders with images and a list for everything else. With a one-click toggle, switching between grid and list per folder becomes so cheap that a persisted per-folder setting is mostly unnecessary. This would make #3451 almost obsolete.

Proposal

  1. Remove the resource-table-condensed folder view, its constant and the condensed handling in ResourceTable.vue.
  2. Migrate users who stored resource-table-condensed as their view mode to resource-table.
  3. Replace the view mode dropdown in ViewOptions.vue with two side-by-side toggle buttons (Grid | List). Keep a fallback for mobile ?

Activity

  1. AlexAndBear commented on Oct 2, 2026

    @AlexAndBear
    MemberAuthor

    @tbsbdr @kulmann what do you think ?

  2. tbsbdr commented on Oct 2, 2026

    @tbsbdr
    Member

    Yes, imo the former 1-click toggle felt more efficient than our current dropmenu, so i agree with your suggestion. Also the condesed view looks really ugly meanwhile and thus must leave. From a practical perspective: the problem the condesed view used to solve is gone, lets go!

  3. self-assigned this
    on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions