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

docs: Update website UI to latest #15944

Merged
merged 14 commits into from Jun 3, 2022
Merged

docs: Update website UI to latest #15944

merged 14 commits into from Jun 3, 2022

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented May 30, 2022

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

This syncs the docs website UI with the latest from the prototype. I also double-checked that links are correctly using pathPrefix where appropriate and added the CSS file to .gitignore as we do for the main website.

Is there anything you'd like reviewers to focus on?

Does everything look okay?

@eslint-github-bot eslint-github-bot bot added documentation Relates to ESLint's documentation triage An ESLint team member will look at this issue soon labels May 30, 2022
@netlify
Copy link

netlify bot commented May 30, 2022

Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit ae3004a
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/6296b25f67a84100090933a4
😎 Deploy Preview https://deploy-preview-15944--docs-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

This is a duplicate id (the same as in version-switcher.html).

docs/src/_includes/components/nav-version-switcher.html Outdated Show resolved Hide resolved
docs/src/_includes/components/nav-version-switcher.html Outdated Show resolved Hide resolved
@mdjermanovic
Copy link
Member

Print style seems broken.

main branch

image

this branch

image

Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
nzakas and others added 4 commits May 30, 2022 17:49
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
@nzakas
Copy link
Member Author

nzakas commented May 31, 2022

Can you open a separate issue for the print style?

docs/src/_includes/components/theme-switcher.html Outdated Show resolved Hide resolved
docs/src/_includes/components/theme-switcher.html Outdated Show resolved Hide resolved
docs/src/assets/js/focus-visible.js Outdated Show resolved Hide resolved
docs/src/assets/js/main.js Outdated Show resolved Hide resolved
docs/src/assets/js/components-index.js Outdated Show resolved Hide resolved
docs/src/assets/js/main.js Outdated Show resolved Hide resolved
docs/src/assets/js/main.js Outdated Show resolved Hide resolved
<aside class="docs-ad">
{%- include 'partials/carbon-ad.html' -%}
</aside>
{% include 'components/docs-toc.html' %}
Copy link
Member

Choose a reason for hiding this comment

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

This will add duplicate ids js-toc-label and js-toc-panel, and we have a script that targets these ids, so it might be better to fix this to avoid unexpected behavior in different browsers.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we should hold off on dealing with this now. Let's just get the current prototype version deployed and then we can see if this is actually causing any problems and narrowly focus on solving it.

Copy link
Member

Choose a reason for hiding this comment

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

Agreed. Everything else LGTM, so I'll merge this now to be deployed.

@mdjermanovic mdjermanovic added accepted There is consensus among the team that this change meets the criteria for inclusion and removed triage An ESLint team member will look at this issue soon labels May 31, 2022
@mdjermanovic
Copy link
Member

Can you open a separate issue for the print style?

#15948

nzakas and others added 6 commits May 31, 2022 17:24
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
@mdjermanovic mdjermanovic mentioned this pull request Jun 1, 2022
9 tasks
@mdjermanovic mdjermanovic merged commit b915018 into main Jun 3, 2022
@mdjermanovic mdjermanovic deleted the docs-ui-update branch June 3, 2022 21:14
crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Jun 17, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | minor | [`8.16.0` -> `8.17.0`](https://renovatebot.com/diffs/npm/eslint/8.16.0/8.17.0) |

---

### Release Notes

<details>
<summary>eslint/eslint</summary>

### [`v8.17.0`](https://github.com/eslint/eslint/releases/tag/v8.17.0)

[Compare Source](eslint/eslint@v8.16.0...v8.17.0)

#### Features

-   [`55319e1`](eslint/eslint@55319e1) feat: fix indent bug with semicolon-first style ([#&#8203;15951](eslint/eslint#15951)) (Milos Djermanovic)
-   [`f6d7920`](eslint/eslint@f6d7920) feat: add `allowNamedExports` option to no-use-before-define ([#&#8203;15953](eslint/eslint#15953)) (Milos Djermanovic)

#### Bug Fixes

-   [`54c0953`](eslint/eslint@54c0953) fix: cleanup typos ([#&#8203;15939](eslint/eslint#15939)) (Nick Schonning)
-   [`845a7af`](eslint/eslint@845a7af) fix: typo ocatal -> octal ([#&#8203;15940](eslint/eslint#15940)) (Nick Schonning)

#### Documentation

-   [`b915018`](eslint/eslint@b915018) docs: Update website UI to latest ([#&#8203;15944](eslint/eslint#15944)) (Nicholas C. Zakas)
-   [`f0bb609`](eslint/eslint@f0bb609) docs: Update Exponentiation operator MDN link ([#&#8203;15960](eslint/eslint#15960)) (Pranjal Jain)
-   [`baa0153`](eslint/eslint@baa0153) docs: Use correct past tense "left" instead of "leaved" ([#&#8203;15950](eslint/eslint#15950)) (Frederik Braun)
-   [`1351a9b`](eslint/eslint@1351a9b) docs: Add Resources section to rule pages ([#&#8203;15901](eslint/eslint#15901)) (Nicholas C. Zakas)
-   [`68cf0fb`](eslint/eslint@68cf0fb) docs: cleanup typos ([#&#8203;15936](eslint/eslint#15936)) (Nick Schonning)
-   [`13b62ae`](eslint/eslint@13b62ae) docs: use-dart-sass instead of node-sass ([#&#8203;15912](eslint/eslint#15912)) (Deepshika S)
-   [`c81c5d6`](eslint/eslint@c81c5d6) docs: add social media links ([#&#8203;15920](eslint/eslint#15920)) (Deepshika S)
-   [`0d6a50b`](eslint/eslint@0d6a50b) docs: fix openjs link ([#&#8203;15917](eslint/eslint#15917)) (Amaresh  S M)
-   [`54910f5`](eslint/eslint@54910f5) docs: display version in mobile view ([#&#8203;15909](eslint/eslint#15909)) (Amaresh  S M)

#### Chores

-   [`da694b9`](eslint/eslint@da694b9) chore: avoid theme flashes ([#&#8203;15927](eslint/eslint#15927)) (Strek)
-   [`f836743`](eslint/eslint@f836743) chore: Use build hook for docs deploy ([#&#8203;15945](eslint/eslint#15945)) (Nicholas C. Zakas)
-   [`ce035e5`](eslint/eslint@ce035e5) test: cleanup typos ([#&#8203;15937](eslint/eslint#15937)) (Nick Schonning)
-   [`10249ad`](eslint/eslint@10249ad) chore: use addEventListener instead of addListener ([#&#8203;15923](eslint/eslint#15923)) (Amaresh  S M)
-   [`5f5c1fb`](eslint/eslint@5f5c1fb) chore: lint eleventy config file ([#&#8203;15904](eslint/eslint#15904)) (Milos Djermanovic)
-   [`8513d37`](eslint/eslint@8513d37) chore: update Rule typedefs ([#&#8203;15915](eslint/eslint#15915)) (Milos Djermanovic)
-   [`55534f1`](eslint/eslint@55534f1) test: ensure no-restricted-imports works with NodeJS imports ([#&#8203;15907](eslint/eslint#15907)) (Nick Mazuk)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1395
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Co-committed-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
@eslint-github-bot eslint-github-bot bot locked and limited conversation to collaborators Dec 1, 2022
@eslint-github-bot eslint-github-bot bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants