Skip to content

Conversation

@kulmann
Copy link
Contributor

@kulmann kulmann commented Sep 10, 2025

Description

Introduces an OcCard component and kills and hand-crafted usages of oc-card or oc-login-card classes.

Related Issue

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)

Copy link
Contributor

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

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

Besides the tiles view, the cards look good to me 👍

@kulmann kulmann force-pushed the oc-card-component branch 2 times, most recently from 18010df to 1545da8 Compare September 12, 2025 08:54
@kulmann kulmann marked this pull request as ready for review September 12, 2025 09:01
Copilot AI review requested due to automatic review settings September 12, 2025 09:01
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 introduces a new OcCard component and replaces all hand-crafted usages of oc-card classes throughout the codebase to standardize card styling and improve maintainability.

Key changes include:

  • New OcCard component with props for title, logo, body/header/footer classes
  • Updated pages to use the component instead of manual card classes
  • Test updates to reflect new card structure in snapshots and selectors

Reviewed Changes

Copilot reviewed 31 out of 32 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/design-system/src/components/OcCard/OcCard.vue New OcCard component implementation with configurable props
packages/design-system/src/components/index.ts Export the new OcCard component
packages/design-system/src/styles/layers.css Remove old card CSS classes now handled by component
packages/web-runtime/src/pages/*.vue Convert manual card markup to use OcCard component
packages/web-pkg/src/components/FilesList/ResourceTile.vue Update tile card to use OcCard component
packages/web-app-/src/**/.vue Convert app-specific card usage to OcCard component
**/*.spec.ts Update test selectors and add OcCard stub configuration
**/*.snap Update snapshots to reflect new card structure

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

@kulmann kulmann force-pushed the oc-card-component branch 3 times, most recently from b8e75b4 to c640a3d Compare September 12, 2025 09:52
Copy link
Contributor

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kulmann kulmann force-pushed the oc-card-component branch 3 times, most recently from 4e3f055 to 98c24e3 Compare September 12, 2025 11:18
@kulmann kulmann merged commit 89b8a2a into main Sep 12, 2025
28 checks passed
@kulmann kulmann deleted the oc-card-component branch September 12, 2025 12:07
openclouders pushed a commit that referenced this pull request Sep 12, 2025
* feat: add OcCard component
@openclouders openclouders mentioned this pull request Sep 12, 2025
1 task
@kulmann kulmann changed the title Oc card component feat: Oc card component Sep 19, 2025
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