From 953dcaf051cef3c0c4066243f954da5767670813 Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Sat, 5 Jun 2021 18:26:10 +0200 Subject: [PATCH 1/2] Print body when posting screenshots --- post_screenshot_comment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/post_screenshot_comment.py b/post_screenshot_comment.py index 8eda97b..0ea5cf1 100644 --- a/post_screenshot_comment.py +++ b/post_screenshot_comment.py @@ -90,6 +90,7 @@ def write_comment(pr_id: str, body: str, token: str) -> None: comment_id = find_screenshot_comment_id(pr_id) images = get_image_urls(sys.argv[2]) body = format_body(images) + print(body) token = os.environ["GITHUB_TOKEN"] if comment_id: update_comment(comment_id, body, token) From 938f733c4f8a46938c20eaf865d8d71be94b556b Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Sat, 5 Jun 2021 17:06:31 +0100 Subject: [PATCH 2/2] Switch to Django-defined colors for dark mode support --- AUTHORS | 4 +++- docs/source/changelog.rst | 6 ++++++ postgres_metrics/static/postgres_metrics/css/base.css | 8 ++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/AUTHORS b/AUTHORS index 3d889d5..98be4c3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -2,7 +2,9 @@ django-postgres-metrics was originally created in 2017 by Markus Holtermann. Here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS -- people who have submitted patches, reported bugs, added translations, helped -answer newbie questions, and generally made Django that much better: +answer newbie questions, and generally made django-postgres-metrics that much +better: Markus Holtermann Dusty Phillips + Thibaud Colas diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index be204eb..22713b6 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -7,6 +7,12 @@ Changelog Under Development ================= +* Added dark-mode support. (`PR #59 + `_) + +* Fixed several accessibility issues. (`PR #58 + `_) + 0.10.1 (2021-04-06) =================== diff --git a/postgres_metrics/static/postgres_metrics/css/base.css b/postgres_metrics/static/postgres_metrics/css/base.css index 8b84881..1772318 100644 --- a/postgres_metrics/static/postgres_metrics/css/base.css +++ b/postgres_metrics/static/postgres_metrics/css/base.css @@ -26,20 +26,20 @@ tr.pgm-critical, td.pgm-critical { - background-color: #ffefef; + background-color: var(--message-error-bg); } tr.pgm-warning, td.pgm-warning { - background-color: #ffffcc; + background-color: var(--message-warning-bg); } tr.pgm-ok, td.pgm-ok { - background-color: #ddffdd; + background-color: var(--message-success-bg); } tr.pgm-info, td.pgm-info { - background-color: #9adeff; + background-color: var(--breadcrumbs-bg); } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy