Skip to content

Dashboard addons: remove -beta from components#1700

Open
HeleneAmouzou wants to merge 5 commits intomasterfrom
dashboard-addons/remove-beta
Open

Dashboard addons: remove -beta from components#1700
HeleneAmouzou wants to merge 5 commits intomasterfrom
dashboard-addons/remove-beta

Conversation

@HeleneAmouzou
Copy link
Contributor

@HeleneAmouzou HeleneAmouzou commented Mar 18, 2026

Context

The new dashboard add-ons components cc-addon-header, cc-addon-info and cc-addon-credentials-beta, were based on already existing components.

  • cc-addon-header is the new version of cc-header-addon,
  • cc-addon-info is inspired by info components (such as cc-jenkins-info, cc-matomo-info) and the cc-addon-features component,
  • cc-addon-credentials-beta is the new version of cc-addon-credentials.

After implementing those new components, the old one are now not used anymore and can be deprecated.

What does this PR do?

Delete unused components replaced by new dashboard add-ons components :

  • cc-header-addon,
  • cc-jenkins-info,
  • cc-matomo-info,
  • cc-addon-features.

Replace old cc-addon-credentials with the new one.

How to review?

  • Check the commits,
  • Check in the local project that there is no mention of the deleted components anymore,
  • You can also check on demo-smart if everything works fine.

1 or 2 reviewers should be enough.

BREAKING CHANGE: this component is no longer used has it has been replaced by `cc-addon-header`
BREAKING CHANGE: this component is no longer used has
it has been replaced by `cc-addon-info` with `cc-addon-info.smart-jenkins`
BREAKING CHANGE: this component is no longer used has
it has been replaced by `cc-addon-info` with `cc-addon-info.smart-matomo`
…new on

BREAKING CHANGE:
 - delete old `cc-addon-credentials`
 - remove `-beta` from `cc-addon-credentials-beta`
 - adapt code
@HeleneAmouzou HeleneAmouzou force-pushed the dashboard-addons/remove-beta branch from 77099cc to 7f9b57e Compare March 19, 2026 13:48
@github-actions
Copy link
Contributor

🔎 A preview has been automatically published : https://clever-components-preview.cellar-c2.services.clever-cloud.com/dashboard-addons/remove-beta/index.html.

This preview will be deleted once this PR is closed.

@HeleneAmouzou HeleneAmouzou self-assigned this Mar 19, 2026
@HeleneAmouzou HeleneAmouzou marked this pull request as ready for review March 19, 2026 14:29
@HeleneAmouzou HeleneAmouzou changed the title Dashboard addons: remove -beta Dashboard addons: remove -beta from components Mar 19, 2026
Copy link
Contributor

@florian-sanders-cc florian-sanders-cc left a comment

Choose a reason for hiding this comment

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

A small fix about translation names and small typo for this commit: feat(cc-addon-credentials)!: replace old cc-addon-credentials with new on (missing "e" at the end).

Apart from that it's a really great job @HeleneAmouzou thanks for handling that, it's really clean 👍

Comment on lines 210 to +222
@@ -219,7 +219,7 @@ export class CcAddonCredentialsContent extends LitElement {
download="${credential.value}"
?skeleton="${skeleton}"
disable-external-link-icon
>${i18n('cc-addon-credentials-beta.download-s3cfg-file')}</cc-link
>${i18n('cc-addon-credentials.download-s3cfg-file')}</cc-link
Copy link
Contributor

Choose a reason for hiding this comment

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

fix: not directly related to your changes but these translations should be cc-addon-credentials-content (and there might even be .code convention for the label, I'm not sure but that's what I see from the translation file)

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.

2 participants