Www.rust-lang.org: Frontend cleanup: Remove Skeleton

Created on 20 May 2019  路  18Comments  路  Source: rust-lang/www.rust-lang.org

Supersedes #183

The Rust website currently uses two CSS frameworks: Skeleton and Tachyons (http://tachyons.io/docs/layout/flexbox/). This is due to an unfinished migration. This unfinished migration is a blocker for further extensions of the website.

We'd like to completely move over to Tachyons. There's two wishes here:

It's easy to help out! Here are some instructions:

  • Check out the website
  • Pick _one_ of the subpages
  • Post here that you care for that subpage. You will have 7 days to post a PR (otherwise, we'll ping you)
  • (optional) join https://discord.gg/rust-lang and go to #website if you need help or feedback.
  • remove skeletons from the page: https://github.com/rust-lang/www.rust-lang.org/pull/774/files
  • Fix what's broken, using Tachyons or custom CSS. Also try to thoroughly remove now unused CSS classes.
  • Optional: check this bugtracker for issues concerning you page and try to fix them on the go

Handy page list for everyone to check:

| URL | Page Name | Assigned | Fixed
| --- | --- | --- | ---
| / | Index | @dzhibas | yes
| /install | Install | @andirotter | yes
| /learn | Learn | @Pjb518 | yes
| /tools | Tools | @dzhibas | yes
| /governance | Governance | @dzhibas | yes
| /community | Community | @yayoc | yes
| /what | What | @skade | yes
| /what/cli | CLI | @skade |
| /what/embedded | Embedded | @skade |
| /what/wasm | WASM | @skade |
| /what/networking | Server | @dzhibas | yes
| /what/production | Production | @dzhibas | yes
| /policies | Policies | @chriskrycho | yes
| /policies/media-guide | Media Guide | @chriskrycho | yes
| /policies/security | Security | @chriskrycho | yes
| /policies/license | License | @chriskrycho | yes
| /policies/code-of-conduct | Code of Conduct | @chriskrycho | yes

good first issue help wanted

Most helpful comment

Opened PRs for the last pages, we should be able to remove skeletons over this weekend \o/.

There's a few outstanding issues, but they were there before.

All 18 comments

Hey there,

i will start with the "Install" subpage. Also heading over to the discord chat for questions that might arose.

Hey,

I've actually almost completed the Learn page. This includes a lot of site-wide styles, such as the headers and the footer code.

Thanks! @Pjb518 and @andirotter!

I can get the what/embedded page :)

@wizofe go ahead. Note that @Pjb518 got header and footer ported, no need to invest time there!

~Hi, I can help out on the /policies page~ Already done https://github.com/rust-lang/www.rust-lang.org/pull/362

@wizofe go ahead. Note that @Pjb518 got header and footer ported, no need to invest time there!

The section headings and global font size has also already been taken care of, so most of the changes now should be layout issues.

Hi, I can get /community page.

@yayoc yay! :tada:

/tools PR https://github.com/rust-lang/www.rust-lang.org/pull/787

@skade i don't see /contribute route available

404 NotFound template fix https://github.com/rust-lang/www.rust-lang.org/pull/788

after 404 and tools i ran this ripgrep through templates

$ cd templates && rg "columns" -l

production/index.hbs
components/panels/production.hbs
components/what/wasm/production.hbs
components/what/wasm/pitch.hbs
components/what/wasm/js.hbs
components/what/wasm/get-started.hbs
components/what/embedded/testimonials.hbs
components/what/embedded/showcase.hbs
components/what/cli/production.hbs
components/what/cli/example.hbs
components/what/networking/pitch.hbs
components/what/networking/production.hbs
components/what/networking/get-started.hbs

@dzhibas Indeed, the /contribute page doesn't exist anymore (I thought I caught all of them when I copied the list)

I suggest to have some extra columns in the table which show the current status (like Open, In Development, Done) of a page and maybe who contributed to or is working on that page. That will make it easy to track the progress.

totally agree @lwshang , at this point it's hard to track whats left and where people can jump in and still contribute

I changed the list above. Anything more complex would probably need breaking things up into tickets.

Opened PRs for the last pages, we should be able to remove skeletons over this weekend \o/.

There's a few outstanding issues, but they were there before.

I posted a final PR here: https://github.com/rust-lang/www.rust-lang.org/pull/833. Thanks @dzhibas @yayoc @Pjb518 @wizofe @eatrero @andirotter

Done.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joboscribe picture joboscribe  路  6Comments

ashleygwilliams picture ashleygwilliams  路  5Comments

Zaechus picture Zaechus  路  4Comments

tinaun picture tinaun  路  4Comments

Zaechus picture Zaechus  路  5Comments