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

fix(theme): added missing import in theme constants #4770

Closed
wants to merge 1 commit into from

Conversation

Rajdeepc
Copy link
Contributor

@Rajdeepc Rajdeepc commented Sep 18, 2024

Description

Added missing .js filetype extension in theme-interfaces import.

Related issue(s)

Motivation and context

How has this been tested?

  • Test case 1

    1. Go here
    2. Do this
  • Test case 2

    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.

@Rajdeepc Rajdeepc added the bug Something isn't working label Sep 18, 2024
@Rajdeepc Rajdeepc self-assigned this Sep 18, 2024
@Rajdeepc Rajdeepc requested a review from a team as a code owner September 18, 2024 15:46
Copy link

Branch preview

Visual regression test results

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

Copy link

Lighthouse scores

Category Latest (report) Main (report) Branch (report)
Performance 0.99 0.99 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 227.752 kB 216.355 kB 🏆 216.647 kB
Scripts 57.44 kB 51.843 kB 🏆 52.00 kB
Stylesheet 34.482 kB 30.035 kB 🏆 30.185 kB
Document 6.214 kB 5.46 kB 🏆 5.501 kB
Font 126.825 kB 126.605 kB 🏆 126.613 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 10925640911

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.003%) to 98.212%

Totals Coverage Status
Change from base Build 10905285957: 0.003%
Covered Lines: 32542
Relevant Lines: 32961

💛 - Coveralls

Copy link

Tachometer results

Chrome

action-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 500 kB 50.90ms - 52.09ms - faster ✔
3% - 6%
1.56ms - 3.22ms
branch 476 kB 53.31ms - 54.47ms slower ❌
3% - 6%
1.56ms - 3.22ms
-

action-menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 701 kB 137.03ms - 140.73ms - faster ✔
6% - 9%
8.88ms - 13.77ms
branch 659 kB 148.61ms - 151.80ms slower ❌
6% - 10%
8.88ms - 13.77ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 658 kB 65.51ms - 66.66ms - faster ✔
7% - 9%
4.75ms - 6.80ms
branch 616 kB 71.01ms - 72.71ms slower ❌
7% - 10%
4.75ms - 6.80ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 657 kB 63.66ms - 64.52ms - faster ✔
7% - 9%
4.78ms - 6.48ms
branch 615 kB 68.99ms - 70.45ms slower ❌
7% - 10%
4.78ms - 6.48ms
-

test-open-close-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 847 kB 1871.69ms - 1874.67ms - unsure 🔍
-0% - +0%
-1.88ms - +2.25ms
branch 802 kB 1871.56ms - 1874.42ms unsure 🔍
-0% - +0%
-2.25ms - +1.88ms
-

test-open-close permalink

Version Bytes Avg Time vs remote vs branch
npm latest 845 kB 1875.62ms - 1878.23ms - unsure 🔍
-0% - -0%
-5.01ms - -1.17ms
branch 801 kB 1878.60ms - 1881.42ms unsure 🔍
+0% - +0%
+1.17ms - +5.01ms
-

breadcrumbs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 718 kB 484.60ms - 492.04ms - faster ✔
1% - 3%
3.91ms - 14.59ms
branch 676 kB 493.73ms - 501.40ms slower ❌
1% - 3%
3.91ms - 14.59ms
-

combobox permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 763 kB 37.07ms - 38.28ms - faster ✔
1% - 4%
0.20ms - 1.59ms
branch 718 kB 38.23ms - 38.91ms slower ❌
0% - 4%
0.20ms - 1.59ms
-

light-dom-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 763 kB 388.28ms - 397.48ms - faster ✔
2% - 5%
6.33ms - 19.08ms
branch 718 kB 401.17ms - 410.00ms slower ❌
2% - 5%
6.33ms - 19.08ms
-

contextual-help permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 51.76ms - 54.25ms - faster ✔
5% - 11%
2.82ms - 6.25ms
branch 644 kB 56.36ms - 58.72ms slower ❌
5% - 12%
2.82ms - 6.25ms
-

menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 494 kB 241.59ms - 249.77ms - faster ✔
0% - 4%
0.04ms - 10.94ms
branch 470 kB 247.57ms - 254.77ms unsure 🔍
-0% - +4%
+0.04ms - +10.94ms
-

overlay permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 741 kB 432.54ms - 439.75ms - faster ✔
1% - 3%
2.93ms - 12.87ms
branch 698 kB 440.62ms - 447.47ms slower ❌
1% - 3%
2.93ms - 12.87ms
-

directive-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 822 kB 22.61ms - 23.65ms - faster ✔
7% - 12%
1.88ms - 3.08ms
branch 777 kB 25.31ms - 25.92ms slower ❌
8% - 14%
1.88ms - 3.08ms
-

element-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 812 kB 351.55ms - 356.19ms - faster ✔
2% - 5%
8.39ms - 17.45ms
branch 767 kB 362.90ms - 370.69ms slower ❌
2% - 5%
8.39ms - 17.45ms
-

lazy-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 609 kB 42.46ms - 43.51ms - faster ✔
4% - 14%
1.71ms - 6.88ms
branch 564 kB 44.75ms - 49.81ms slower ❌
4% - 16%
1.71ms - 6.88ms
-

picker permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 568 kB 531.71ms - 550.94ms - faster ✔
2% - 6%
8.66ms - 34.93ms
branch 526 kB 554.17ms - 572.07ms slower ❌
2% - 7%
8.66ms - 34.93ms
-

popover permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 395 kB 11.33ms - 12.43ms - unsure 🔍
-10% - +3%
-1.22ms - +0.44ms
branch 373 kB 11.65ms - 12.90ms unsure 🔍
-4% - +10%
-0.44ms - +1.22ms
-

slider permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 494 kB 79.25ms - 81.68ms - faster ✔
2% - 6%
2.00ms - 5.47ms
branch 470 kB 82.96ms - 85.44ms slower ❌
2% - 7%
2.00ms - 5.47ms
-

split-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 780 kB 1868.72ms - 1873.17ms - unsure 🔍
-0% - +0%
-1.68ms - +4.54ms
branch 736 kB 1867.34ms - 1871.68ms unsure 🔍
-0% - +0%
-4.54ms - +1.68ms
-

tooltip permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 594 kB 34.19ms - 34.90ms - faster ✔
3% - 6%
1.15ms - 2.26ms
branch 579 kB 35.82ms - 36.68ms slower ❌
3% - 7%
1.15ms - 2.26ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 579 kB 23.53ms - 24.06ms - faster ✔
7% - 11%
1.91ms - 2.84ms
branch 537 kB 25.79ms - 26.55ms slower ❌
8% - 12%
1.91ms - 2.84ms
-

test-element permalink

Version Bytes Avg Time vs remote vs branch
npm latest 704 kB 53.21ms - 54.48ms - faster ✔
4% - 7%
2.04ms - 3.80ms
branch 659 kB 56.16ms - 57.37ms slower ❌
4% - 7%
2.04ms - 3.80ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 680 kB 42.81ms - 43.99ms - faster ✔
6% - 9%
2.59ms - 4.16ms
branch 635 kB 46.25ms - 47.29ms slower ❌
6% - 10%
2.59ms - 4.16ms
-

truncated permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 545 kB 58.39ms - 59.54ms - faster ✔
3% - 6%
1.77ms - 3.77ms
branch 519 kB 60.91ms - 62.55ms slower ❌
3% - 6%
1.77ms - 3.77ms
-
Firefox

action-bar permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 500 kB 112.33ms - 119.51ms - unsure 🔍
-7% - +0%
-8.59ms - +0.63ms
branch 476 kB 117.01ms - 122.79ms unsure 🔍
-1% - +7%
-0.63ms - +8.59ms
-

action-menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 701 kB 282.91ms - 286.49ms - faster ✔
11% - 13%
35.68ms - 41.24ms
branch 659 kB 321.03ms - 325.29ms slower ❌
12% - 15%
35.68ms - 41.24ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 658 kB 139.97ms - 142.15ms - unsure 🔍
-4% - +0%
-5.56ms - +0.16ms
branch 616 kB 141.11ms - 146.41ms unsure 🔍
-0% - +4%
-0.16ms - +5.56ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 657 kB 131.12ms - 136.24ms - faster ✔
1% - 6%
1.58ms - 8.90ms
branch 615 kB 136.31ms - 141.53ms slower ❌
1% - 7%
1.58ms - 8.90ms
-

test-open-close-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 847 kB 1892.93ms - 1901.59ms - unsure 🔍
-0% - +0%
-3.44ms - +6.48ms
branch 802 kB 1893.31ms - 1898.17ms unsure 🔍
-0% - +0%
-6.48ms - +3.44ms
-

test-open-close permalink

Version Bytes Avg Time vs remote vs branch
npm latest 845 kB 1898.98ms - 1903.10ms - faster ✔
0% - 1%
5.75ms - 12.13ms
branch 801 kB 1907.54ms - 1912.42ms slower ❌
0% - 1%
5.75ms - 12.13ms
-

breadcrumbs permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 718 kB 806.07ms - 830.89ms - faster ✔
1% - 4%
4.22ms - 30.34ms
branch 676 kB 831.69ms - 839.83ms slower ❌
0% - 4%
4.22ms - 30.34ms
-

combobox permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 763 kB 62.28ms - 64.40ms - faster ✔
0% - 5%
0.19ms - 3.09ms
branch 718 kB 63.99ms - 65.97ms slower ❌
0% - 5%
0.19ms - 3.09ms
-

light-dom-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 763 kB 750.02ms - 772.78ms - slower ❌
3% - 6%
18.61ms - 42.31ms
branch 718 kB 727.65ms - 734.23ms faster ✔
3% - 5%
18.61ms - 42.31ms
-

contextual-help permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 689 kB 106.67ms - 111.57ms - faster ✔
2% - 7%
1.71ms - 8.33ms
branch 644 kB 111.90ms - 116.38ms slower ❌
1% - 8%
1.71ms - 8.33ms
-

menu permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 494 kB 444.87ms - 458.65ms - unsure 🔍
-3% - +1%
-14.05ms - +3.21ms
branch 470 kB 451.98ms - 462.38ms unsure 🔍
-1% - +3%
-3.21ms - +14.05ms
-

overlay permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 819 kB 686.18ms - 699.98ms - slower ❌
3% - 5%
18.86ms - 35.70ms
branch 774 kB 660.98ms - 670.62ms faster ✔
3% - 5%
18.86ms - 35.70ms
-

directive-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 822 kB 49.42ms - 50.62ms - faster ✔
2% - 5%
0.82ms - 2.34ms
branch 777 kB 51.13ms - 52.07ms slower ❌
2% - 5%
0.82ms - 2.34ms
-

element-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 812 kB 694.28ms - 704.84ms - slower ❌
3% - 6%
17.23ms - 37.73ms
branch 767 kB 663.30ms - 680.86ms faster ✔
2% - 5%
17.23ms - 37.73ms
-

lazy-test permalink

Version Bytes Avg Time vs remote vs branch
npm latest 609 kB 91.51ms - 93.77ms - faster ✔
5% - 8%
4.60ms - 7.96ms
branch 564 kB 97.68ms - 100.16ms slower ❌
5% - 9%
4.60ms - 7.96ms
-

picker permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 568 kB 1026.41ms - 1036.95ms - faster ✔
4% - 7%
45.35ms - 76.01ms
branch 526 kB 1077.96ms - 1106.76ms slower ❌
4% - 7%
45.35ms - 76.01ms
-

popover permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 395 kB 29.54ms - 33.22ms - unsure 🔍
-9% - +8%
-2.75ms - +2.43ms
branch 373 kB 29.72ms - 33.36ms unsure 🔍
-8% - +9%
-2.43ms - +2.75ms
-

slider permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 494 kB 160.33ms - 166.99ms - faster ✔
1% - 7%
1.58ms - 11.66ms
branch 470 kB 166.50ms - 174.06ms slower ❌
1% - 7%
1.58ms - 11.66ms
-

split-button permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 780 kB 1876.52ms - 1879.40ms - unsure 🔍
-0% - -0%
-8.49ms - -3.19ms
branch 736 kB 1881.58ms - 1886.02ms unsure 🔍
+0% - +0%
+3.19ms - +8.49ms
-

tooltip permalink

test-basic

Version Bytes Avg Time vs remote vs branch
npm latest 704 kB 76.69ms - 82.03ms - slower ❌
3% - 12%
2.09ms - 8.71ms
branch 659 kB 72.01ms - 75.91ms faster ✔
3% - 11%
2.09ms - 8.71ms
-

test-directive permalink

Version Bytes Avg Time vs remote vs branch
npm latest 579 kB 47.26ms - 48.22ms - faster ✔
2% - 5%
1.01ms - 2.35ms
branch 537 kB 48.95ms - 49.89ms slower ❌
2% - 5%
1.01ms - 2.35ms
-

test-element permalink

Version Bytes Avg Time vs remote vs branch
npm latest 704 kB 135.54ms - 139.78ms - slower ❌
7% - 13%
9.46ms - 15.82ms
branch 659 kB 122.64ms - 127.40ms faster ✔
7% - 11%
9.46ms - 15.82ms
-

test-lazy permalink

Version Bytes Avg Time vs remote vs branch
npm latest 680 kB 87.79ms - 91.81ms - faster ✔
11% - 19%
11.61ms - 20.63ms
branch 635 kB 101.88ms - 109.96ms slower ❌
13% - 23%
11.61ms - 20.63ms
-

truncated permalink

basic-test

Version Bytes Avg Time vs remote vs branch
npm latest 545 kB 103.80ms - 110.28ms - unsure 🔍
-7% - +1%
-8.23ms - +0.99ms
branch 519 kB 107.39ms - 113.93ms unsure 🔍
-1% - +8%
-0.99ms - +8.23ms
-

Copy link
Collaborator

@rubencarvalho rubencarvalho left a comment

Choose a reason for hiding this comment

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

I had missed this, and so I ended up creating a PR for this issue as well 🤦
On my PR I added a eslint rule, what do you think about it? #4771

@Rajdeepc
Copy link
Contributor Author

Duplicate of #4771

@Rajdeepc Rajdeepc marked this as a duplicate of #4771 Sep 19, 2024
@Rajdeepc Rajdeepc closed this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants