From 56e3dd5a33e0b423d16330fb1c1f4e0747c7f6eb Mon Sep 17 00:00:00 2001 From: Neradoc Date: Sat, 22 Oct 2022 03:56:03 +0200 Subject: [PATCH] add optional link to github repo of bundle module (DISPLAY_GITHUB_LINK) put some template links in a common file --- assets/images/GitHub-Mark-120px-plus.png | Bin 0 -> 4268 bytes assets/images/GitHub-Mark-32px.png | Bin 0 -> 1714 bytes assets/images/GitHub-Mark-64px.png | Bin 0 -> 2625 bytes .../images/GitHub-Mark-Light-120px-plus.png | Bin 0 -> 4044 bytes assets/images/GitHub-Mark-Light-32px.png | Bin 0 -> 1571 bytes assets/images/GitHub-Mark-Light-64px.png | Bin 0 -> 2330 bytes assets/main/board_page.css | 22 ++++++++++++++++- assets/main/board_page.js | 13 ++++++++-- assets/main/bundler_select.js | 23 ++++++++++++------ assets/main/common.css | 8 ++++++ assets/svg/external-link.svg | 13 ++++++++++ config.js | 1 + html/board-template.html | 1 + html/common-templates.html | 13 ++++++++++ 14 files changed, 83 insertions(+), 11 deletions(-) create mode 100644 assets/images/GitHub-Mark-120px-plus.png create mode 100644 assets/images/GitHub-Mark-32px.png create mode 100644 assets/images/GitHub-Mark-64px.png create mode 100644 assets/images/GitHub-Mark-Light-120px-plus.png create mode 100644 assets/images/GitHub-Mark-Light-32px.png create mode 100644 assets/images/GitHub-Mark-Light-64px.png create mode 100644 assets/svg/external-link.svg create mode 100644 html/common-templates.html diff --git a/assets/images/GitHub-Mark-120px-plus.png b/assets/images/GitHub-Mark-120px-plus.png new file mode 100644 index 0000000000000000000000000000000000000000..ea6ff545a246caa64074ba809bbc86fcb8589071 GIT binary patch literal 4268 zcmaJ_c|25m+@2YcEGe=tO+zT_42H4qTL_VT8D=nHX3PwRki9HfBH7BIQ7JCj_beeI z(PA%IQuZumf5*MI`@VnN`<~A^=eL~adA{p8f1EgTGXqv8J|+MFz-nZuYe^f)M;9Xl z?T$df2WbN@Nzaya1?NEuL=w;dEfmfT4L0&cdZI1SNK}yDE3_&AKqrE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MvhreFxtoojl@A>L* z?V3N9{Or`QzB8zrK~Wzy9(B6iNvvA2IDC!4FDT_F{|-W_zsO%Zd!zcZU$$SrY)QbT z+}KQlk=a`^_W*hzPZ#yMhjHq8PQ9i6db5c4WxBN_N7p?>>OOl+NcT)WrFk4NdiE{l z;%pD)D#!i39~nk@^PUQri!2Iu0oQ(*7KqFFs)#t$B7j`oGM}O2VyLY`9N-5vh@n;< zRNIc6&UJhY@?%IVdD-=xjGWJqn^0=jZBU)tv{v1U7ED&2v5=oi(iJ2&r=CAe0V;*$ zW$8S9fv(wveNqLlBQuhxlIr{{L<<*+21HMjNzwF5+p`Q`+5~JF9k>|vUCpaTL{(Py zw>le+8;vV|Ci0p)i8;A|+2>n*&Llb{e1az3q!#5`h2t?5>RN5A0%e*-$ySQrj$M&HIK~a9W)6d?W8J*D|_Nsk$ zGP@D92-<(_m%Dt`w&=aK1L=et-x-8!#A~nMjd>p5y_E~xqvBa(g-xz$rbrZzJy}@V zMDqqtV5Q@0Jnd^ZegdA!J_j+KUwf*Q89r!GpX^tCjM-_vCiKDr%LHG*Tq?b|4*FY1 zr|I5VzQbkN?NfI!QSV9w{6i7N+PZuZNn#B7s)KDhPO1TQJe zZL1UgBIOOdRP;I*>7?O<3ezgLDn5OQ67L#>r1#{bKe8hz0Pg XLyRvu{aX3a{{tgEGu={c*U0|?Dtn-9 literal 0 HcmV?d00001 diff --git a/assets/images/GitHub-Mark-32px.png b/assets/images/GitHub-Mark-32px.png new file mode 100644 index 0000000000000000000000000000000000000000..8b25551a97921681334176ee143b41510a117d86 GIT binary patch literal 1714 zcmaJ?X;2eq7*4oFu!ne{XxAht2qc?8LXr|_LPCfTpaBK7K$c{I0Ld=NLIOeuC;@2) zZ$K%a)k+m-s0>xHmKxL%0V&0TRzzznhgyqrIC$F)0{WwLXLrBvd*^wc_uSc%h%m9E z{W5z3f#4_!7RvAyFh6!S_*<8qJ%KOIm?#E|L=rJQq=gB5C6WLG5;c?r%V0>EmEH#X z5eSwPRa6WXBMs#$5H%GtW2go-in9p>zW@UYDNNWc^XOXZQ? z1QjEV00I#$3^1wQUJ8&-2UsjB-G|9y(LDhMNN3PM{APL4eYi{(m*ERcUnJa{R+-3^ z34^A6;U^v`8N*O6ji%S@sd{fJqD`XFIUJ5zgTe5^5nj414F(y!G&=H(f)Lgzv?>%+ zAsWD}2qhpH7>|TU`X&W6IxDNuO_vET7|j5oG&&VDr!)hUO8+0KR?nh!m<)a!?|%yG zqOwq!CWCcIhE{<$E|F|@g>nP6FoYr6C<8>D?ID9%&5J(4oSbR1I^byW*g@__U z4QsF&uJSEcFeleM3~ChjEQGbHOjsGDMbyAl(p=Ttv9RaVo8~I#js@@Y9C^_2U})yn zzSHU%6FxuY?d;&65MyR({^lU*3$z$ZllDb(o&<7d;A_`h2U+3~BJ2Hv`{W}KEU801#cv_B|9Cm!ynR{S`AMsSn z;7E=B;mb!wx$L;S>yGXG^6=&WlQn9$s?&L%Y1D8TI^MlKB1DqsEng$>f4=xYWBoPI z_S1p!sJ#d2?YI4kPA{k}Eby?F=f-J9zIc`YDl^pzjVm~9ebE?Hn?t0Nx+la|D0MB; z9)2xv1G>a1|A9kQ>~DV<=X3-4yC&n!m8-3K#P z{X@0zRuQsy$+N ziSCoLJU{Z$nQy4A4Y5UJ07$5FA~qL2%Q+cLaqDU?Lz3?=BC5;Nk6BbTmmceEaM>-Z zi>O&-dSE=%ex;vcvCOk{*JQ5^_4M z4lW7%l9IqY(z7pV(?I@@8=KPFO82)O{VDI18-*d-k$YmI^XiuPs_LuFw<^ZcD}yP5 c*NrbeloN*74g`U%%F6r~k%+>C^#XapzmV0H-2eap literal 0 HcmV?d00001 diff --git a/assets/images/GitHub-Mark-64px.png b/assets/images/GitHub-Mark-64px.png new file mode 100644 index 0000000000000000000000000000000000000000..182a1a3f734fc1b7d712c68b04c29bad9460d6cd GIT binary patch literal 2625 zcmaJ@dpuNWA3rl=+=}acf|9E@P=bZCA&+qg7et*|Lo`cMQ4SL!u zv;hFn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p({E*uFC(y{d&Lx)rzpmpJ46%rv9IDLc&n(WJ~7e14VWhO%cHezCU9gZE1{ zJOvhs(1wK;ypl8t%PVULi8bK8dvwSL`0bmG=c_iMDHAo>1v?v$<*;A5*}8+qVYp*@ ze}K0g?m`P~hMqLMj#5d#)=tuR-b(zvsL@U7 zh4kwU&aUyQz9%UMyRZ_GikkzroQdlzA_seV%XhEOzpXzuebfqdxI>z2lF{Dic>*{^O;}%mk6~@5$}WdW&(-m9)pbkKk_$ z3az`+BVT`Obr)0J-(TL??IY{?lA?2$uCDFyP|<#+Yus*)@N@v{Xa;?$qzB31;WO zx&b3151u%^el}?Dy6X8%$bdB%I$vL~JEqq3O4F6I;cvIVFHXPb=`Lb|wk&JDLZc(ZU6VHXw7wOo22x-k*8)F=r? z#@_d^LRf?2tz~N(XlARcU&p(OP1(+Q*0K98T+H-7g#^*Re4b9qtfr?Ujy&0bi3J+HR+a876j%v8>FZqq9cA~{aE-5bp;y_qUAm&EEB zX}I>w`!ow-*_D5N(l9#>4DEkW6snmtN)q?Akj}bcu!8!0l&BMR5j5*sMqNM`zC46< z|9v)bbi`*%es(e+=2C=Gx3u%xod_HOXh9<_ zv8-{Mx3&SD^gIi@uo~U-;vL7RNpJ2Q%#thlLQ+cOAWLnX;xNJaDY(oQ@$7TDcQw6y zMcd!uhjBwZGQslzkN_91QAf@xFCE;Mos@G-rGgwh#XMn&eXjK3jds@_n=h60c}8x} z_w@+j!H>oRZk#%xq3%ywjwo`LgA@@KD<2#UT=u$k<-^^_8h7i|Q@^zQ@*cn3XR3s_ zAo#C%$+fE9(ayuPUC0BphK+t7r(II~Uaou-Sqd!c@dmwnBxk45?d{KzRZKL<`Fv)V ZsK8ky_?39l4gAjkwLQ)WTW#Z?@NW_mBhUZ< literal 0 HcmV?d00001 diff --git a/assets/images/GitHub-Mark-Light-32px.png b/assets/images/GitHub-Mark-Light-32px.png new file mode 100644 index 0000000000000000000000000000000000000000..628da97c70890c73e59204f5b140c4e67671e92d GIT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lh z@V0BxvHNAmtK__)^rv^SNw9j3M7}#zg*ToWtbKT~2{x#g2)k9TC|R>Dzhq!T-pA~R z>ZL3u2sdInHHePlU?n!;#-16SNWGJd=j+gQ4vI}N_YbJpa3kc$Q-$nCw8DusXXMl4 z*nJS|qzj=rNJpZI; z$vRbg>YS|lmxjj--{P0zyGBQ?yoS4%MX$EkOMqE$O+Pm%_1o-3WM-q=b4f2dQfTt> zOFR@zTq!4JBAQzKEZEFs#YOE+WUR@=e`!;~PCh-+ddeAuP%>I*Cd8Cb%!1YNZFKDIJTra-- zG#+}%TS;ZSZaqDK8^0CL=AU{B|LU>Hu0mU~}a9D5U= zlszxG=SokFC;8liaQHBlh z2BUO}iYG`REj!%$Xj-syeaVfwq3hF5*L>e!Jm^2?Jo?@}>G*`TrXZHmap&CnfJ4u^ zk68!bvsByruv+!zzl{#!R8}8y9^Ra-sENMbl68A9w_o}?z5eO*E&If08t#Rq+K#s{ zb}mq^_${jVjmeHhTXNWUoFMIe)lJ26`vXz zWvk~HR@whs?OF8cKV8YyEs1et|A`i*;GS`_+RH=ns17TKJg|lJv;Y(H<+2}hIXsat z5ANw;3-!HT?J@e?t>VkCV$sSaXTfoVh-!;h=kN@TPi^X~Dlo@yIP4fl2 z#pt2|1Jj>Ov$71^ei~h1H$uM|R6wY=ZG3Q99U>X|mV`BoS9`4vYw~J@(FazM_8hI9o-&aIo@yE| z6xi92RAt7!kM;6HVQV)mjXu!6Snn}L!YlYRm7CF)XL~-WsBd9Uk6GUDFm8S4@oR}s z!f_@&&0G2FHTy?nQd8F&@&}*SrC)xRgU!h6eepUXk}}=;?q@wX1aZ#AJc}avS@*XR MKo6o-Qerdz3wwRZj{pDw literal 0 HcmV?d00001 diff --git a/assets/main/board_page.css b/assets/main/board_page.css index eba3ee9..0c7a594 100644 --- a/assets/main/board_page.css +++ b/assets/main/board_page.css @@ -376,7 +376,17 @@ commands group.unrolled .icon-right { text-align: center; font-weight: normal; } -#circup_page table .name { width: 100%; } +#circup_page table .name { + width: 100%; +} +#circup_page table .name .repo_link { + margin-left: 8px; +} +#circup_page table .name .repo_link img { + height: 18px; + opacity: 0.5; + vertical-align: bottom; +} #circup_page table .board_version { white-space: nowrap; } #circup_page table .bundle_version { white-space: nowrap; } #circup_page table .status_icon { @@ -449,6 +459,16 @@ commands group.unrolled .icon-right { padding: 2px 4px; } #bundle_list .liste p.hide { display: none; } +#bundle_list .liste p .repo_link { + margin-left: 8px; +} +#bundle_list .liste p .repo_link img { + height: 16px; + vertical-align: bottom; + opacity: 0.5; + /* filter: var(--svg-glow); */ +} + .pair0 { background: var(--color-pair0); } diff --git a/assets/main/board_page.js b/assets/main/board_page.js index 04355ba..e42a7eb 100644 --- a/assets/main/board_page.js +++ b/assets/main/board_page.js @@ -3,7 +3,7 @@ SPDX-FileCopyrightText: Copyright (c) 2022 Neradoc, https://neradoc.me SPDX-License-Identifier: MIT */ -import { BUNDLE_ACCESS, OPEN_IN_BROWSER } from "../../config.js" +import { BUNDLE_ACCESS, OPEN_IN_BROWSER, DISPLAY_GITHUB_LINK } from "../../config.js" import * as common from "../main/common.js" import * as tools from "../lib/tools.js" import { setup_directory, refresh_list } from "../main/list_directory.js" @@ -267,12 +267,21 @@ async function run_update_process(imports) { var module = common.library_bundle.get_module(dependency) var file_name = module.name + (module.package ? "" : ".mpy") var icon = module.package ? "📁" : "📄" - var new_line = $("#circup_row_template").clone(); // clone the template + if(DISPLAY_GITHUB_LINK && module.repo) { + var github = $("#template-icons .repo_link").clone() + github.prop("href", module.repo) + github.on("click", tools.open_outside_sync) + github.show() + } + var new_line = $("#circup_row_template").clone() // clone the template new_line.prop("id", "") new_line.find(".upload button").on("click", upload_button_call) new_line.find(".upload button").val(dependency) new_line.find(".icon").html(icon) new_line.find(".name").html(dependency) + if(DISPLAY_GITHUB_LINK && module.repo) { + new_line.find(".name").append(github) + } new_line.find(".bundle_version").html(module.version) new_line.find(".board_version").html("...") if (imports.includes(dependency)) { diff --git a/assets/main/bundler_select.js b/assets/main/bundler_select.js index 76346d1..8107e84 100644 --- a/assets/main/bundler_select.js +++ b/assets/main/bundler_select.js @@ -3,7 +3,8 @@ SPDX-FileCopyrightText: Copyright (c) 2022 Neradoc, https://neradoc.me SPDX-License-Identifier: MIT */ -import { DEBUG } from "../lib/tools.js" +import { DISPLAY_GITHUB_LINK } from "../../config.js" +import * as tools from "../lib/tools.js" import * as jq from "../extlib/jquery.min.js" export var modules_list = [] @@ -150,14 +151,20 @@ async function fill_modules_list() { keys.forEach((module_name, pair) => { var nd1 = circup.all_the_modules[module_name].dependencies.length var nd2 = circup.all_the_modules[module_name].external_dependencies.length + var repo = circup.all_the_modules[module_name].repo var num_deps = "" - if(DEBUG) { num_deps = `(${nd1+nd2})`; } - $("#bundle_modules").append( - `

- - ${module_name} ${num_deps} -

` - ) + if(tools.DEBUG) { num_deps = `(${nd1+nd2})`; } + var line_to_add = $(`

+ + ${module_name} ${num_deps} +

`) + if(DISPLAY_GITHUB_LINK && repo) { + var github = $("#template-icons .repo_link").clone() + github.prop("href", repo) + github.on("click", tools.open_outside_sync) + line_to_add.find(".module").append(github) + } + $("#bundle_modules").append(line_to_add) }) filter_the_modules() } diff --git a/assets/main/common.css b/assets/main/common.css index a22556d..d05f5dc 100644 --- a/assets/main/common.css +++ b/assets/main/common.css @@ -57,6 +57,10 @@ SPDX-License-Identifier: MIT --caret-color: white; --color-editor-zebra: rgba(50, 50, 50, 0.2); } + .light-mode { display: none; } +} +@media (prefers-color-scheme: light) { + .dark-mode { display: none; } } body { @@ -85,3 +89,7 @@ button, input { border-radius: 4px; padding: 2px 4px; } + +#template-icons { + display: none; +} \ No newline at end of file diff --git a/assets/svg/external-link.svg b/assets/svg/external-link.svg new file mode 100644 index 0000000..f697f97 --- /dev/null +++ b/assets/svg/external-link.svg @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/config.js b/config.js index f1946b6..0adea20 100644 --- a/config.js +++ b/config.js @@ -9,3 +9,4 @@ export var WORKFLOW_USERNAME = "" // can only be empty for now export var WORKFLOW_PASSWORD = "passw0rd" // default, overriden by the password field export var DEBUG_DEFAULT = null // override the "default" param or set to null export var OPEN_IN_BROWSER = false // open links to web workflow files/serial in browser +export var DISPLAY_GITHUB_LINK = true // show link to github repositories diff --git a/html/board-template.html b/html/board-template.html index 94823f3..f7d4d59 100644 --- a/html/board-template.html +++ b/html/board-template.html @@ -53,5 +53,6 @@

+
diff --git a/html/common-templates.html b/html/common-templates.html new file mode 100644 index 0000000..b56e05d --- /dev/null +++ b/html/common-templates.html @@ -0,0 +1,13 @@ + +
+ + +