Skip to content

Comments

feat: add fab to admin settings and spaces overview#2025

Open
AlexAndBear wants to merge 3 commits intomainfrom
issues/2011
Open

feat: add fab to admin settings and spaces overview#2025
AlexAndBear wants to merge 3 commits intomainfrom
issues/2011

Conversation

@AlexAndBear
Copy link
Member

@AlexAndBear AlexAndBear commented Feb 23, 2026

Description

image image

Related Issue

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

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 changed the title Issues/2011 feat: add fab to admin settings Feb 23, 2026
@AlexAndBear AlexAndBear changed the title feat: add fab to admin settings feat: add fab to admin settings and spaces overview Feb 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements Floating Action Buttons (FABs) in the admin-settings app and makes the FAB behavior context-sensitive in the files app's spaces overview. The changes consolidate the creation actions for Users, Groups, and Spaces into a single FAB component that adapts based on the current view, following UI/UX consistency requirements from issues #2011 and #2008.

Changes:

  • Added FAB extension to admin-settings app with context-aware handler for Users, Groups, and Spaces views
  • Made files app FAB context-sensitive: directly creates spaces on the projects overview, shows dropdown menu elsewhere
  • Refactored space creation logic into reusable useSpaceActionsCreate composable and added addNewSpace to useCreateSpace

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/web-runtime/src/components/AppFloatingActionButton.vue Added mode condition to only render dropComponent when mode is 'drop'
packages/web-pkg/src/composables/piniaStores/extensionRegistry/types.ts Added FloatingActionButtonExtensionMode type and mode property to extension interface
packages/web-pkg/src/composables/spaces/useCreateSpace.ts Added addNewSpace function to handle space creation with store updates and notifications
packages/web-pkg/src/composables/actions/spaces/useSpaceActionsCreate.ts New composable providing space creation action with modal handling
packages/web-pkg/src/components/AppBar/CreateSpace.vue Removed standalone CreateSpace component (replaced by FAB)
packages/web-app-files/src/views/spaces/Projects.vue Removed CreateSpace button and permission check (handled by FAB)
packages/web-app-files/src/extensions.ts Added context-sensitive FAB handler and mode determination for spaces projects
packages/web-app-admin-settings/src/index.ts Added FAB extension with route-based handler switching for Users, Groups, and Spaces
packages/web-app-admin-settings/src/views/Users.vue Removed inline create user button (replaced by FAB)
packages/web-app-admin-settings/src/views/Groups.vue Removed inline create group button (replaced by FAB)
packages/web-app-admin-settings/src/views/Spaces.vue Removed inline create space button (replaced by FAB)
tests/e2e/support/objects/app-files/spaces/actions.ts Updated selector to use FAB class instead of specific button ID
tests/e2e/support/objects/app-admin-settings/users/actions.ts Updated selector to use FAB class instead of specific button ID
tests/e2e/support/objects/app-admin-settings/groups/actions.ts Updated selector to use FAB class instead of specific button ID
packages/web-pkg/tests/unit/composables/actions/spaces/useSpaceActionsCreate.spec.ts New unit test for useSpaceActionsCreate composable
packages/web-app-files/tests/unit/views/spaces/Projects.spec.ts Removed test for CreateSpace button display
packages/web-app-admin-settings/tests/unit/views/Users.spec.ts Removed tests for create user button display

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AlexAndBear AlexAndBear force-pushed the issues/2011 branch 2 times, most recently from 9edb0e2 to 13bf3fb Compare February 23, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admin settings FAB Context sensitive behaviour of the "+ New" FAB in files app

1 participant