Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Implement new website #3556

Merged
merged 25 commits into from
Nov 5, 2022
Merged

Implement new website #3556

merged 25 commits into from
Nov 5, 2022

Conversation

sebmck
Copy link
Contributor

@sebmck sebmck commented Nov 3, 2022

Summary

This PR implements a new website design. We plan on shipping this next week. This PR is still WIP. Things that need to be done:

  • Finish landing page
  • Implement dark mode
  • Implement mobile variant
  • Polish docs layout
  • Add and configure search
  • Update lint rule code gen
  • Add VSCode screenshot
  • Address accessibility issues
  • Add Discord logo
  • Verify all docs links
  • Merge release/10.0.0 branch website changes
  • Verify mobile layout
  • Comission illustrator to create dedicated og:image for v10 blog post
  • Update Prettier/Rome formatter times and LOC

Test Plan

Netlify. Local development.

@sebmck sebmck requested a review from a team November 3, 2022 13:21
@netlify
Copy link

netlify bot commented Nov 3, 2022

Deploy Preview for rometools failed.

Name Link
🔨 Latest commit dbd5314
🔍 Latest deploy log https://app.netlify.com/sites/rometools/deploys/6366cf2395088e0008427b1d

@ematipico
Copy link
Contributor

Took a screenshot of some accessibility issues with Firefox, documentation page. The list is not exhaustive:

Screenshot 2022-11-03 at 13 28 31

@sebmck sebmck temporarily deployed to netlify-playground November 3, 2022 15:56 Inactive
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

@MichaReiser MichaReiser marked this pull request as draft November 3, 2022 17:00
@sebmck sebmck temporarily deployed to netlify-playground November 3, 2022 22:55 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 3, 2022 22:58 Inactive
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

Parser conformance results on ubuntu-latest

js/262

Test result main count This PR count Difference
Total 45879 45879 0
Passed 44939 44939 0
Failed 940 940 0
Panics 0 0 0
Coverage 97.95% 97.95% 0.00%

jsx/babel

Test result main count This PR count Difference
Total 39 39 0
Passed 36 36 0
Failed 3 3 0
Panics 0 0 0
Coverage 92.31% 92.31% 0.00%

symbols/microsoft

Test result main count This PR count Difference
Total 5946 5946 0
Passed 1621 1621 0
Failed 4325 4325 0
Panics 0 0 0
Coverage 27.26% 27.26% 0.00%

ts/babel

Test result main count This PR count Difference
Total 588 588 0
Passed 519 519 0
Failed 69 69 0
Panics 0 0 0
Coverage 88.27% 88.27% 0.00%

ts/microsoft

Test result main count This PR count Difference
Total 16257 16257 0
Passed 12395 12395 0
Failed 3862 3862 0
Panics 0 0 0
Coverage 76.24% 76.24% 0.00%

@sebmck sebmck temporarily deployed to netlify-playground November 3, 2022 23:00 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 3, 2022 23:40 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 3, 2022 23:42 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 4, 2022 00:25 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 4, 2022 03:34 Inactive
Sebastian McKenzie added 2 commits November 3, 2022 22:52
@sebmck sebmck temporarily deployed to netlify-playground November 4, 2022 04:12 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 4, 2022 06:53 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 4, 2022 07:12 Inactive
@MichaReiser
Copy link
Contributor

Feedback

Overall: Looks awesome! Some feedback from clicking through the page

grafik

Must use npx and the command is check and not lint

npx rome check

grafik

Link to the announcement blog post that goes into more detail. The main performance boost comes from the monolithic design and careful design of our data structures

grafik

  • Move reference further down
  • The philosophy emoji looks sick (not in a good way :P)

TOC

We should re-visit the headings with {data-toc-exclude}. May no longer be necessary, now that they don't appear in the main navigation

grafik

  • Lint rules isn't correctly aligned (and I'm in favour of removing the emoji)
  • Move Architecture to reference?

grafik

I find it somewhat difficult to "parse" the hierarchy on the rules page.

Sebastian McKenzie added 2 commits November 4, 2022 13:10
@sebmck sebmck temporarily deployed to netlify-playground November 4, 2022 18:13 Inactive
@sebmck
Copy link
Contributor Author

sebmck commented Nov 4, 2022

Addressed all current feedback. Keeping the main post TODOs up to date.

@sebmck sebmck temporarily deployed to netlify-playground November 4, 2022 20:22 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 4, 2022 20:36 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 5, 2022 18:41 Inactive
@sebmck sebmck temporarily deployed to netlify-playground November 5, 2022 21:01 Inactive
@sebmck sebmck marked this pull request as ready for review November 5, 2022 21:45
@sebmck sebmck merged commit d910663 into main Nov 5, 2022
@sebmck sebmck deleted the sebmck/website-redesign branch November 5, 2022 21:45
jeysal added a commit to jeysal/rometools that referenced this pull request Nov 8, 2022
* upstream/main:
  fix(ci): fix the release workflows for the stable release (rome#3583)
  Fix logo container margin
  Fix mobile docs regressions
  perf: End-to-end Linter and Formatter benchmarks (rome#3570)
  doc: VS Code extension (rome#3579)
  refactor(rome_cli): refactor the threading of parallel traversal to increase occupancy (rome#3577)
  [docs] Add navigation dropdown for docs (rome#3578)
  doc(rome_cli): Document `--files-max-size` option
  perf(rome_js_semantic): Use FX Hash function (rome#3565)
  fix(rome_js_analyzer): `noInvalidConstructorSuper` false positive for class expressions (rome#3561)
  Clean up mobile navigation
  doc(website): Run `cargo lintdoc` (rome#3567)
  doc: Fix install command
  Fix mobile code blocks
  Fix dark mode logo
  Update links
  Implement new website (rome#3556)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants