public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Owen W. Taylor <otaylor@fishsoup.net>
To: git-commits@fedoraproject.org
Subject: [flatpaks/flatpak-runtime] f45: Make the summary popups less annoying
Date: Fri, 11 Sep 2026 14:40:21 GMT	[thread overview]
Message-ID: <178913762142.1.9246930733171284338.flatpaks-flatpak-runtime-6423b96b1447@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : 6423b96b14471589691f2c37ff5851932c95fcca
            Author : Owen W. Taylor <otaylor@fishsoup.net>
            Date   : 2018-02-14T15:14:47-05:00
            Stats  : +30/-3 in 6 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/6423b96b14471589691f2c37ff5851932c95fcca?branch=f45

            Log:
            Make the summary popups less annoying

* On pages with pagination, move them up above the pagination
* Add a close button

---
diff --git a/reports/applications.html b/reports/applications.html
index d946a11..a6dcaf0 100644
--- a/reports/applications.html
+++ b/reports/applications.html
@@ -31,6 +31,7 @@
       </tbody>
     </table>
     <div class="summary">
+      <div id="summaryClose" onclick="closeSummary()">X</div>
       <table>
 	<tr><td class="sample no-flathub"></td><td> - In Fedora, not in Flathub</td></tr>
 	<tr><td class="sample no-fedora"></td><td> - In Flathub, not in Fedora</td></tr>

diff --git a/reports/extra-package-app.html b/reports/extra-package-app.html
index 2aee6a1..c7fdc1b 100644
--- a/reports/extra-package-app.html
+++ b/reports/extra-package-app.html
@@ -33,6 +33,7 @@
       <ul class="apps"></ul>
     </div>
     <div class="summary">
+      <div id="summaryClose" onclick="closeSummary()">X</div>
       <div class="note">
 	Shows number of applications using each package. Click on application counts for details. Click on headers to sort.
       </div>

diff --git a/reports/report.css b/reports/report.css
index 6efe9b8..5f6f99a 100644
--- a/reports/report.css
+++ b/reports/report.css
@@ -27,8 +27,6 @@ ul.header a {
     color: black;
 }
 
-/* Runtime Report */
-
 .summary {
     border: 1px solid black;
     border-radius: 5px;
@@ -38,12 +36,31 @@ ul.header a {
     position: fixed;
     box-shadow: 5px 5px 5px;
     right: 5px;
-    bottom: 5px;
+    bottom: 50px;
 }
+
 .summary .note {
     padding-top: 5px;
     font-style: italic;
 }
+
+#summaryClose {
+    position: absolute;
+    right: 4px;
+    top: 4px;
+    border-radius: 5px;
+    border: 1px solid black;
+    background: #f8f8f8;
+    padding: 0px 3px;
+    cursor: default;
+}
+
+/* Runtime Report */
+
+#runtimeReport .summary {
+    bottom: 5px;
+}
+
 table.packages {
     border-collapse: collapse;
 }

diff --git a/reports/report.js b/reports/report.js
index 17c1e5d..b24c701 100644
--- a/reports/report.js
+++ b/reports/report.js
@@ -114,3 +114,7 @@ function startAppPackages() {
     startPackageTable('#runtimeTable', 'runtime')
     startPackageTable('#extraTable', 'extra')
 }
+
+function closeSummary() {
+    $('.summary').hide();
+}

diff --git a/reports/runtime-package-app.html b/reports/runtime-package-app.html
index 88269f9..a8da6b5 100644
--- a/reports/runtime-package-app.html
+++ b/reports/runtime-package-app.html
@@ -33,6 +33,7 @@
       <ul class="apps"></ul>
     </div>
     <div class="summary">
+      <div id="summaryClose" onclick="closeSummary()">X</div>
       <div class="note">
 	Shows number of applications using each package. Click on application counts for details. Click on headers to sort.
       </div>

diff --git a/runtime-template.html b/runtime-template.html
index 4e9fd93..0447eed 100644
--- a/runtime-template.html
+++ b/runtime-template.html
@@ -3,6 +3,8 @@
   <head>
     <meta charset="UTF-8">
     <link href="report.css" rel="stylesheet">
+    <script src="jslib/jquery-3.3.1.min.js"></script>
+    <script src="report.js"></script>
   </head>
   <body id="runtimeReport">
     <ul class="header">
@@ -12,6 +14,7 @@
       <li><a href="extra-package-app.html">Extra Package -> Application</a></li>
     </ul>
     <div class="summary">
+      <div id="summaryClose" onclick="closeSummary()">X</div>
       <table>
 	<tr><td>FD/P</td><td> - org.freedesktop.Platform
 	    {%if unmatched.freedesktop_platform > 0%}

                 reply	other threads:[~2026-09-11 14:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178913762142.1.9246930733171284338.flatpaks-flatpak-runtime-6423b96b1447@fedoraproject.org \
    --to=otaylor@fishsoup.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox