linode / manager

Akamai's Cloud Manager is an open-source, single-page application designed as the primary frontend interface for interacting with the Linode API. It is entrusted by hundreds of thousands of customers with the management of their Linode services.
https://cloud.linode.com
Apache License 2.0
700 stars 363 forks source link

fix: [M3-8872] - Table and Chart Legend Improvements #11294

Closed jaalah-akamai closed 6 days ago

jaalah-akamai commented 1 week ago

Description ๐Ÿ“

We needed to reduce the spacing for our table headers to match our CDS as well as within our legend table.

Changes ๐Ÿ”„

Target release date ๐Ÿ—“๏ธ

12/10

Preview ๐Ÿ“ท

Before After
Screenshot 2024-11-20 at 10 06 47โ€ฏAM Screenshot 2024-11-20 at 10 06 37โ€ฏAM
localhost_3000_linodes_67142831 (3) localhost_3000_linodes_67142831
localhost_3000_linodes_67142831 (2) localhost_3000_linodes_67142831 (1)

How to test ๐Ÿงช

Reproduction steps

Verification steps

As an Author, I have considered ๐Ÿค”


As an Author, before moving this PR from Draft to Open, I confirmed โœ…

jaalah-akamai commented 1 week ago

Will update branch soon...

github-actions[bot] commented 1 week ago

Coverage Report: โœ…
Base Coverage: 86.83%
Current Coverage: 86.83%

linode-gh-bot commented 1 week ago

Cloud Manager UI test results

:small_red_triangle: 3 failing tests on test run #6 โ†—๏ธŽ

:x: Failing:white_check_mark: Passing:arrow_right_hook: Skipped:clock1: Duration
3 Failing451 Passing2 Skipped111m 14s

Details

Failing Tests
SpecTest
:x:linode-storage.spec.tslinode storage tab ยป delete disk
:x:linode-storage.spec.tslinode storage tab ยป add a disk
:x:linode-storage.spec.tslinode storage tab ยป resize disk

Troubleshooting

Use this command to re-run the failing tests:

yarn cy:run -s "cypress/e2e/core/linodes/linode-storage.spec.ts,cypress/e2e/core/linodes/linode-storage.spec.ts,cypress/e2e/core/linodes/linode-storage.spec.ts"
nikhagra-akamai commented 6 days ago

@jaalah-akamai one thing seen in y-axis that for a very low max value when recharts generating all the y-axis ticks, some tick points are going to 4 decimal places. As you can see, values like 0.0075 or 0.0225 are not properly visible as y-axis tick. Can we add some kind of padding or formatter for the value? Screenshot 2024-11-26 at 3 01 17โ€ฏPM

jaalah-akamai commented 6 days ago

I added the ability to use the built-in formatter, so you can apply whatever you need in that case.

cypress[bot] commented 6 days ago

Cloud Manager E2E    Run #6886

Run Properties:  status check failed Failed #6886  •  git commit afa6da9f35: fix: [M3-8872] - Table and Chart Legend Improvements (#11294)
Project Cloud Manager E2E
Branch Review develop
Run status status check failed Failed #6886
Run duration 30m 30s
Commit git commit afa6da9f35: fix: [M3-8872] - Table and Chart Legend Improvements (#11294)
Committer Jaalah Ramos
View all properties for this run โ†—๏ธŽ

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 454
View all changes introduced in this branch โ†—๏ธŽ


Tests for review

Failed  cypress/e2e/core/linodes/rebuild-linode.spec.ts โ€ข 1 failed test View Output Video
Test Artifacts
rebuild linode > rebuilds a linode from Account StackScript Screenshots Video
Flakiness  linodes/switch-linode-state.spec.ts โ€ข 1 flaky test View Output Video
Test Artifacts
switch linode state > powers off a linode from landing page Screenshots Video
Flakiness  firewalls/migrate-linode-with-firewall.spec.ts โ€ข 1 flaky test View Output Video
Test Artifacts
Migrate Linode With Firewall > migrates linode with firewall - real data Screenshots Video