Skip to content

Conversation

@JammingBen
Copy link
Contributor

Fixes #929

@JammingBen JammingBen force-pushed the feat/drop-and-drawer-design branch from 4b8d86d to fe856fd Compare July 23, 2025 14:18
@JammingBen JammingBen marked this pull request as ready for review July 24, 2025 07:56
Copilot AI review requested due to automatic review settings July 24, 2025 07:56
@AlexAndBear AlexAndBear force-pushed the feat/drop-and-drawer-design branch from 11f0f20 to 984c571 Compare July 24, 2025 07:56
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 improves and aligns the design of dropdown and drawer components by standardizing spacing, padding, and styling across various UI elements. The changes aim to create a more consistent user experience in menus, dropdowns, and navigation components.

  • Standardized padding and margin for dropdown and drawer list items
  • Removed component-specific styling in favor of centralized theme styling
  • Updated test snapshots to reflect the new consistent styling

Reviewed Changes

Copilot reviewed 26 out of 27 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
helper.scss Adds centralized styling for dropdown and drawer list items
OcDrop.vue Removes component-specific menu item styling
OcBottomDrawer.vue Updates padding and removes duplicate styling
UserMenu.vue Removes icon padding and custom list styling
Notifications.vue Updates overflow handling and spacing
ApplicationsMenu.vue Simplifies styling with gap property
Multiple components Removes component-specific styling in favor of centralized approach
Test snapshots Updates to reflect new consistent styling
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment on lines +142 to +143
.search-bar-filter-item {
justify-content: space-between !important;
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

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

Avoid using !important in CSS. Consider using more specific selectors or restructuring the CSS to achieve the desired styling without forcing precedence.

Suggested change
.search-bar-filter-item {
justify-content: space-between !important;
.oc-location-search .search-bar-filter-item {
justify-content: space-between;

Copilot uses AI. Check for mistakes.
Comment on lines +124 to +125
button {
justify-content: space-between !important;
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

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

Avoid using !important in CSS. Consider using more specific selectors or restructuring the CSS to achieve the desired styling without forcing precedence.

Suggested change
button {
justify-content: space-between !important;
> button {
justify-content: space-between;

Copilot uses AI. Check for mistakes.
&:hover {
text-decoration: none;
}
gap: var(--oc-space-medium) !important;
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

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

Avoid using !important in CSS. Consider using more specific selectors or restructuring the CSS to achieve the desired styling without forcing precedence.

Copilot uses AI. Check for mistakes.
Comment on lines +314 to +315
.files-recipient-role-drop-btn {
justify-content: space-between !important;
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

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

Avoid using !important in CSS. Consider using more specific selectors or restructuring the CSS to achieve the desired styling without forcing precedence.

Suggested change
.files-recipient-role-drop-btn {
justify-content: space-between !important;
.files-recipient-role-drop .files-recipient-role-drop-btn {
justify-content: space-between;

Copilot uses AI. Check for mistakes.
Comment on lines +659 to +660
.invite-form-share-role-type-item {
justify-content: space-between !important;
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

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

Avoid using !important in CSS. Consider using more specific selectors or restructuring the CSS to achieve the desired styling without forcing precedence.

Suggested change
.invite-form-share-role-type-item {
justify-content: space-between !important;
#new-collaborators-form .invite-form-share-role-type-item {
justify-content: space-between;

Copilot uses AI. Check for mistakes.
Comment on lines 51 to 53
.action-menu-item {
padding-left: var(--oc-space-small) !important;
padding-right: var(--oc-space-small) !important;
padding: var(--oc-space-small);
gap: var(--oc-space-xsmall) !important;
Copy link

Copilot AI Jul 24, 2025

Choose a reason for hiding this comment

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

Avoid using !important in CSS. Consider using more specific selectors or restructuring the CSS to achieve the desired styling without forcing precedence.

Copilot uses AI. Check for mistakes.
@AlexAndBear AlexAndBear force-pushed the feat/drop-and-drawer-design branch from b2e4579 to d07357c Compare July 24, 2025 08:27
@JammingBen JammingBen merged commit 61140ac into main Jul 24, 2025
28 checks passed
@JammingBen JammingBen deleted the feat/drop-and-drawer-design branch July 24, 2025 08:50
@openclouders openclouders mentioned this pull request Jul 24, 2025
1 task
openclouders pushed a commit that referenced this pull request Jul 24, 2025
feat: improve and align drop and drawer design
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.

Mobile only: layout adjustments for context action menus

3 participants