Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #33453

Closed (moved)
(moved)
Open
Created Feb 25, 2020 by Karsten Loesing@karsten

Relay Search does not have an icon for StaleDesc

There is a new flag in town, and nobody told Relay Search about it: StaleDesc!

We'll need a new icon to be added as src/main/resources/web/images/flags/staledesc.png, and we need a few new lines of code:

diff --git a/src/main/resources/web/js/rs/models/relay.js b/src/main/resources/web/js/rs/models/relay.js
index 11d98fce..60316b82 100644
--- a/src/main/resources/web/js/rs/models/relay.js
+++ b/src/main/resources/web/js/rs/models/relay.js
@@ -43,6 +43,9 @@ define([
                 if (flag == "Stable") {
                     output.push([flag, "stable", "This relay is suitable for long-lived circuits."]);
                 }
+                if (flag == "StaleDesc") {
+                    output.push([flag, "staledesc", "This relay should upload a new descriptor because the old one is too old."]);
+                }
                 if (flag == "V2Dir") {
                     output.push([flag, "v2dir", "This relay implements the v2 directory protocol or higher."]);
                 }

Where did we get the current set of icons from again?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking