Skip to content

feat: explain why the new button is disabled in unsupported views - #3443

Merged
AlexAndBear merged 4 commits into
mainfrom
fix/fab-tooltips
Sep 30, 2026
Merged

AlexAndBear merged 4 commits into
mainfrom
fix/fab-tooltips

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Description

The "New" button in the left sidebar is always shown, but some views don't support creating anything, so the button is disabled there without any explanation. Until now, only the Spaces overview had a tooltip (when the user lacks permission to create Spaces).

This adds helpful tooltips to the floating action button extensions that tell users what to do instead:

Files

View Tooltip
Shares (with me, with others, via link) To share a file or folder, open the Sharing panel
Favorites To add a favorite, open the context menu of a file or folder and select "Add to favorites"
Search To create or upload files, open a folder or Space
Deleted files To create or upload files, switch to Personal or a Space

Admin settings

View Tooltip
Apps To add apps, use the App Store

Related Issue

  • Fixes: no issue

How Has This Been Tested?

  • test environment: local dev setup
  • test case 1: hover the disabled "New" button in each of the listed files views and check the tooltip
  • test case 2: hover the disabled "New" button in Admin settings → Apps and check the tooltip
  • test case 3: Spaces overview still shows "Creating Spaces requires additional permissions" without the permission and no tooltip with it

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 24, 2026
@AlexAndBear
AlexAndBear requested a review from kulmann September 24, 2026 04:19
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Sep 24, 2026
@AlexAndBear AlexAndBear moved this from Qualification to In Progress in OpenCloud Team Board Sep 24, 2026
@AlexAndBear

Copy link
Copy Markdown
Member Author

@kulmann this pr is debatable, just came into my mind

@AlexAndBear AlexAndBear changed the title fix: explain why the new button is disabled in unsupported views feat: explain why the new button is disabled in unsupported views Sep 29, 2026
@AlexAndBear
AlexAndBear merged commit 7317cdc into main Sep 30, 2026
33 checks passed
@AlexAndBear
AlexAndBear deleted the fix/fab-tooltips branch September 30, 2026 08:16
@openclouders openclouders mentioned this pull request Sep 30, 2026
1 task
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