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

LPS-201972 Implement a FeatureIndicator JS component in DXP #384

Closed
wants to merge 3 commits into from

Conversation

pat270
Copy link
Collaborator

@pat270 pat270 commented Nov 27, 2023

https://liferay.atlassian.net/browse/LPS-201972

I'm sending this as draft for review. It doesn't look correct because we need liferay/clay#5711 to be available in portal. I'm missing dark and translucent attributes in the component. The build fails when I add them.

feature-indicator

The syntax for this would look like:

<FeatureIndicator interactive type="beta" />
<FeatureIndicator type="beta" />
<FeatureIndicator interactive type="deprecated" />
<FeatureIndicator type="deprecated" />

One thing I couldn't figure out is how to get the Learn message to show.

@liferay-continuous-integration
Copy link
Collaborator

To conserve resources, the PR Tester does not automatically run for every pull.

If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed.

If your pull was never tested, comment "ci:test" to run the PR Tester for this pull.

@pat270 pat270 marked this pull request as draft November 27, 2023 22:54
@ethib137
Copy link
Collaborator

Hey @pat270 , this is looking pretty good. One thing, it looks like you're missing the small and rounded utilities being added to the button, right?

For getting the learn message to work, did you see this example. I think you have to pass in the learnResourceContext from the backend.

@pat270
Copy link
Collaborator Author

pat270 commented Dec 4, 2023

Resent to FI at liferay-frontend#3879

@pat270 pat270 closed this Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants