manager icon indicating copy to clipboard operation
manager copied to clipboard

feat: [UIE-8002] - DBaaS 2.0 Landing Page

Open mpolotsk-akamai opened this issue 1 year ago โ€ข 3 comments

Description ๐Ÿ“

DBaaS 2.0 Landing Page and Empty Landing Page

Changes ๐Ÿ”„

  • Added Tabs to the Landing Page: Two tabs for Beta customers, labeled "Legacy Databases" and "New Databases."
  • Added Logo(including dark theme): Displayed on the Empty Landing Page, in the "New Databases" tab, and in the "New Databases" single table view.
  • Single Table Landing Page: Added for Beta customers without "Legacy Databases" but with "New Databases," and for new customers with only "New Databases."
  • New "Plan" Column: Added to the "New Databases" table.
  • Added Info Banner: Included on the landing page.

Target release date ๐Ÿ—“๏ธ

9/9/24

Preview ๐Ÿ“ท

Include a screenshot or screen recording of the change

:bulb: Use <video src="" /> tag when including recordings in table.

Before After
Screenshot 2024-08-23 at 2 21 42โ€ฏPM Screenshot 2024-08-23 at 2 20 46โ€ฏPM
Screenshot 2024-08-23 at 2 17 50โ€ฏPM Screenshot 2024-08-23 at 2 18 05โ€ฏPM
Screenshot 2024-08-23 at 5 40 13โ€ฏPM
Screenshot 2024-08-23 at 2 22 56โ€ฏPM

How to test ๐Ÿงช

Prerequisites

(How to setup test environment) Enable DatabaseV2Beta flag

Verification steps

(How to verify changes)

  1. Navigate to the Databases section.
  2. For new customers (with no legacy or new databases), the Landing Page will display an Empty Landing Page with a Logo.
  3. For customers with Legacy Databases, the Landing Page will show tabs for "Legacy Databases" and "New Databases," along with an info banner.
  4. When "New Databases" tab is selected, the page will display a table with an additional "Plan" column and a logo below the table. The "Configuration" column will be renamed to "Nodes." The table will be empty if no new databases are present.
  5. For customers without Legacy Databases but with New Databases, the Landing Page will show a single table with a "Plan" column and the "Configuration" column renamed to "Nodes," an info banner, and a Logo below the table.
  6. If the DatabaseV2Beta flag is disabled, the Landing Page will display a single table with no changes.

As an Author I have considered ๐Ÿค”

Check all that apply

  • [x] ๐Ÿ‘€ Doing a self review
  • [x] โ” Our contribution guidelines
  • [x] ๐Ÿค Splitting feature into small PRs
  • [x] โž• Adding a changeset
  • [x] ๐Ÿงช Providing/Improving test coverage
  • [x] ๐Ÿ” Removing all sensitive information from the code and PR description
  • [x] ๐Ÿšฉ Using a feature flag to protect the release
  • [ ] ๐Ÿ‘ฃ Providing comprehensive reproduction steps
  • [ ] ๐Ÿ“‘ Providing or updating our documentation
  • [ ] ๐Ÿ•› Scheduling a pair reviewing session
  • [ ] ๐Ÿ“ฑ Providing mobile support
  • [ ] โ™ฟ Providing accessibility support

mpolotsk-akamai avatar Aug 23 '24 15:08 mpolotsk-akamai

@mpolotsk-akamai I just merged in #10786 so we'll want to rebase this PR on develop.

mjac0bs avatar Aug 23 '24 17:08 mjac0bs

@mpolotsk-akamai I just merged in #10786 so we'll want to rebase this PR on develop.

@mjac0bs , thanks, I've rebased the PR

mpolotsk-akamai avatar Aug 26 '24 11:08 mpolotsk-akamai

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

github-actions[bot] avatar Aug 26 '24 19:08 github-actions[bot]

@mpolotsk-akamai Just noticed that typecheck is was failing - using the optional chaining operator to access databases?.data should fix that where there are errors.

mjac0bs avatar Aug 30 '24 16:08 mjac0bs

Just want to call out the failing Cypress tests in create-database.spec.ts so we don't accidentally merge this before they're fixed.

It looks like the tests are failing because no regions are appearing in the region select drop-down -- that's probably caused by something not being mocked

@jdamore-linode, I've fixed the issue.

mpolotsk-akamai avatar Sep 12 '24 15:09 mpolotsk-akamai

Nice! Thanks @mpolotsk-akamai!

jdamore-linode avatar Sep 12 '24 15:09 jdamore-linode