Skip to content

Conversation

@jferrer1W
Copy link
Contributor

@jferrer1W jferrer1W commented Nov 13, 2024

PR Details

It contains the code to new Accordion component

Description

We have created a new Accordion component.

Related Issue

#949

Motivation and Context

Add generic component that now was into modulab

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly (README.md for each UI component)
  • I have added tests to cover my changes (at least 1 spec for each UI component with the same coverage as the master branch)
  • All new and existing tests passed
  • A new branch needs to be created from master to evolve previous versions
  • Increase version in package.json following Semantic Versioning
  • All UI components must be added into the showcase (at least 1 component with the default settings)
  • Add the issue into the right project with the proper status (In progress)

@jferrer1W jferrer1W linked an issue Nov 13, 2024 that may be closed by this pull request
@jferrer1W jferrer1W requested a review from carlosra85 November 13, 2024 14:21
@codecov
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.84%. Comparing base (75532dc) to head (9c06a92).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #950      +/-   ##
==========================================
- Coverage   58.03%   57.84%   -0.20%     
==========================================
  Files         132      133       +1     
  Lines        3744     3755      +11     
  Branches      659      660       +1     
==========================================
- Hits         2173     2172       -1     
- Misses       1460     1473      +13     
+ Partials      111      110       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@@ -0,0 +1,10 @@
<div class="slab-flex-1 d-flex flex-column">
<div class="mlab-accordion-header d-flex align-items-center font-weight-bold px-3" [ngStyle]="{'backgroundColor': headerColor}" (click)="isCollapsed = !isCollapsed">
Copy link
Collaborator

Choose a reason for hiding this comment

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

change mlab- for slab- or no prefix better

Copy link
Collaborator

Choose a reason for hiding this comment

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

Add also to documentation please.
Good job, thanks for the contrib!

carlosra85
carlosra85 previously approved these changes Nov 14, 2024
carlosra85
carlosra85 previously approved these changes Nov 20, 2024
@jferrer1W jferrer1W force-pushed the 949-new-accordion-component branch from 9fb8d9e to acbcdf4 Compare November 21, 2024 08:19
carlosra85
carlosra85 previously approved these changes Nov 21, 2024
@vvinuelas vvinuelas self-requested a review January 29, 2025 10:08
vvinuelas
vvinuelas previously approved these changes Jan 29, 2025
vinyulis
vinyulis previously approved these changes Feb 26, 2025
@jferrer1W jferrer1W dismissed stale reviews from vinyulis, vvinuelas, and carlosra85 via 9c06a92 June 3, 2025 13:05
@jferrer1W jferrer1W requested a review from vinyulis June 3, 2025 13:08
@jferrer1W jferrer1W requested review from carlosra85 and vvinuelas June 3, 2025 13:08
})
export class ShowcaseAccordion {
constructor() {
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Empty constructor. Unnecessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New accordion component

5 participants