scale icon indicating copy to clipboard operation
scale copied to clipboard

feat: added tooltip and scale-icon in data-grid button

Open sameetah opened this issue 11 months ago • 14 comments

This feauture implements extension for the data-grid action cells to add tooltip and icons to the configured rows. This addresses the Issue 2236 that requested such feature. The tooltip and icons use the existing icon and tooltip feature from the scale button. Reviews are appreciated.

sameetah avatar Mar 01 '24 11:03 sameetah

Deploy Preview for marvelous-moxie-a6e2fe failed.

Name Link
Latest commit 2dc9de09d579f8577de1ce495dadb977e2d35c2a
Latest deploy log https://app.netlify.com/sites/marvelous-moxie-a6e2fe/deploys/6613bb1a066a9a0008423799

netlify[bot] avatar Mar 01 '24 11:03 netlify[bot]

Thanks for the PR! There are some build errors. Would you please have a look and fix them?

maomaoZH avatar Mar 04 '24 09:03 maomaoZH

@maomaoZH I have pushed the committed changes. There were some checks executed first time i created the pull request e.g. prettier, visual tests etc. Now I made some changes and pushed new commits to this pull request. Could you please let me know how these checks can be executed again in order to say now everything is ok?

sameetah avatar Mar 11 '24 15:03 sameetah

@acstll @felix-ico Could you please approve for the pipeline to run or do I need to do anything in order for pipelines to run?

sameetah avatar Mar 22 '24 10:03 sameetah

HI @sameetah looks like build-pr / prettier and build-pr / uncommitted-changes are still failing. To fix the first one you should run yarn format and commit the changes, for the second one yarn build and commit the changes. build-pr / visual-tests (pull_request) should be OK to ignore, if there have been no visual changes in the components

felix-ico avatar Mar 22 '24 16:03 felix-ico

@acstll @felix-ico I have addressed the issues mentioned. For the 'build-pr/prettier' error, I ran 'yarn format' locally and committed the changes. For the 'build-pr/uncommitted-changes' error, I ran 'yarn build' locally and committed the changes. The changes have been pushed to the branch. Could you please review again? Thank you!

sameetah avatar Apr 03 '24 09:04 sameetah

@sameetah the uncommited-changes job is still failing, could you make sure that all files have been commmited? Screenshot 2024-04-03 at 14 05 09

also, could you check if it's possible to remove the skipLibCheck you added?

felix-ico avatar Apr 03 '24 12:04 felix-ico

@sameetah I copied your changes in a separate branch, and removed that tsconfig rule, all checks seem to pass there...https://github.com/telekom/scale/pull/2308

felix-ico avatar Apr 03 '24 13:04 felix-ico

@felix-ico I removed the skipLibCheck rule in tsconfig file. Could you please have a look and see if checks pass now?

sameetah avatar Apr 04 '24 07:04 sameetah

@felix-ico The uncommitted changes are a single read me that is auto generated during the build process. All my changes are committed when I push so how do I account for the build script?

sameetah avatar Apr 04 '24 08:04 sameetah

@sameetah the build process should be the same locally and on CI, perhaps you commited something that is not part of this task (I wonder why the readme for chart-stack-card changes, when you have touched no code there) also comparing to the PR i opened, you can see a lot less files are committed...perhaps they are leftovers from previous code changes?

felix-ico avatar Apr 04 '24 14:04 felix-ico

@felix-ico Could you please now check if the uncommitted changes check is passing? I made some changes and this should hopefully work

sameetah avatar Apr 05 '24 10:04 sameetah

@sameetah now you need to run yarn format and yarn build in packages/components again...

felix-ico avatar Apr 05 '24 10:04 felix-ico

@felix-ico Could you please check again if the checks pass this time?

sameetah avatar Apr 08 '24 09:04 sameetah