Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgr/dashboard: replace cdCopy2ClipboardButton Directive with a component #37676

Closed
wants to merge 0 commits into from

Conversation

prokopto-dev
Copy link

@prokopto-dev prokopto-dev commented Oct 15, 2020

Replaces Directive-Based copy2ClipboardButton with a Component-based version.
Further replaces all instances of Directive use with Component version.
Similar toastr logic used.

Fixes: https://tracker.ceph.com/issues/44960
Signed-off-by: Courtney Caldwell ccaldwel@redhat.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@LenzGr LenzGr requested a review from tspmelo October 20, 2020 12:06
@s0nea s0nea added needs-rebase cleanup skip-teuthology For PRs whose changes do not have an effect on QA runs/changes are not being tested in Teuthology labels Oct 27, 2020
@prokopto-dev prokopto-dev force-pushed the fix-44960-master branch 2 times, most recently from 09916e7 to 8a27829 Compare October 29, 2020 15:58
@prokopto-dev
Copy link
Author

jenkins test make check

@prokopto-dev prokopto-dev marked this pull request as ready for review November 13, 2020 12:27
@prokopto-dev prokopto-dev requested a review from a team as a code owner November 13, 2020 12:27
@prokopto-dev
Copy link
Author

fixing conflicts this morning and finishing updates to spec file; over-all functionality should be ready to review.

@Directive({
selector: '[cdCopy2ClipboardButton]'
@Component({
selector: 'cdCopy2ClipboardButton',
Copy link
Contributor

Choose a reason for hiding this comment

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

All current selectors follow kebab-case (hyphen-case), such as: cd-my-component-selector.
For consistency this should be sth like: cd-copy2clipboard-button

Copy link
Author

Choose a reason for hiding this comment

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

Roger that; I'll make that change!

@LenzGr LenzGr added this to In progress in Dashboard via automation Nov 13, 2020
Dashboard automation moved this from In progress to Done Nov 17, 2020
@prokopto-dev prokopto-dev moved this from Done to Needs-QA in Dashboard Nov 17, 2020
@prokopto-dev prokopto-dev moved this from Needs-QA to Reviewer approved in Dashboard Nov 17, 2020
@epuertat epuertat deleted the fix-44960-master branch November 17, 2020 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup needs-rebase skip-teuthology For PRs whose changes do not have an effect on QA runs/changes are not being tested in Teuthology
Projects
Archived in project
Dashboard
  
Reviewer approved
3 participants