From 8d44ff51e2bb7fb40c4d7eda44393d57d72cfd88 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 24 Mar 2026 09:27:04 +0100 Subject: [PATCH] [mod] remove the "Submit a new issue on Github" form (#5896) Submitting an issue on GitHub isn't a end user task .. most issue reports coming from this form are not filled out, since end users are not familiar with the needs of a developer community. Closes: https://github.com/searxng/searxng/issues/5820 Signed-off-by: Markus Heiser --- client/simple/src/less/new_issue.less | 38 -------------- client/simple/src/less/style.less | 1 - searx/brand.py | 13 ----- searx/settings.yml | 1 - searx/templates/simple/base.html | 6 +-- searx/templates/simple/new_issue.html | 71 --------------------------- searx/templates/simple/stats.html | 2 - searx/webapp.py | 5 +- tests/robot/settings_robot.yml | 1 - 9 files changed, 5 insertions(+), 133 deletions(-) delete mode 100644 client/simple/src/less/new_issue.less delete mode 100644 searx/templates/simple/new_issue.html diff --git a/client/simple/src/less/new_issue.less b/client/simple/src/less/new_issue.less deleted file mode 100644 index 9ecffd206..000000000 --- a/client/simple/src/less/new_issue.less +++ /dev/null @@ -1,38 +0,0 @@ -// SPDX-License-Identifier: AGPL-3.0-or-later - -.stats_endpoint { - .github-issue-button { - display: block; - font-size: 16px; - } - - .issue-hide { - display: none; - } - - input[type="checked"] { - position: absolute; - } - - label { - margin: 1rem 1rem 1rem 0; - } - - .step_content { - margin: 1rem 1rem 1rem 2rem; - } - - .step1, - .step2 { - visibility: hidden; - } - - .step1_delay { - transition: visibility 0s linear 4s; - } - - #step1:checked ~ .step1, - #step2:checked ~ .step2 { - visibility: visible; - } -} diff --git a/client/simple/src/less/style.less b/client/simple/src/less/style.less index 49c65345b..32c2fdfa1 100644 --- a/client/simple/src/less/style.less +++ b/client/simple/src/less/style.less @@ -11,7 +11,6 @@ @import "animations.less"; @import "embedded.less"; @import "info.less"; -@import "new_issue.less"; @import "stats.less"; @import "result_templates.less"; @import "weather.less"; diff --git a/searx/brand.py b/searx/brand.py index 9627da07d..af1a8eec8 100644 --- a/searx/brand.py +++ b/searx/brand.py @@ -53,16 +53,3 @@ class SettingsBrand(msgspec.Struct, kw_only=True, forbid_unknown_fields=True): .. autoclass:: searx.brand.BrandCustom :members: """ - - # new_issue_url is a hackish solution tailored for only one hoster (GH). As - # long as we don't have a more general solution, we should support it in the - # given function, but it should not be expanded further. - - new_issue_url: str = "https://github.com/searxng/searxng/issues/new" - """If you host your own issue tracker not on GitHub, then unset this URL. - - Note: This URL will create a pre-filled GitHub bug report form for an - engine. Since this feature is implemented only for GH (and limited to - engines), it will probably be replaced by another solution in the near - future. - """ diff --git a/searx/settings.yml b/searx/settings.yml index 6b26d3338..2cf2c29ed 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -18,7 +18,6 @@ general: open_metrics: '' brand: - new_issue_url: https://github.com/searxng/searxng/issues/new docs_url: https://docs.searxng.org/ public_instances: https://searx.space wiki_url: https://github.com/searxng/searxng/wiki diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index ec2c7bb51..b07168a34 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -5,7 +5,7 @@ - + @@ -65,8 +65,8 @@