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

feat(contextual-help): allow setting a max-width to popover #5140

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TarunAdobe
Copy link
Contributor

Description

Update contextual-help component to css latest version.

Note: This update needed an update to our process-spectrum.js script. The update was that our script always expected an index-base.css file in the dist folder of the component css but there were components which didn't have this file and for those components we are supposed to be using index.css directly.
The script now uses a simple try/catch statement to first try the index-base.css and if not then use the index.css.

Related issue(s)

Motivation and context

  • Contextual help should allow consumers to set a max-width on the popover.

How has this been tested?

  • Test case 1

    1. Go here
    2. Do this
  • Did it pass in Desktop?

  • Did it pass in Mobile?

  • Did it pass in iPad?

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Checklist

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • If my change required a change to the documentation, I have updated the documentation in this pull request.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices

Best practices

This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against main.

@TarunAdobe TarunAdobe requested a review from a team as a code owner March 3, 2025 17:31
@TarunAdobe TarunAdobe self-assigned this Mar 3, 2025
Copy link

changeset-bot bot commented Mar 3, 2025

⚠️ No Changeset found

Latest commit: 1a177da

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@TarunAdobe TarunAdobe added the WIP label Mar 3, 2025
@TarunAdobe TarunAdobe linked an issue Mar 3, 2025 that may be closed by this pull request
1 task
@TarunAdobe TarunAdobe changed the title Ttomar/contextualhelp feat(contextual-help): allow setting a max-width to popover Mar 3, 2025
Copy link

github-actions bot commented Mar 3, 2025

Branch preview

Review the following VRT differences

When a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:

If the changes are expected, update the current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

Copy link

github-actions bot commented Mar 3, 2025

Tachometer results

Currently, no packages are changed by this PR...

Copy link

github-actions bot commented Mar 3, 2025

Lighthouse scores

Category Latest (report) Main (report) Branch (report)
Performance 0.99 0.98 0.99
Accessibility 1 1 1
Best Practices 1 1 1
SEO 1 0.92 0.92
PWA 1 1 1
What is this?

Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on main ("Main"). Higher scores are better, but note that the SEO scores on Netlify URLs are artifically constrained to 0.92.

Transfer Size

Category Latest Main Branch
Total 244.622 kB 230.799 kB 🏆 230.866 kB
Scripts 61.629 kB 54.37 kB 🏆 54.379 kB
Stylesheet 46.901 kB 41.888 kB 🏆 41.987 kB
Document 6.268 kB 5.483 kB 🏆 5.534 kB
Font 126.828 kB 126.684 kB 126.617 kB 🏆

Request Count

Category Latest Main Branch
Total 52 52 52
Scripts 41 41 41
Stylesheet 5 5 5
Document 1 1 1
Font 2 2 2

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 13636812490

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.966%

Totals Coverage Status
Change from base Build 13583172491: 0.0%
Covered Lines: 33662
Relevant Lines: 34164

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: contextual-help should have a max-width property
2 participants