Skip to content

feat: show tiles view first in view mode options - #3454

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/view-modes-order
Sep 25, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/view-modes-order

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Description

Reorders the folder view modes so they appear as: tiles view, default table view, condensed table view.

The tiles view is the default view mode, so for consistency it should also be listed first in the view mode options. As a side effect, the fallback in useResourcesViewDefaults (first registered view mode when the current one can't be resolved) now matches the default view mode as well.

Related Issue

  • Fixes <issue_link>

How Has This Been Tested?

  • test environment: local, unit tests
  • test case 1: pnpm test:unit --run packages/web-app-files/tests/unit/composables packages/web-pkg/tests/unit/components/ViewOptions.spec.ts
  • test case 2: view mode options in the files app list tiles view first, followed by default and condensed table view

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear AlexAndBear self-assigned this Sep 25, 2026
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Sep 25, 2026
@AlexAndBear AlexAndBear moved this from Qualification to In Progress in OpenCloud Team Board Sep 25, 2026

@tammi-23 tammi-23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@AlexAndBear
AlexAndBear merged commit 44808fe into main Sep 25, 2026
31 checks passed
@AlexAndBear
AlexAndBear deleted the fix/view-modes-order branch September 25, 2026 09:46
@openclouders openclouders mentioned this pull request Sep 25, 2026
1 task
@AlexAndBear AlexAndBear changed the title fix: show tiles view first in view mode options feat: show tiles view first in view mode options Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants