From 53cdb2a0c41cabb492aac55f5218f7e0238efd15 Mon Sep 17 00:00:00 2001 From: Keith Daulton Date: Mon, 13 Jun 2022 23:05:09 -0400 Subject: [PATCH] Adds autolink example and persistent help text --- src/webviews/apps/media/hovers-autolink.png | Bin 0 -> 18646 bytes src/webviews/apps/settings/partials/autolinks.html | 5 ++++ src/webviews/apps/settings/settings.scss | 4 +++ src/webviews/apps/settings/settings.ts | 30 +++++++++++++-------- 4 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 src/webviews/apps/media/hovers-autolink.png diff --git a/src/webviews/apps/media/hovers-autolink.png b/src/webviews/apps/media/hovers-autolink.png new file mode 100644 index 0000000000000000000000000000000000000000..2d7f9be4f58ba72ac491b69e13c2d3bff4a6e015 GIT binary patch literal 18646 zcmb@t1yog0+b+5`A|egaC?Fu+-6h@9-J9+%0R==#N$LcsTTy}E%+a3N#N5#o&g^CH1V%%Upoo`~iJ2|j zjocJ&Y3(3HvESHAL2hj>M4`o{$g1e{5^iNJVX+EEMGb7~*CtL?QO~hUD6cD&#L6UEt(A%xp|%tgNi$ zJbcW2W@cub=5Rg^Msjvmc6Jt44i+{}CN@rfRvvzKcJhDyP=Fh{m|O6xN=W_dcHo^5 zg_WC|6F&=!r>7^gCkL~mizN#iA0HnJD?1B2I};ee})+PnX8w5z(e6P!gA?&|37Vg{G=0FOyYLH>6K_*JaE z;C9*)*5J`y!5#`xaBy<`*GoG8tjYgjDEua7 ze|<%W!qvnBZcg#9Ut0ekum7KudRoE3l>f_N|JM`z=P*}C3pY;_7r2<^KMd!eVMOKM zE<(=E!OTHUt7u|o?eN!W=>Gk5W>zK+mT(ZjSSVP)a#;TQ`9D|2^1m+nAJ_g%O!)V3 z5NQ6s{7;YrZ~hY|;SOMG7Z3#Vex$yJpqGrY5@PCJX}js3ez;u(ZHs^QPWAiNMv&=( zAv#fn;05s~WuMCpBWFtQg#^Db>$26liZz`8KceIXU@(Ck_sd!p*2R z78aHlJ#qsR`GG0LW=&vQ#N)M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&X&R}P%@-G4*5Q+Yt@4(oyY-}@uNLF_G3tRC$kGg$4V&WNns`+k( z(f-kWPI>HqIk|auF&shw01*TMm2Ng`DzX*aU=2A4SoC1bZ!g)Y{EHVaT)%#Urs>DY zM}S#uH2`KT*$LQMX1ul&Tg!kp0?Ygz`G5Ev^Lp-1{-0ESQqrZ|++6$1{k`)4O8y*w z)Gy!=bo)8wvG=m72v5?V6y*Q=
+
+ +
+
+

diff --git a/src/webviews/apps/settings/settings.scss b/src/webviews/apps/settings/settings.scss index 14a4fb6..a8429f6 100644 --- a/src/webviews/apps/settings/settings.scss +++ b/src/webviews/apps/settings/settings.scss @@ -209,6 +209,10 @@ header { width: 600px; } +.image__preview--fit { + width: max-content; +} + .image__preview--overlay { left: 0; position: absolute; diff --git a/src/webviews/apps/settings/settings.ts b/src/webviews/apps/settings/settings.ts index 1162c23..5eed5e5 100644 --- a/src/webviews/apps/settings/settings.ts +++ b/src/webviews/apps/settings/settings.ts @@ -241,7 +241,15 @@ export class SettingsApp extends AppWithConfig { const $root = document.querySelector('[data-component="autolinks"]'); if ($root == null) return; - const autolinkTemplate = (index: number, autolink?: AutolinkReference, isNew = false) => ` + const helpTemplate = () => ` +

+ + Matches prefixes that are followed by a reference value within commit messages.
      The URL must contain a <num> for the reference value to be included in the link. +
+
+ `; + + const autolinkTemplate = (index: number, autolink?: AutolinkReference, isNew = false, renderHelp = true) => ` `; const fragment: string[] = []; - if (this.state.config.autolinks != null) { - this.state.config.autolinks.forEach((autolink, i) => fragment.push(autolinkTemplate(i, autolink))); + const autolinks = (this.state.config.autolinks?.length || 0) > 0; + if (autolinks) { + this.state.config.autolinks?.forEach((autolink, i) => fragment.push(autolinkTemplate(i, autolink))); + } + + fragment.push(autolinkTemplate(this.state.config.autolinks?.length ?? 0, undefined, true, !autolinks)); + + if (autolinks) { + fragment.push( helpTemplate()); } - fragment.push(autolinkTemplate(this.state.config.autolinks?.length ?? 0, undefined, true)); $root.innerHTML = fragment.join(''); }