Skip to content

upcoming: [M3-7874] - Linode Create Refactor - Marketplace - Part 2 - #10419

Merged
bnussman-akamai merged 10 commits into
linode:developfrom
bnussman-akamai:M3-7572-linode-create-refactor-marketplace-part-2
May 3, 2024
Merged

bnussman-akamai merged 10 commits into
linode:developfrom
bnussman-akamai:M3-7572-linode-create-refactor-marketplace-part-2

Conversation

@bnussman-akamai

Copy link
Copy Markdown
Member

Description 📝

More work on the Marketplace section of the new Linode Create flow

Note

This PR takes a few more steps in building out the Marketplace tab in the new LInode Create flow. Because of the complexity, I'm doing it incrementally. Much functionality will not be implemented yet

Changes 🔄

  • Adds ability to pre-select an app using the appID query param (this is needed for parity with existing flow)
  • Adds Image Selection
  • Adds User Defined Fields

Preview 📷

Screenshot 2024-04-29 at 5 36 49 PM

How to test 🧪

Prerequisites

  • Turn on the Linode Crete v2 feature flag using local dev tools

Verification steps

  • Verify you see an Image Select
  • Verify you see UDFs for Marketplace apps that have UDFs

As an Author I have considered 🤔

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 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

@bnussman-akamai
bnussman-akamai marked this pull request as ready for review April 29, 2024 22:01
@bnussman-akamai
bnussman-akamai requested a review from a team as a code owner April 29, 2024 22:01
@bnussman-akamai
bnussman-akamai requested review from carrillo-erik and dwiley-akamai and removed request for a team April 29, 2024 22:01
Comment on lines +70 to +75
const displayLabel = decode(
label
.replace('Null One-Click', '')
.replace('One-Click', '')
.replace('Cluster', '')
);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This logic will be extracted out in a future PR

@github-actions

github-actions Bot commented Apr 29, 2024 •

Copy link
Copy Markdown

Coverage Report: ✅
Base Coverage: 81.82%
Current Coverage: 81.82%

@dwiley-akamai dwiley-akamai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are you observing repeated apps in the list also?

Screenshot 2024-04-30 at 1 38 16 PM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we fix the three perfectionist/sort-named-imports warnings in this file?

});

await waitFor(() => {
expect(getByPlaceholderText('Select category')).not.toBeDisabled();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Worth storing "Select category" in a const since we use it three times

@bnussman-akamai

Copy link
Copy Markdown
Member Author

Yeah, I also see repeated apps. For some apps, there are a few variations of them returned by the API. I have not yet implemented the logic that filters the apps based on what is in stackScriptUtils.ts @dwiley-akamai

@mjac0bs mjac0bs added the Approved Multiple approvals and ready to merge! label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Multiple approvals and ready to merge! Linode Create Refactor Marketplace

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants