question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Restyling the build details page

See original GitHub issue

Description

I’ve had a bit of CSS I inject into the builds page for ReadTheDocs locally to make them nicer. And well… I think it’s nice+stable enough by now, that it might be worth upstreaming this content.

Click to see the CSS
#build-commands {
    padding: 3px 0;
    border-radius: 3px;
    background: #2f333d;
}

div.build-command {
    border: none;
    border-radius: 0;
    background: transparent;
    color: white;
    padding: 0;
    margin: 0;
}
div.build-command-successful .build-command-run span:hover {
    background: #282c34;
}
div.build-command-failed .build-command-run span:hover {
    background: #944;
}
div.build-command-run {
    margin: 0;
    padding: 0;
    border-radius: 0;
}
div.build-command-run span {
    margin: 0;
    padding: 0.25em 0.5em;
}
div.build-command-run span::before {
    content: "$ ";
}
div.build-command div.build-command-run span,
div.build-command div.build-command-output span {
    white-space: pre-wrap;
}
div.build-command div.build-command-output {
    background: #1d1f23;
    margin: 0;
}
div.build-command-output span {
    white-space: pre-wrap;
}

div.build-command div.build-command-meta {
    background: #21252b;
}

Screenshots

Regular output, with one element “expanded” and hovering on the git clean statement

(current)

Screenshot 2020-11-15 at 2 58 45 AM

(proposed)

Screenshot 2020-11-15 at 2 56 10 AM

When there’s a failure

(current)

Screenshot 2020-11-15 at 2 59 14 AM

(proposed)

Screenshot 2020-11-15 at 2 57 00 AM

Additional context

Relevant CSS lives here: https://github.com/readthedocs/readthedocs.org/blob/43073b15999d18f96532682ba838717521119abf/readthedocs/builds/static/builds/css/detail.css

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ericholschercommented, Jun 30, 2022

@pradyunsg Sorry for this, and I appreciate your frustration. We’re taking some steps to prioritize getting the beta dashboard out, and I agree it’s an unfortunate wait on that. I really hope we have some more things to show there in the next couple weeks. I’m not going to push forward with this change quite yet, but hopefully within 2-4 weeks we’ll have a link to share with you to help us beta test the new dashboard.

1reaction
pradyunsgcommented, Jun 29, 2022

I’ll flag that it’s almost midway through 2022 – and this was rejected since there is a new theme under development in late 2020. Have there been any public updates on the new theme’s rollout?

If it’s not coming out in the order of weeks, may I suggest adding the ~50 lines of CSS that the issue description has? There have been no changes to the UI for over an year now, and this is a very quick win that will have no ongoing costs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Crash Course | Build a Complete App - YouTube
React Native Crash Course | Build a Complete App ... list data 01:51:54 Platform-specific styling 02:00:45 Using the ScrollView component ...
Read more >
Xcode | Apple Developer Documentation
Build, test, and submit your app with Apple's integrated development environment. Overview. Xcode consists of a suite of tools that developers use to...
Read more >
React Native styling tutorial with examples - LogRocket Blog
Learn to style components in React Native by building an example e-commerce mobile application that displays an array of products.
Read more >
Better performance with UX and Build Details page ...
Better performance with UX and Build Details page improvements on Bitrise. You can expect improved user experience and performance reflected ...
Read more >
Archive a Build in Xcode - SwiftUI Advanced Handbook
Archive a build for beta testing or to release in the App Store. ... Integrate an HTML page into your SwiftUI application using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found