TagSpaces is an offline, open source, document manager with tagging support
chore: refactoring file creation process and logos
Ilian Sapundshievf924885a3662
diff --git a/app/assets/images/text-logo-pro.svg b/app/assets/images/text-logo-pro.svgindex 5119ef2c9..dc6133256 100644--- a/app/assets/images/text-logo-pro.svg+++ b/app/assets/images/text-logo-pro.svg@@ -1,3 +1,88 @@-<?xml version="1.0" encoding="UTF-8"?>+<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Created with Inkscape (http://www.inkscape.org/) -->-<svg width="152.63mm" height="21.562mm" version="1.1" viewBox="0 0 152.63 21.562" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><g transform="translate(-7.2898 -320.64)"><g stroke-width=".26458" aria-label="tagspaces pro"><g stroke-width=".070004" aria-label="tagspaces pro"><g fill="#808080" stroke-width=".018522" aria-label="tagspaces pro"><path d="m13.363 336.92q-1.1289 0-2.032-0.56444-0.90311-0.58703-1.4224-1.5804-0.51929-0.99342-0.51929-2.2352v-10.77q0-0.49671 0.31609-0.8128 0.31609-0.31609 0.8128-0.31609t0.8128 0.31609 0.31609 0.8128v10.77q0 0.90311 0.49671 1.5127 0.49671 0.6096 1.2192 0.6096h0.76764q0.4064 0 0.67733 0.31609 0.29351 0.31609 0.29351 0.8128t-0.38382 0.8128q-0.36124 0.31609-0.94827 0.31609zm-5.0123-9.9568q-0.47413 0-0.76765-0.27093-0.29351-0.27094-0.29351-0.67734 0-0.45155 0.29351-0.72249 0.29351-0.27093 0.76765-0.27093h5.2155q0.47413 0 0.76764 0.27093 0.29351 0.27094 0.29351 0.72249 0 0.4064-0.29351 0.67734-0.29351 0.27093-0.76764 0.27093z"/><path d="m21.733 337.01q-1.6482 0-2.9577-0.8128-1.3095-0.83538-2.0772-2.2352-0.74507-1.4224-0.74507-3.206 0-1.7836 0.8128-3.206 0.83538-1.4224 2.2352-2.2352 1.4224-0.83538 3.1835-0.83538 1.7611 0 3.1609 0.83538 1.3998 0.8128 2.2126 2.2352 0.83538 1.4224 0.83538 3.206h-0.88053q0 1.7836-0.76764 3.206-0.74507 1.3998-2.0546 2.2352-1.3095 0.8128-2.9577 0.8128zm0.45156-2.032q1.1515 0 2.0546-0.54187 0.90311-0.56444 1.4224-1.5127 0.51929-0.97084 0.51929-2.1675 0-1.2192-0.51929-2.1675-0.51929-0.97084-1.4224-1.5127-0.90311-0.56444-2.0546-0.56444-1.1289 0-2.0546 0.56444-0.90311 0.54187-1.445 1.5127-0.51929 0.94827-0.51929 2.1675 0 1.1966 0.51929 2.1675 0.54187 0.94827 1.445 1.5127 0.92569 0.54187 2.0546 0.54187zm5.0574 1.9643q-0.49671 0-0.83538-0.31609-0.31609-0.33867-0.31609-0.83538v-3.4544l0.42898-2.3932 1.874 0.8128v5.0348q0 0.49671-0.33867 0.83538-0.31609 0.31609-0.8128 0.31609z"/><path d="m35.634 337.01q-1.6933 0-3.0028-0.79022-1.2869-0.8128-2.032-2.2126-0.74507-1.4224-0.74507-3.2512 0-1.8514 0.79022-3.2512 0.8128-1.4224 2.2126-2.2126 1.3998-0.8128 3.2286-0.8128 1.8062 0 3.206 0.8128 1.3998 0.79023 2.19 2.2126 0.8128 1.3998 0.8128 3.2512h-1.3321q0 1.8288-0.69991 3.2512-0.67733 1.3998-1.874 2.2126-1.1966 0.79022-2.7545 0.79022zm0.4064 5.0348q-1.603 0-3.0028-0.63218-1.3998-0.63217-2.3707-1.8514-0.29351-0.38382-0.22578-0.79022 0.09031-0.4064 0.45156-0.65475 0.4064-0.27094 0.83538-0.18063 0.45156 0.0903 0.72249 0.45156 0.6096 0.76764 1.5353 1.1966 0.92569 0.42898 2.0997 0.42898 1.0837 0 1.9868-0.51929 0.92569-0.51929 1.4676-1.5353 0.54187-1.016 0.54187-2.4836v-3.206l0.74507-1.9868 1.4676 0.47413v4.8768q0 1.7836-0.79022 3.2286-0.79022 1.4676-2.2126 2.3255-1.3998 0.85795-3.2512 0.85795zm0.04516-7.0668q1.174 0 2.0772-0.54187 0.90311-0.54186 1.3998-1.4901 0.51929-0.94827 0.51929-2.19t-0.51929-2.19q-0.49671-0.97085-1.3998-1.5127-0.90311-0.54186-2.0772-0.54186-1.174 0-2.0772 0.54186-0.90311 0.54187-1.4224 1.5127-0.51929 0.94826-0.51929 2.19t0.51929 2.19q0.51929 0.94827 1.4224 1.4901 0.90311 0.54187 2.0772 0.54187z"/><path d="m48.88 337.01q-1.5804 0-2.9351-0.47413-1.3321-0.49671-2.0772-1.2418-0.33867-0.36124-0.29351-0.8128 0.06773-0.47413 0.45156-0.76765 0.45156-0.36124 0.88054-0.29351 0.45156 0.0452 0.76764 0.38383 0.38382 0.42897 1.2192 0.8128 0.85796 0.36124 1.8965 0.36124 1.3095 0 1.9868-0.42898 0.69991-0.42898 0.72249-1.1063 0.02258-0.67733-0.65476-1.174-0.65476-0.49671-2.4158-0.8128-2.2804-0.45155-3.3189-1.3547-1.016-0.90312-1.016-2.2126 0-1.1515 0.67733-1.8965 0.67733-0.76765 1.7385-1.1289 1.0612-0.38383 2.2126-0.38383 1.4901 0 2.6416 0.47414 1.1515 0.47413 1.8288 1.3095 0.31609 0.36124 0.29351 0.76764-0.02258 0.38383-0.38382 0.65476-0.36124 0.24836-0.85796 0.15805-0.49671-0.0903-0.83538-0.4064-0.56444-0.54187-1.2192-0.74507t-1.5127-0.2032q-0.99342 0-1.6933 0.33866-0.67733 0.33867-0.67733 0.99343 0 0.4064 0.2032 0.74507 0.22578 0.31608 0.85796 0.58702 0.63218 0.24835 1.8514 0.49671 1.6933 0.33867 2.6642 0.85796 0.99342 0.51929 1.4224 1.2192 0.42898 0.67733 0.42898 1.5804 0 1.0386-0.56444 1.874-0.54187 0.83538-1.6256 1.3321-1.0612 0.49671-2.6642 0.49671z"/><path d="m56.46 342.2q-0.49671 0-0.83538-0.33867-0.31609-0.31609-0.31609-0.8128v-10.295q0.02258-1.7836 0.83538-3.206 0.8128-1.4224 2.2126-2.2352 1.3998-0.83538 3.1609-0.83538 1.7836 0 3.1835 0.83538 1.3998 0.8128 2.2126 2.2352 0.83538 1.4224 0.83538 3.206 0 1.7836-0.76764 3.206-0.74507 1.3998-2.0546 2.2352-1.3095 0.8128-2.9577 0.8128-1.3321 0-2.461-0.54186-1.1063-0.56445-1.8965-1.5127v6.096q0 0.49671-0.31609 0.8128-0.31609 0.33867-0.83538 0.33867zm5.0574-7.2249q1.1515 0 2.0546-0.54187 0.90311-0.56444 1.4224-1.5127 0.54187-0.97084 0.54187-2.1675 0-1.2192-0.54187-2.1675-0.51929-0.97084-1.4224-1.5127-0.90311-0.56444-2.0546-0.56444-1.1289 0-2.0546 0.56444-0.90311 0.54187-1.4224 1.5127-0.51929 0.94827-0.51929 2.1675 0 1.1966 0.51929 2.1675 0.51929 0.94827 1.4224 1.5127 0.92569 0.54187 2.0546 0.54187z"/><path d="m74.99 337.01q-1.6482 0-2.9577-0.8128-1.3095-0.83538-2.0772-2.2352-0.74507-1.4224-0.74507-3.206 0-1.7836 0.8128-3.206 0.83538-1.4224 2.2352-2.2352 1.4224-0.83538 3.1835-0.83538 1.7611 0 3.1609 0.83538 1.3998 0.8128 2.2126 2.2352 0.83538 1.4224 0.83538 3.206h-0.88054q0 1.7836-0.76764 3.206-0.74507 1.3998-2.0546 2.2352-1.3095 0.8128-2.9577 0.8128zm0.45156-2.032q1.1515 0 2.0546-0.54187 0.90311-0.56444 1.4224-1.5127 0.51929-0.97084 0.51929-2.1675 0-1.2192-0.51929-2.1675-0.51929-0.97084-1.4224-1.5127-0.90311-0.56444-2.0546-0.56444-1.1289 0-2.0546 0.56444-0.90311 0.54187-1.445 1.5127-0.51929 0.94827-0.51929 2.1675 0 1.1966 0.51929 2.1675 0.54187 0.94827 1.445 1.5127 0.92569 0.54187 2.0546 0.54187zm5.0574 1.9643q-0.49671 0-0.83538-0.31609-0.31609-0.33867-0.31609-0.83538v-3.4544l0.42898-2.3932 1.874 0.8128v5.0348q0 0.49671-0.33867 0.83538-0.31609 0.31609-0.8128 0.31609z"/><path d="m89.342 337.01q-1.8062 0-3.2286-0.8128-1.3998-0.83538-2.2126-2.2352-0.79022-1.4224-0.79022-3.206 0-1.8288 0.79022-3.2512 0.79022-1.4224 2.1675-2.2126 1.3772-0.8128 3.1609-0.8128 1.3321 0 2.4384 0.51929 1.1063 0.49671 1.9868 1.5127 0.31609 0.36124 0.22578 0.74506-0.09031 0.38383-0.49671 0.67734-0.31609 0.22578-0.69991 0.15804-0.38382-0.0903-0.69991-0.4064-1.1063-1.174-2.7545-1.174-1.1515 0-2.032 0.54186-0.88053 0.51929-1.3772 1.4676-0.49671 0.94827-0.49671 2.2352 0 1.2192 0.49671 2.1675 0.51929 0.94827 1.4224 1.5127 0.90311 0.54187 2.0997 0.54187 0.79022 0 1.3772-0.18062 0.6096-0.2032 1.1063-0.6096 0.36124-0.29351 0.74507-0.31609 0.38382-0.0452 0.67733 0.2032 0.38382 0.31609 0.42898 0.72249 0.04516 0.38382-0.27093 0.69991-1.6256 1.5127-4.064 1.5127z"/><path d="m101.78 337.01q-1.874 0-3.3415-0.79022-1.445-0.8128-2.2804-2.2126-0.8128-1.4224-0.8128-3.2512 0-1.8514 0.76764-3.2512 0.79022-1.4224 2.1675-2.2126 1.3772-0.8128 3.1609-0.8128 1.7611 0 3.0254 0.79023 1.2644 0.76764 1.9191 2.1449 0.67733 1.3547 0.67733 3.1383 0 0.42898-0.29351 0.72249-0.29351 0.27094-0.74506 0.27094h-9.0989v-1.8062h9.0311l-0.92569 0.63218q-0.0226-1.1289-0.45155-2.0094-0.42898-0.90312-1.2192-1.4224-0.79023-0.51929-1.9191-0.51929-1.2869 0-2.2126 0.56445-0.90311 0.56444-1.3772 1.5579-0.47413 0.97084-0.47413 2.2126t0.56444 2.2126q0.56444 0.97084 1.5579 1.5353 0.99342 0.56444 2.2804 0.56444 0.69991 0 1.4224-0.24835 0.74507-0.27094 1.1966-0.6096 0.33867-0.24836 0.72249-0.24836 0.4064-0.0226 0.69992 0.22578 0.38382 0.33866 0.4064 0.74507 0.0226 0.4064-0.36125 0.69991-0.76764 0.6096-1.9191 0.99342-1.1289 0.38382-2.1675 0.38382z"/><path d="m113.15 337.01q-1.5804 0-2.9351-0.47413-1.3321-0.49671-2.0772-1.2418-0.33867-0.36124-0.29351-0.8128 0.0677-0.47413 0.45155-0.76765 0.45156-0.36124 0.88054-0.29351 0.45155 0.0452 0.76764 0.38383 0.38383 0.42897 1.2192 0.8128 0.85796 0.36124 1.8965 0.36124 1.3095 0 1.9868-0.42898 0.69991-0.42898 0.72249-1.1063 0.0226-0.67733-0.65476-1.174-0.65476-0.49671-2.4158-0.8128-2.2804-0.45155-3.3189-1.3547-1.016-0.90312-1.016-2.2126 0-1.1515 0.67733-1.8965 0.67734-0.76765 1.7385-1.1289 1.0612-0.38383 2.2126-0.38383 1.4901 0 2.6416 0.47414 1.1515 0.47413 1.8288 1.3095 0.31609 0.36124 0.29351 0.76764-0.0226 0.38383-0.38382 0.65476-0.36125 0.24836-0.85796 0.15805-0.49671-0.0903-0.83538-0.4064-0.56444-0.54187-1.2192-0.74507-0.65475-0.2032-1.5127-0.2032-0.99342 0-1.6933 0.33866-0.67734 0.33867-0.67734 0.99343 0 0.4064 0.2032 0.74507 0.22578 0.31608 0.85796 0.58702 0.63218 0.24835 1.8514 0.49671 1.6933 0.33867 2.6642 0.85796 0.99342 0.51929 1.4224 1.2192 0.42898 0.67733 0.42898 1.5804 0 1.0386-0.56445 1.874-0.54186 0.83538-1.6256 1.3321-1.0612 0.49671-2.6642 0.49671z"/><path d="m126 342.2q-0.49672 0-0.83538-0.33867-0.31609-0.31609-0.31609-0.8128v-10.295q0.0226-1.7836 0.83538-3.206 0.8128-1.4224 2.2126-2.2352 1.3998-0.83538 3.1609-0.83538 1.7836 0 3.1835 0.83538 1.3998 0.8128 2.2126 2.2352 0.83538 1.4224 0.83538 3.206 0 1.7836-0.76765 3.206-0.74507 1.3998-2.0546 2.2352-1.3095 0.8128-2.9577 0.8128-1.3321 0-2.461-0.54186-1.1063-0.56445-1.8965-1.5127v6.096q0 0.49671-0.31609 0.8128-0.31609 0.33867-0.83537 0.33867zm5.0574-7.2249q1.1515 0 2.0546-0.54187 0.90311-0.56444 1.4224-1.5127 0.54187-0.97084 0.54187-2.1675 0-1.2192-0.54187-2.1675-0.51929-0.97084-1.4224-1.5127-0.90311-0.56444-2.0546-0.56444-1.1289 0-2.0546 0.56444-0.90311 0.54187-1.4224 1.5127-0.51929 0.94827-0.51929 2.1675 0 1.1966 0.51929 2.1675 0.51929 0.94827 1.4224 1.5127 0.92569 0.54187 2.0546 0.54187z"/><path d="m140.49 329.2q0-1.3547 0.65475-2.4158 0.67734-1.0837 1.8062-1.7159 1.1289-0.63218 2.4836-0.63218 1.3547 0 2.0094 0.45155 0.67733 0.42898 0.51929 1.0386-0.0677 0.31609-0.27093 0.49671-0.18063 0.15805-0.42898 0.2032-0.24836 0.0452-0.54187-0.0226-1.445-0.29351-2.5964-0.0452-1.1515 0.24836-1.8288 0.92569-0.65475 0.67734-0.65475 1.7159zm0.0226 7.7216q-0.54187 0-0.83538-0.27093-0.29351-0.29351-0.29351-0.85796v-10.092q0-0.54186 0.29351-0.83537 0.29351-0.29352 0.83538-0.29352 0.56444 0 0.83537 0.29352 0.29352 0.27093 0.29352 0.83537v10.092q0 0.54187-0.29352 0.83538-0.27093 0.29351-0.83537 0.29351z"/><path d="m153.71 337.01q-1.8288 0-3.2286-0.79022-1.3998-0.8128-2.2126-2.2126-0.79022-1.4224-0.79022-3.2512 0-1.8514 0.79022-3.2512 0.8128-1.4224 2.2126-2.2126 1.3998-0.8128 3.2286-0.8128 1.8062 0 3.206 0.8128 1.3998 0.79023 2.19 2.2126 0.8128 1.3998 0.8128 3.2512 0 1.8288-0.79023 3.2512-0.79022 1.3998-2.19 2.2126-1.3998 0.79022-3.2286 0.79022zm0-2.032q1.174 0 2.0772-0.54187 0.90311-0.54186 1.3998-1.4901 0.51929-0.94827 0.51929-2.19t-0.51929-2.19q-0.49671-0.97085-1.3998-1.5127-0.90311-0.54186-2.0772-0.54186-1.174 0-2.0772 0.54186-0.90311 0.54187-1.4224 1.5127-0.51929 0.94826-0.51929 2.19t0.51929 2.19 1.4224 1.4901q0.90312 0.54187 2.0772 0.54187z"/></g></g></g></g></svg>++<svg+ width="152.63mm"+ height="21.562mm"+ version="1.1"+ viewBox="0 0 152.63 21.562"+ xml:space="preserve"+ id="svg3646"+ sodipodi:docname="text-logo-pro.svg"+ inkscape:version="1.2.2 (732a01da63, 2022-12-09, custom)"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg"><defs+ id="defs3650" /><sodipodi:namedview+ id="namedview3648"+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1.0"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:document-units="mm"+ showgrid="false"+ inkscape:zoom="1.5983989"+ inkscape:cx="276.83954"+ inkscape:cy="53.178216"+ inkscape:window-width="1850"+ inkscape:window-height="1011"+ inkscape:window-x="0"+ inkscape:window-y="0"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg3646" /><g+ transform="translate(-7.2898 -320.64)"+ id="g3644"+ style="fill:#616577;fill-opacity:1"><g+ stroke-width=".26458"+ aria-label="tagspaces pro"+ id="g3642"+ style="fill:#616577;fill-opacity:1"><g+ stroke-width=".070004"+ aria-label="tagspaces pro"+ id="g3640"+ style="fill:#616577;fill-opacity:1"><g+ fill="#808080"+ stroke-width=".018522"+ aria-label="tagspaces pro"+ id="g3638"+ style="fill:#616577;fill-opacity:1"><path+ d="m13.363 336.92q-1.1289 0-2.032-0.56444-0.90311-0.58703-1.4224-1.5804-0.51929-0.99342-0.51929-2.2352v-10.77q0-0.49671 0.31609-0.8128 0.31609-0.31609 0.8128-0.31609t0.8128 0.31609 0.31609 0.8128v10.77q0 0.90311 0.49671 1.5127 0.49671 0.6096 1.2192 0.6096h0.76764q0.4064 0 0.67733 0.31609 0.29351 0.31609 0.29351 0.8128t-0.38382 0.8128q-0.36124 0.31609-0.94827 0.31609zm-5.0123-9.9568q-0.47413 0-0.76765-0.27093-0.29351-0.27094-0.29351-0.67734 0-0.45155 0.29351-0.72249 0.29351-0.27093 0.76765-0.27093h5.2155q0.47413 0 0.76764 0.27093 0.29351 0.27094 0.29351 0.72249 0 0.4064-0.29351 0.67734-0.29351 0.27093-0.76764 0.27093z"+ id="path3614"+ style="fill:#616577;fill-opacity:1" /><path+ d="m21.733 337.01q-1.6482 0-2.9577-0.8128-1.3095-0.83538-2.0772-2.2352-0.74507-1.4224-0.74507-3.206 0-1.7836 0.8128-3.206 0.83538-1.4224 2.2352-2.2352 1.4224-0.83538 3.1835-0.83538 1.7611 0 3.1609 0.83538 1.3998 0.8128 2.2126 2.2352 0.83538 1.4224 0.83538 3.206h-0.88053q0 1.7836-0.76764 3.206-0.74507 1.3998-2.0546 2.2352-1.3095 0.8128-2.9577 0.8128zm0.45156-2.032q1.1515 0 2.0546-0.54187 0.90311-0.56444 1.4224-1.5127 0.51929-0.97084 0.51929-2.1675 0-1.2192-0.51929-2.1675-0.51929-0.97084-1.4224-1.5127-0.90311-0.56444-2.0546-0.56444-1.1289 0-2.0546 0.56444-0.90311 0.54187-1.445 1.5127-0.51929 0.94827-0.51929 2.1675 0 1.1966 0.51929 2.1675 0.54187 0.94827 1.445 1.5127 0.92569 0.54187 2.0546 0.54187zm5.0574 1.9643q-0.49671 0-0.83538-0.31609-0.31609-0.33867-0.31609-0.83538v-3.4544l0.42898-2.3932 1.874 0.8128v5.0348q0 0.49671-0.33867 0.83538-0.31609 0.31609-0.8128 0.31609z"+ id="path3616"+ style="fill:#616577;fill-opacity:1" /><path+ d="m35.634 337.01q-1.6933 0-3.0028-0.79022-1.2869-0.8128-2.032-2.2126-0.74507-1.4224-0.74507-3.2512 0-1.8514 0.79022-3.2512 0.8128-1.4224 2.2126-2.2126 1.3998-0.8128 3.2286-0.8128 1.8062 0 3.206 0.8128 1.3998 0.79023 2.19 2.2126 0.8128 1.3998 0.8128 3.2512h-1.3321q0 1.8288-0.69991 3.2512-0.67733 1.3998-1.874 2.2126-1.1966 0.79022-2.7545 0.79022zm0.4064 5.0348q-1.603 0-3.0028-0.63218-1.3998-0.63217-2.3707-1.8514-0.29351-0.38382-0.22578-0.79022 0.09031-0.4064 0.45156-0.65475 0.4064-0.27094 0.83538-0.18063 0.45156 0.0903 0.72249 0.45156 0.6096 0.76764 1.5353 1.1966 0.92569 0.42898 2.0997 0.42898 1.0837 0 1.9868-0.51929 0.92569-0.51929 1.4676-1.5353 0.54187-1.016 0.54187-2.4836v-3.206l0.74507-1.9868 1.4676 0.47413v4.8768q0 1.7836-0.79022 3.2286-0.79022 1.4676-2.2126 2.3255-1.3998 0.85795-3.2512 0.85795zm0.04516-7.0668q1.174 0 2.0772-0.54187 0.90311-0.54186 1.3998-1.4901 0.51929-0.94827 0.51929-2.19t-0.51929-2.19q-0.49671-0.97085-1.3998-1.5127-0.90311-0.54186-2.0772-0.54186-1.174 0-2.0772 0.54186-0.90311 0.54187-1.4224 1.5127-0.51929 0.94826-0.51929 2.19t0.51929 2.19q0.51929 0.94827 1.4224 1.4901 0.90311 0.54187 2.0772 0.54187z"+ id="path3618"+ style="fill:#616577;fill-opacity:1" /><path+ d="m48.88 337.01q-1.5804 0-2.9351-0.47413-1.3321-0.49671-2.0772-1.2418-0.33867-0.36124-0.29351-0.8128 0.06773-0.47413 0.45156-0.76765 0.45156-0.36124 0.88054-0.29351 0.45156 0.0452 0.76764 0.38383 0.38382 0.42897 1.2192 0.8128 0.85796 0.36124 1.8965 0.36124 1.3095 0 1.9868-0.42898 0.69991-0.42898 0.72249-1.1063 0.02258-0.67733-0.65476-1.174-0.65476-0.49671-2.4158-0.8128-2.2804-0.45155-3.3189-1.3547-1.016-0.90312-1.016-2.2126 0-1.1515 0.67733-1.8965 0.67733-0.76765 1.7385-1.1289 1.0612-0.38383 2.2126-0.38383 1.4901 0 2.6416 0.47414 1.1515 0.47413 1.8288 1.3095 0.31609 0.36124 0.29351 0.76764-0.02258 0.38383-0.38382 0.65476-0.36124 0.24836-0.85796 0.15805-0.49671-0.0903-0.83538-0.4064-0.56444-0.54187-1.2192-0.74507t-1.5127-0.2032q-0.99342 0-1.6933 0.33866-0.67733 0.33867-0.67733 0.99343 0 0.4064 0.2032 0.74507 0.22578 0.31608 0.85796 0.58702 0.63218 0.24835 1.8514 0.49671 1.6933 0.33867 2.6642 0.85796 0.99342 0.51929 1.4224 1.2192 0.42898 0.67733 0.42898 1.5804 0 1.0386-0.56444 1.874-0.54187 0.83538-1.6256 1.3321-1.0612 0.49671-2.6642 0.49671z"+ id="path3620"+ style="fill:#616577;fill-opacity:1" /><path+ d="m56.46 342.2q-0.49671 0-0.83538-0.33867-0.31609-0.31609-0.31609-0.8128v-10.295q0.02258-1.7836 0.83538-3.206 0.8128-1.4224 2.2126-2.2352 1.3998-0.83538 3.1609-0.83538 1.7836 0 3.1835 0.83538 1.3998 0.8128 2.2126 2.2352 0.83538 1.4224 0.83538 3.206 0 1.7836-0.76764 3.206-0.74507 1.3998-2.0546 2.2352-1.3095 0.8128-2.9577 0.8128-1.3321 0-2.461-0.54186-1.1063-0.56445-1.8965-1.5127v6.096q0 0.49671-0.31609 0.8128-0.31609 0.33867-0.83538 0.33867zm5.0574-7.2249q1.1515 0 2.0546-0.54187 0.90311-0.56444 1.4224-1.5127 0.54187-0.97084 0.54187-2.1675 0-1.2192-0.54187-2.1675-0.51929-0.97084-1.4224-1.5127-0.90311-0.56444-2.0546-0.56444-1.1289 0-2.0546 0.56444-0.90311 0.54187-1.4224 1.5127-0.51929 0.94827-0.51929 2.1675 0 1.1966 0.51929 2.1675 0.51929 0.94827 1.4224 1.5127 0.92569 0.54187 2.0546 0.54187z"+ id="path3622"+ style="fill:#616577;fill-opacity:1" /><path+ d="m74.99 337.01q-1.6482 0-2.9577-0.8128-1.3095-0.83538-2.0772-2.2352-0.74507-1.4224-0.74507-3.206 0-1.7836 0.8128-3.206 0.83538-1.4224 2.2352-2.2352 1.4224-0.83538 3.1835-0.83538 1.7611 0 3.1609 0.83538 1.3998 0.8128 2.2126 2.2352 0.83538 1.4224 0.83538 3.206h-0.88054q0 1.7836-0.76764 3.206-0.74507 1.3998-2.0546 2.2352-1.3095 0.8128-2.9577 0.8128zm0.45156-2.032q1.1515 0 2.0546-0.54187 0.90311-0.56444 1.4224-1.5127 0.51929-0.97084 0.51929-2.1675 0-1.2192-0.51929-2.1675-0.51929-0.97084-1.4224-1.5127-0.90311-0.56444-2.0546-0.56444-1.1289 0-2.0546 0.56444-0.90311 0.54187-1.445 1.5127-0.51929 0.94827-0.51929 2.1675 0 1.1966 0.51929 2.1675 0.54187 0.94827 1.445 1.5127 0.92569 0.54187 2.0546 0.54187zm5.0574 1.9643q-0.49671 0-0.83538-0.31609-0.31609-0.33867-0.31609-0.83538v-3.4544l0.42898-2.3932 1.874 0.8128v5.0348q0 0.49671-0.33867 0.83538-0.31609 0.31609-0.8128 0.31609z"+ id="path3624"+ style="fill:#616577;fill-opacity:1" /><path+ d="m89.342 337.01q-1.8062 0-3.2286-0.8128-1.3998-0.83538-2.2126-2.2352-0.79022-1.4224-0.79022-3.206 0-1.8288 0.79022-3.2512 0.79022-1.4224 2.1675-2.2126 1.3772-0.8128 3.1609-0.8128 1.3321 0 2.4384 0.51929 1.1063 0.49671 1.9868 1.5127 0.31609 0.36124 0.22578 0.74506-0.09031 0.38383-0.49671 0.67734-0.31609 0.22578-0.69991 0.15804-0.38382-0.0903-0.69991-0.4064-1.1063-1.174-2.7545-1.174-1.1515 0-2.032 0.54186-0.88053 0.51929-1.3772 1.4676-0.49671 0.94827-0.49671 2.2352 0 1.2192 0.49671 2.1675 0.51929 0.94827 1.4224 1.5127 0.90311 0.54187 2.0997 0.54187 0.79022 0 1.3772-0.18062 0.6096-0.2032 1.1063-0.6096 0.36124-0.29351 0.74507-0.31609 0.38382-0.0452 0.67733 0.2032 0.38382 0.31609 0.42898 0.72249 0.04516 0.38382-0.27093 0.69991-1.6256 1.5127-4.064 1.5127z"+ id="path3626"+ style="fill:#616577;fill-opacity:1" /><path+ d="m101.78 337.01q-1.874 0-3.3415-0.79022-1.445-0.8128-2.2804-2.2126-0.8128-1.4224-0.8128-3.2512 0-1.8514 0.76764-3.2512 0.79022-1.4224 2.1675-2.2126 1.3772-0.8128 3.1609-0.8128 1.7611 0 3.0254 0.79023 1.2644 0.76764 1.9191 2.1449 0.67733 1.3547 0.67733 3.1383 0 0.42898-0.29351 0.72249-0.29351 0.27094-0.74506 0.27094h-9.0989v-1.8062h9.0311l-0.92569 0.63218q-0.0226-1.1289-0.45155-2.0094-0.42898-0.90312-1.2192-1.4224-0.79023-0.51929-1.9191-0.51929-1.2869 0-2.2126 0.56445-0.90311 0.56444-1.3772 1.5579-0.47413 0.97084-0.47413 2.2126t0.56444 2.2126q0.56444 0.97084 1.5579 1.5353 0.99342 0.56444 2.2804 0.56444 0.69991 0 1.4224-0.24835 0.74507-0.27094 1.1966-0.6096 0.33867-0.24836 0.72249-0.24836 0.4064-0.0226 0.69992 0.22578 0.38382 0.33866 0.4064 0.74507 0.0226 0.4064-0.36125 0.69991-0.76764 0.6096-1.9191 0.99342-1.1289 0.38382-2.1675 0.38382z"+ id="path3628"+ style="fill:#616577;fill-opacity:1" /><path+ d="m113.15 337.01q-1.5804 0-2.9351-0.47413-1.3321-0.49671-2.0772-1.2418-0.33867-0.36124-0.29351-0.8128 0.0677-0.47413 0.45155-0.76765 0.45156-0.36124 0.88054-0.29351 0.45155 0.0452 0.76764 0.38383 0.38383 0.42897 1.2192 0.8128 0.85796 0.36124 1.8965 0.36124 1.3095 0 1.9868-0.42898 0.69991-0.42898 0.72249-1.1063 0.0226-0.67733-0.65476-1.174-0.65476-0.49671-2.4158-0.8128-2.2804-0.45155-3.3189-1.3547-1.016-0.90312-1.016-2.2126 0-1.1515 0.67733-1.8965 0.67734-0.76765 1.7385-1.1289 1.0612-0.38383 2.2126-0.38383 1.4901 0 2.6416 0.47414 1.1515 0.47413 1.8288 1.3095 0.31609 0.36124 0.29351 0.76764-0.0226 0.38383-0.38382 0.65476-0.36125 0.24836-0.85796 0.15805-0.49671-0.0903-0.83538-0.4064-0.56444-0.54187-1.2192-0.74507-0.65475-0.2032-1.5127-0.2032-0.99342 0-1.6933 0.33866-0.67734 0.33867-0.67734 0.99343 0 0.4064 0.2032 0.74507 0.22578 0.31608 0.85796 0.58702 0.63218 0.24835 1.8514 0.49671 1.6933 0.33867 2.6642 0.85796 0.99342 0.51929 1.4224 1.2192 0.42898 0.67733 0.42898 1.5804 0 1.0386-0.56445 1.874-0.54186 0.83538-1.6256 1.3321-1.0612 0.49671-2.6642 0.49671z"+ id="path3630"+ style="fill:#616577;fill-opacity:1" /><path+ d="m126 342.2q-0.49672 0-0.83538-0.33867-0.31609-0.31609-0.31609-0.8128v-10.295q0.0226-1.7836 0.83538-3.206 0.8128-1.4224 2.2126-2.2352 1.3998-0.83538 3.1609-0.83538 1.7836 0 3.1835 0.83538 1.3998 0.8128 2.2126 2.2352 0.83538 1.4224 0.83538 3.206 0 1.7836-0.76765 3.206-0.74507 1.3998-2.0546 2.2352-1.3095 0.8128-2.9577 0.8128-1.3321 0-2.461-0.54186-1.1063-0.56445-1.8965-1.5127v6.096q0 0.49671-0.31609 0.8128-0.31609 0.33867-0.83537 0.33867zm5.0574-7.2249q1.1515 0 2.0546-0.54187 0.90311-0.56444 1.4224-1.5127 0.54187-0.97084 0.54187-2.1675 0-1.2192-0.54187-2.1675-0.51929-0.97084-1.4224-1.5127-0.90311-0.56444-2.0546-0.56444-1.1289 0-2.0546 0.56444-0.90311 0.54187-1.4224 1.5127-0.51929 0.94827-0.51929 2.1675 0 1.1966 0.51929 2.1675 0.51929 0.94827 1.4224 1.5127 0.92569 0.54187 2.0546 0.54187z"+ id="path3632"+ style="fill:#616577;fill-opacity:1" /><path+ d="m140.49 329.2q0-1.3547 0.65475-2.4158 0.67734-1.0837 1.8062-1.7159 1.1289-0.63218 2.4836-0.63218 1.3547 0 2.0094 0.45155 0.67733 0.42898 0.51929 1.0386-0.0677 0.31609-0.27093 0.49671-0.18063 0.15805-0.42898 0.2032-0.24836 0.0452-0.54187-0.0226-1.445-0.29351-2.5964-0.0452-1.1515 0.24836-1.8288 0.92569-0.65475 0.67734-0.65475 1.7159zm0.0226 7.7216q-0.54187 0-0.83538-0.27093-0.29351-0.29351-0.29351-0.85796v-10.092q0-0.54186 0.29351-0.83537 0.29351-0.29352 0.83538-0.29352 0.56444 0 0.83537 0.29352 0.29352 0.27093 0.29352 0.83537v10.092q0 0.54187-0.29352 0.83538-0.27093 0.29351-0.83537 0.29351z"+ id="path3634"+ style="fill:#616577;fill-opacity:1" /><path+ d="m153.71 337.01q-1.8288 0-3.2286-0.79022-1.3998-0.8128-2.2126-2.2126-0.79022-1.4224-0.79022-3.2512 0-1.8514 0.79022-3.2512 0.8128-1.4224 2.2126-2.2126 1.3998-0.8128 3.2286-0.8128 1.8062 0 3.206 0.8128 1.3998 0.79023 2.19 2.2126 0.8128 1.3998 0.8128 3.2512 0 1.8288-0.79023 3.2512-0.79022 1.3998-2.19 2.2126-1.3998 0.79022-3.2286 0.79022zm0-2.032q1.174 0 2.0772-0.54187 0.90311-0.54186 1.3998-1.4901 0.51929-0.94827 0.51929-2.19t-0.51929-2.19q-0.49671-0.97085-1.3998-1.5127-0.90311-0.54186-2.0772-0.54186-1.174 0-2.0772 0.54186-0.90311 0.54187-1.4224 1.5127-0.51929 0.94826-0.51929 2.19t0.51929 2.19 1.4224 1.4901q0.90312 0.54187 2.0772 0.54187z"+ id="path3636"+ style="fill:#616577;fill-opacity:1" /></g></g></g></g></svg>diff --git a/app/components/CustomLogo.tsx b/app/components/CustomLogo.tsxindex 6766be1de..8add109a9 100644--- a/app/components/CustomLogo.tsx+++ b/app/components/CustomLogo.tsx@@ -17,41 +17,26 @@*/import React, { useMemo } from 'react';-import { styled } from '@mui/material/styles';-import { useDispatch, useSelector } from 'react-redux';+import { useDispatch } from 'react-redux';import IconButton from '@mui/material/IconButton';-import Badge, { badgeClasses } from '@mui/material/Badge';+import Box from '@mui/material/Box';import Tooltip from '-/components/Tooltip';import AppConfig from '-/AppConfig';import { Pro } from '../pro';-import TextLogoIcon from '../assets/images/text-logo.svg';+import TextLogoIcon from '../assets/images/text-logo-pro.svg';import WebLogoIcon from '../assets/images/text-logo-web.svg';import LogoIcon from '../assets/images/icon100x100.svg';import versionMeta from '../version.json';import { actions } from '-/reducers/app';import { useTranslation } from 'react-i18next';--const StyledAppVersionBadge = styled(Badge)(({ theme }) => ({- [`& .${badgeClasses.badge}`]: {- top: '25%',- right: -25,- color:- theme.palette.mode === 'light'- ? theme.palette.grey[900]- : theme.palette.grey[200],- backgroundColor:- theme.palette.mode === 'light'- ? theme.palette.grey[200]- : theme.palette.grey[900],- },-}));+import { Typography } from '@mui/material';function CustomLogo() {const { t } = useTranslation();const dispatch = useDispatch();const logo = useMemo(() => {- let customLogo = Pro ? Pro.TextLogoIcon : TextLogoIcon;+ let customLogo = TextLogoIcon; //Pro ? Pro.TextLogoIcon : TextLogoIcon;if (AppConfig.isWeb) {customLogo = WebLogoIcon;}@@ -62,18 +47,15 @@ function CustomLogo() {}, []);return (- <StyledAppVersionBadge- badgeContent={'v' + versionMeta.version}- color="primary"- >+ <Box style={{ width: '100%', textAlign: 'center', marginBottom: 5 }}><Tooltip title={t('core:aboutTitle')}><IconButtononClick={() => dispatch(actions.toggleAboutDialog())}- style={{ padding: 0, paddingLeft: 5, height: 50 }}+ style={{ padding: 0, height: 30 }}><imgstyle={{- width: 40,+ width: 30,}}src={LogoIcon}alt="TagSpaces Logo"@@ -82,18 +64,25 @@ function CustomLogo() {</Tooltip><Tooltip title={t('core:aboutTitle')}><IconButton- style={{ height: 50, padding: 0, marginBottom: 15 }}+ style={{ height: 40, padding: 0 }}data-tid="aboutTagSpaces"onClick={() => dispatch(actions.toggleAboutDialog())}><img- style={{ maxHeight: 50, maxWidth: 200 }}+ style={{ maxHeight: 40, maxWidth: 200 }}src={logo}alt="TagSpaces"/></IconButton></Tooltip>- </StyledAppVersionBadge>+ <sup>+ <Typography+ style={{ display: 'inline', fontSize: 'small', marginLeft: 0 }}+ >+ {'v' + versionMeta.version}+ </Typography>+ </sup>+ </Box>);}diff --git a/app/components/HowToStart.tsx b/app/components/HowToStart.tsxindex 649d8f3bd..dc1117c30 100644--- a/app/components/HowToStart.tsx+++ b/app/components/HowToStart.tsx@@ -339,7 +339,7 @@ function HowToStart() {<Box sx={{ mb: 2 }}><div><Button- variant="contained"+ // variant="contained"onClick={handleNext}sx={{ mt: 1, mr: 1 }}>diff --git a/app/components/LocationManager.tsx b/app/components/LocationManager.tsxindex 26e24b200..c78eb21a2 100644--- a/app/components/LocationManager.tsx+++ b/app/components/LocationManager.tsx@@ -54,13 +54,6 @@ interface Props {show: boolean;}-type SubFolder = {- uuid: string;- name: string;- path: string;- children?: Array<SubFolder>;-};-function LocationManager(props: Props) {const { t } = useTranslation();const dispatch: AppDispatch = useDispatch();@@ -140,7 +133,7 @@ function LocationManager(props: Props) {style={{position: 'absolute',zIndex: 1000,- height: 'calc(100% - 180px)',+ height: 'calc(100% - 150px)',width: 310,backdropFilter: 'grayscale(1)',animation: 'hide 1ms linear 5s 1 forwards',@@ -175,6 +168,7 @@ function LocationManager(props: Props) {data-tid="locationList"style={{height: 'calc(100% - ' + reduceHeightBy + 'px)',+ width: 310,borderRadius: 5,overflowY: 'auto',}}diff --git a/app/components/MobileNavigation.tsx b/app/components/MobileNavigation.tsxindex 8b542863e..8c04fd6ac 100644--- a/app/components/MobileNavigation.tsx+++ b/app/components/MobileNavigation.tsx@@ -32,6 +32,16 @@ import TagLibraryIcon from '@mui/icons-material/LocalOfferOutlined';import RecentThingsIcon from '@mui/icons-material/BookmarksOutlined';import HelpIcon from '@mui/icons-material/HelpOutline';import OpenInNewIcon from '@mui/icons-material/OpenInNew';+import { Divider } from '@mui/material';+import {+ OpenNewWindowIcon,+ LinkIcon,+ AudioRecordIcon,+ NewFileIcon,+ NewFolderIcon,+ LocalLocationIcon,+ AddExistingFileIcon,+} from '-/components/CommonIcons';import AccountCircleIcon from '@mui/icons-material/AccountCircle';import SettingsIcon from '@mui/icons-material/Settings';import { CognitoUserInterface } from '@aws-amplify/ui-components';@@ -42,6 +52,15 @@ import ProTeaser from '-/components/ProTeaser';import TagLibrary from '-/components/TagLibrary';import LocationManager from '-/components/LocationManager';import HelpFeedbackPanel from '-/components/HelpFeedbackPanel';+import ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown';+import ClickAwayListener from '@mui/material/ClickAwayListener';+import Grow from '@mui/material/Grow';+import Paper from '@mui/material/Paper';+import Popper from '@mui/material/Popper';+import MenuItem from '@mui/material/MenuItem';+import MenuList from '@mui/material/MenuList';+import ListItemIcon from '@mui/material/ListItemIcon';+import ListItemText from '@mui/material/ListItemText';import {actions as AppActions,isLocationManagerPanelOpened,@@ -51,10 +70,10 @@ import {AppDispatch,currentUser,} from '../reducers/app';+import { BetaLabel, ProLabel } from '-/components/HelperComponents';import { actions as SettingsActions } from '-/reducers/settings';import StoredSearches from '-/components/StoredSearches';import UserDetailsPopover from '-/components/UserDetailsPopover';-import { CreateFileIcon, LocalLocationIcon } from '-/components/CommonIcons';import PlatformIO from '-/services/platform-facade';import AppConfig from '-/AppConfig';import { useTranslation } from 'react-i18next';@@ -102,10 +121,6 @@ function MobileNavigation(props: Props) {const showProTeaser = !Pro && showTeaserBanner;const { hideDrawer, width } = props;-- const toggleNewEntryDialog = () =>- dispatch(AppActions.toggleNewEntryDialog());- // const toggleLocationDialog = () => dispatch(AppActions.toggleLocationDialog());const toggleOnboardingDialog = () =>dispatch(AppActions.toggleOnboardingDialog());const toggleSettingsDialog = () =>@@ -121,6 +136,24 @@ function MobileNavigation(props: Props) {const toggleProTeaser = () => dispatch(AppActions.toggleProTeaser());const switchTheme = () => dispatch(SettingsActions.switchTheme());+ const [openedCreateMenu, setOpenCreateMenu] = React.useState(false);+ const anchorRef = React.useRef<HTMLDivElement>(null);++ const handleToggle = () => {+ setOpenCreateMenu((prevOpen) => !prevOpen);+ };++ const handleClose = (event: Event) => {+ if (+ anchorRef.current &&+ anchorRef.current.contains(event.target as HTMLElement)+ ) {+ return;+ }++ setOpenCreateMenu(false);+ };+return (<Rootstyle={{@@ -137,73 +170,175 @@ function MobileNavigation(props: Props) {height: showProTeaser ? 'calc(100% - 220px)' : 'calc(100% - 55px)',}}>- <CustomLogo />- <ButtonGroup- color="primary"- style={{- textAlign: 'center',- display: 'block',- whiteSpace: 'nowrap',- marginBottom: 10,- marginLeft: 15,- }}- >- <Tooltip title={t('core:createFileTitle')}>- <Button- data-tid="createNewFileTID"- onClick={() => {- toggleNewEntryDialog();- if (hideDrawer) {- hideDrawer();- }- }}- size="small"+ <Box>+ <CustomLogo />+ <Box style={{ width: '100%', textAlign: 'center' }}>+ <ButtonGroup+ // variant="contained"+ ref={anchorRef}+ aria-label="split button"color="primary"+ style={{+ textAlign: 'center',+ }}>- <CreateFileIcon />- <span- style={{- maxWidth: 180,- textOverflow: 'ellipsis',- overflow: 'hidden',+ <Button+ size="small"+ data-tid="createNewFileTID"+ onClick={() => {+ dispatch(AppActions.toggleNewEntryDialog());+ if (hideDrawer) {+ hideDrawer();+ }}}>- {t('core:create')}- </span>- </Button>- </Tooltip>- {!AppConfig.isCordova && (- <Tooltip title={t('core:openNewInstance')}>+ {t('core:createNewFile')}+ </Button>+<Button- data-tid="newAppWindow"- onClick={() => PlatformIO.createNewInstance()}size="small"- color="primary"+ aria-controls={+ openedCreateMenu ? 'split-button-menu' : undefined+ }+ aria-expanded={openedCreateMenu ? 'true' : undefined}+ aria-haspopup="menu"+ onClick={handleToggle}>- <OpenInNewIcon />- - <span- style={{- maxWidth: 180,- textOverflow: 'ellipsis',- overflow: 'hidden',- }}- >- {t('core:newWindow')}- </span>+ <ArrowDropDownIcon /></Button>- </Tooltip>+ </ButtonGroup>+ </Box>+ </Box>+ <Popper+ sx={{+ zIndex: 1,+ }}+ open={openedCreateMenu}+ anchorEl={anchorRef.current}+ role={undefined}+ transition+ disablePortal+ >+ {({ TransitionProps, placement }) => (+ <Grow+ {...TransitionProps}+ style={{+ transformOrigin:+ placement === 'bottom' ? 'center top' : 'center bottom',+ }}+ >+ <Paper>+ <ClickAwayListener onClickAway={handleClose}>+ <MenuList id="split-button-menu" autoFocusItem>+ {!AppConfig.isCordova && (+ <>+ <MenuItem+ key="createWindowTID"+ ata-tid="createWindowTID"+ onClick={() => {+ PlatformIO.createNewInstance();+ setOpenCreateMenu(false);+ }}+ >+ <ListItemIcon>+ <OpenNewWindowIcon />+ </ListItemIcon>+ <ListItemText+ primary={t('core:newWindow')}+ ></ListItemText>+ </MenuItem>+ <Divider />+ </>+ )}+ <MenuItem+ key="createNewTextFileTID"+ ata-tid="createNewTextFileTID"+ onClick={() => {+ dispatch(AppActions.toggleNewFileDialog());+ setOpenCreateMenu(false);+ if (hideDrawer) {+ hideDrawer();+ }+ }}+ >+ <ListItemIcon>+ <NewFileIcon />+ </ListItemIcon>+ <ListItemText primary={t('core:createTextFile')} />+ </MenuItem>+ <MenuItem+ key="createNewFolderTID"+ ata-tid="createNewFolderTID"+ onClick={() => {+ dispatch(AppActions.toggleCreateDirectoryDialog());+ setOpenCreateMenu(false);+ if (hideDrawer) {+ hideDrawer();+ }+ }}+ >+ <ListItemIcon>+ <NewFolderIcon />+ </ListItemIcon>+ <ListItemText+ primary={t('core:createNewDirectoryTitle')}+ />+ </MenuItem>+ <MenuItem+ key="createNewAudio"+ data-tid="createNewAudioTID"+ onClick={() => {+ dispatch(AppActions.toggleNewAudioDialog());+ setOpenCreateMenu(false);+ if (hideDrawer) {+ hideDrawer();+ }+ }}+ >+ <ListItemIcon>+ <AudioRecordIcon />+ </ListItemIcon>+ <ListItemText+ primary={+ <>+ {t('core:newAudioRecording')}+ {Pro ? <BetaLabel /> : <ProLabel />}+ </>+ }+ />+ </MenuItem>+ <Divider />+ <MenuItem+ key="createNewLocationTID"+ ata-tid="createNewFolderTID"+ onClick={() => {+ dispatch(AppActions.toggleLocationDialog());+ setOpenCreateMenu(false);+ if (hideDrawer) {+ hideDrawer();+ }+ }}+ >+ <ListItemIcon>+ <LocalLocationIcon />+ </ListItemIcon>+ <ListItemText primary={t('core:createLocationTitle')} />+ </MenuItem>+ </MenuList>+ </ClickAwayListener>+ </Paper>+ </Grow>)}- </ButtonGroup>+ </Popper><LocationManager- reduceHeightBy={170}+ reduceHeightBy={140}show={isLocationManagerPanelOpenedSelector}/>- {isTagLibraryPanelOpenedSelector && <TagLibrary reduceHeightBy={170} />}- {isSearchPanelOpenedSelector && <StoredSearches reduceHeightBy={170} />}+ {isTagLibraryPanelOpenedSelector && <TagLibrary reduceHeightBy={140} />}+ {isSearchPanelOpenedSelector && <StoredSearches reduceHeightBy={140} />}{isHelpFeedbackPanelOpenedSelector && (<HelpFeedbackPanel- reduceHeightBy={170}+ reduceHeightBy={150}toggleAboutDialog={toggleAboutDialog}toggleKeysDialog={toggleKeysDialog}toggleOnboardingDialog={toggleOnboardingDialog}diff --git a/app/components/StoredSearches.tsx b/app/components/StoredSearches.tsxindex 77d8fe55f..3f644c031 100644--- a/app/components/StoredSearches.tsx+++ b/app/components/StoredSearches.tsx@@ -174,6 +174,7 @@ function StoredSearches(props: Props) {paddingTop: 0,marginTop: 0,height: 'calc(100% - ' + reduceHeightBy + 'px)',+ width: 305,overflowY: 'auto',overflowX: 'hidden',}}diff --git a/app/components/TagLibrary.tsx b/app/components/TagLibrary.tsxindex c8a84b034..3a1081c9d 100644--- a/app/components/TagLibrary.tsx+++ b/app/components/TagLibrary.tsx@@ -539,6 +539,7 @@ function TagLibrary(props: Props) {marginTop: 0,borderRadius: 5,height: 'calc(100% - ' + reduceHeightBy + 'px)',+ width: 310,overflowY: 'auto',}}data-tid="tagLibraryTagGroupList"diff --git a/app/components/dialogs/NewAudioDialog.tsx b/app/components/dialogs/NewAudioDialog.tsxindex 589f8f22f..6d277dd2d 100644--- a/app/components/dialogs/NewAudioDialog.tsx+++ b/app/components/dialogs/NewAudioDialog.tsx@@ -42,11 +42,20 @@ function NewAudioDialog(props: Props) {const theme = useTheme();const fullScreen = useMediaQuery(theme.breakpoints.down('md'));++ function intOnClose(event?: any, reason?: any) {+ if (reason === 'escapeKeyDown' || reason === 'backdropClick') {+ confirm(t('confirmDialogClosing')) && onClose();+ } else {+ onClose();+ }+ }+return (<TargetPathContextProvider><Dialogopen={open}- onClose={onClose}+ onClose={intOnClose}fullScreen={fullScreen}keepMountedaria-labelledby="draggable-dialog-title"@@ -55,7 +64,12 @@ function NewAudioDialog(props: Props) {><DialogTitle style={{ cursor: 'move' }} id="draggable-dialog-title">{t('core:audioRecorder')}- <DialogCloseButton testId="closeCreateDialogTID" onClose={onClose} />+ <DialogCloseButton+ testId="closeCreateDialogTID"+ onClose={() => {+ intOnClose(undefined, 'escapeKeyDown');+ }}+ /></DialogTitle><DialogContentstyle={{@@ -66,7 +80,7 @@ function NewAudioDialog(props: Props) {}}data-tid="keyboardShortCutsDialog">- <CreateAudio onClose={onClose} />+ <CreateAudio onClose={intOnClose} /></DialogContent></Dialog></TargetPathContextProvider>diff --git a/app/locales/en/core.json b/app/locales/en/core.jsonindex 2389be803..50aa1ec25 100644--- a/app/locales/en/core.json+++ b/app/locales/en/core.json@@ -806,11 +806,13 @@"details": "Details","editDisabled": "Editing the description is disabled while editing the current file","togglePreviewSize": "Toggle file preview size",- "newAudioRecording": "New Audio Recording",+ "newAudioRecording": "Record Audio","audioRecorder": "Audio Recorder",- "startRecording": "Start recording",- "pauseRecording": "Pause recording",- "resumeRecording": "Resume recording",- "stopRecording": "Stop recording",+ "startRecording": "Start Recording",+ "pauseRecording": "Pause Recording",+ "resumeRecording": "Resume Recording",+ "stopRecording": "Stop and save recording",+ "createNewFile": "Create New File",+ "confirmDialogClosing": "Do you want to close this dialog?","-": "-"}