Skip to content

Conversation

@JammingBen
Copy link
Contributor

refs #937

Migration

  • oc-overflow-hidden > overflow-hidden
  • oc-overflow-auto > overflow-auto
  • oc-text-overflow > depends a bit on the situation, usually max-w-full and/or overflow-hidden

@JammingBen JammingBen self-assigned this Aug 28, 2025
@JammingBen JammingBen changed the title Refactor/tailwind overflow refactor: overflow to tailwind Aug 28, 2025
@JammingBen JammingBen marked this pull request as ready for review August 28, 2025 14:47
@JammingBen JammingBen force-pushed the refactor/tailwind-overflow branch from aa65dff to a51c9bb Compare August 29, 2025 12:44
Copilot AI review requested due to automatic review settings August 29, 2025 12:44
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 refactors overflow CSS classes from custom OpenCloud classes to standard Tailwind CSS classes. The migration simplifies the codebase by removing custom CSS and adopting Tailwind's utility classes for better consistency and maintainability.

Key changes:

  • Replaced oc-overflow-hidden with overflow-hidden
  • Replaced oc-overflow-auto with overflow-auto or overflow-y-auto
  • Replaced oc-text-overflow with max-w-full, overflow-hidden, truncate, or overflow-visible depending on context
  • Removed corresponding SCSS styles in favor of Tailwind classes

Reviewed Changes

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

Show a summary per file
File Description
packages/web-runtime/src/pages/account.vue Migrated overflow CSS from SCSS to Tailwind class
packages/web-runtime/src/layouts/Application.vue Updated layout overflow classes to Tailwind utilities
packages/web-runtime/src/components/UploadInfo.vue Replaced custom overflow CSS with Tailwind class
packages/web-runtime/src/components/Topbar/UserMenu.vue Updated dropdown overflow class
packages/web-runtime/src/components/Topbar/Notifications.vue Migrated notification dropdown overflow styles
packages/web-runtime/src/components/SidebarNav/SidebarNav.vue Updated sidebar overflow classes
packages/web-runtime/src/App.vue Migrated root app overflow from SCSS to Tailwind
packages/web-pkg/src/components/SideBar/SideBar.vue Updated sidebar panel overflow handling
packages/web-pkg/src/components/FilesList/ResourceTile.vue Fixed resource name wrapper overflow
packages/web-pkg/src/components/FilesList/ResourceListItem.vue Updated text overflow classes for resource items
packages/web-pkg/src/components/Filters/DateFilter.vue Migrated filter overflow styles
packages/web-pkg/src/components/Modals/SaveAsModal.vue Updated modal overflow handling
packages/design-system/src/components/OcModal/OcModal.vue Migrated modal overflow to Tailwind
packages/design-system/src/components/OcCheckbox/OcCheckbox.vue Updated checkbox overflow class
packages/design-system/src/components/OcProgress/OcProgress.vue Migrated progress bar overflow
packages/design-system/src/styles/theme/oc-form.scss Removed custom overflow styles
Test snapshots Updated to reflect new Tailwind class names

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

so nice to see, that entire style blocks are now going away 🥳

@JammingBen JammingBen merged commit 45fbe87 into main Sep 1, 2025
28 checks passed
@JammingBen JammingBen deleted the refactor/tailwind-overflow branch September 1, 2025 08:51
openclouders pushed a commit that referenced this pull request Sep 1, 2025
@openclouders openclouders mentioned this pull request Sep 1, 2025
1 task
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.

3 participants