From 3a14bab5291f2813d80230ae91f7eccc36c28280 Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Fri, 14 Jun 2024 19:59:51 +0530 Subject: [PATCH 1/2] Add line numbers in SQL input textarea Bug: T315066 --- quarry/web/static/css/query/view.css | 4 ++++ quarry/web/static/js/query/view.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/quarry/web/static/css/query/view.css b/quarry/web/static/css/query/view.css index 38f34ba..c47876d 100644 --- a/quarry/web/static/css/query/view.css +++ b/quarry/web/static/css/query/view.css @@ -66,6 +66,10 @@ table#query-results-sampled { min-height: 144px; } +.cm-s-monokai .CodeMirror-linenumber { + color: #858484; +} + #code { font-family: Monaco, Consolas, "Ubuntu Mono", monospace; width: 100%; diff --git a/quarry/web/static/js/query/view.js b/quarry/web/static/js/query/view.js index 4893c4d..b015ad4 100644 --- a/quarry/web/static/js/query/view.js +++ b/quarry/web/static/js/query/view.js @@ -14,7 +14,8 @@ $( function () { mode: 'text/x-mariadb', theme: 'monokai', readOnly: !vars.can_edit, - matchBrackets: true + matchBrackets: true, + lineNumbers: true } ); } From 540b017557224897386194e53b4870d9ddd62318 Mon Sep 17 00:00:00 2001 From: Github Action Date: Mon, 17 Jun 2024 13:03:10 +0000 Subject: [PATCH 2/2] auto update of tag --- helm-quarry/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-quarry/values.yaml b/helm-quarry/values.yaml index ec7cf75..43a718e 100644 --- a/helm-quarry/values.yaml +++ b/helm-quarry/values.yaml @@ -1,7 +1,7 @@ web: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-55 # web tag managed by github actions + tag: pr-54 # web tag managed by github actions worker: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-55 # worker tag managed by github actions \ No newline at end of file + tag: pr-54 # worker tag managed by github actions \ No newline at end of file