IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    A fresh new look for R-universe!

    rOpenSci - open tools for open science发表于 2024-06-12 00:00:00
    love 0
    [This article was first published on rOpenSci - open tools for open science, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
    Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

    A whole new frontend!

    As you may have noticed, we have given the WebUI for R-universe a big refresh. This is the biggest UX overhaul since the beginning of the project.

    The old “dashboard” had become a bit convoluted over the years as features and ideas were added and removed while the project was taking shape. The new front-end keeps the same minimal design, but has been fully rewritten to improve performance, SEO, and incorporate feedback from users.

    Also the new implementation should be easier to maintain and contribute to: if you want to suggest some tweaks, just follow instructions from the readme to run it locally and test your changes using live data.

    A quick overview of changes

    You can explore the new WebUI by searching for your favorite package on r-universe search or navigating directly to https://{owner}.r-universe.dev/{pkg}. Some high-level changes to notice:

    • Pages are responsive with a max-width of 1440px to look nice on small and large screens.
    • Main contents are rendered server-side which improves performance and SEO.
    • Cleaner top navbar which links to other universe content and has a search box.
    • Universe (owner) information sidebar has moved to the left.
    • Every package gets a section with citation info (also available via the API in html, txt or cff)
    • Development and contributors chart shows proper dates on x axis and max 12 contriburors.
    • Neat table with overview of package help pages link directly to beautiful postdoc html manuals.

    Screenshot of a package homepage on r-universe
    Screenshot of citation section of package homepage
    Screenshot of development and contributor chart
    Screenshot of help pages table

    Moreover the rendering of articles (vignettes) has improved to be a bit more readable. We hope this makes it easier to explore all the amazing written content available in R packages.

    Screenshot viewing an article on r-universe

    Browsing all content from a universe

    The examples above display information and content from a single package. The top navbar links to the overview pages that show other content that is available in a universe (for details see our previous post: Discovering and learning everything there is to know about R packages using r-universe).

    All r-universe subdomains still use the following url scheme:

    • https://{owner}.r-universe.dev/builds – repository index
    • https://{owner}.r-universe.dev/packages – package cards
    • https://{owner}.r-universe.dev/articles – vignettes with titels, dates, and authors
    • https://{owner}.r-universe.dev/contributors – contributions from/by this owner
    • https://{owner}.r-universe.dev/badges – all available badges
    • https://{owner}.r-universe.dev/apis – interactive tool to explore r-universe APIs

    Each of these pages has been rewritten in the same frontend system with lots of style and performance tweaks. Below some more screenshots.

    Screenshot of builds tab of a repository.
    Screenshot of packages tab of a repository.
    Screenshot of articles tab of a repository.
    Screenshot of contribution tab of a repository.
    Screenshot of badges tab of a repository.
    Screenshot of api tab of a repository.
    To leave a comment for the author, please follow the link and comment on their blog: rOpenSci - open tools for open science.

    R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
    Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
    Continue reading: A fresh new look for R-universe!


沪ICP备19023445号-2号
友情链接