Commit graph

9033 commits

Author SHA1 Message Date
5c63fab217
Merge pull request #1465 from weblate/weblate-mapcomplete-layers
Translations update from Hosted Weblate
2023-06-19 11:31:28 +02:00
790c2767e2 Fix: pass along initial coordinates with the location input, prevents flashing of the ocean; fix #1469 2023-06-18 00:52:26 +02:00
102892ec77 Fix: direction input does not scroll anymore when dragged, fix #1468 2023-06-18 00:48:28 +02:00
92b3ee4bae
Update atm.json: increase merge range 2023-06-16 23:55:02 +02:00
2af637385a
Update atm.json: increase merge range 2023-06-16 23:54:03 +02:00
5b33d88ffb
themes: bench.json: decrease minzoom 2023-06-16 23:50:57 +02:00
Jiří Podhorecký
3d5d8e6ce3
Translated using Weblate (Czech)
Currently translated at 17.5% (498 of 2831 strings)

Translation: MapComplete/Layer translations
Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layers/cs/
2023-06-16 21:49:56 +02:00
1a2e6f49f2 Refactoring: revive statistics GUI 2023-06-15 16:31:07 +02:00
9661ade80c Chore: run prettier 2023-06-15 16:12:46 +02:00
147c3db957
Merge pull request #1464 from pietervdvn/prettier-brackets
Prettier: Fix new line setting
2023-06-15 16:12:14 +02:00
1b99be524f Usertest: add 'back to theme overview'-button on theme intro page, fix #1457 2023-06-15 16:11:36 +02:00
6d337e8775 Fix: precise location input picks correct location (and not the previous click) 2023-06-15 15:49:49 +02:00
b2a10e7af9 UX: move confirm button away from close-button 2023-06-15 14:31:17 +02:00
19ab941287
Merge pull request #1463 from pietervdvn/clsx
Introduce tailwind merge package
2023-06-15 10:33:05 +02:00
Tobias
f5bcc35bc9 Prettier: Fix new line setting
https://github.com/sveltejs/prettier-plugin-svelte#svelte-bracket-new-line states
> Deprecated since 2.5.0. Use Prettier 2.4.0 and bracketSameLine instead.

The new setting bracketSameLine=false is in line with how the pages are formatted mostly ATM, so it causes the least amount of change on save.
2023-06-15 06:04:39 +02:00
Tobias
bca6785aa8 Linter: no target attribute on button elements 2023-06-15 05:48:10 +02:00
Tobias
dfa3315e21 Linter: Use const
VS Code told me so…
2023-06-15 05:48:00 +02:00
Tobias
b55d976492 Apply twJoin, twMerge
Looking at https://github.com/dcastil/tailwind-merge/blob/v1.13.1/docs/when-and-how-to-use-it.md#how-to-use-it I placed the "winning" class at the end for twMerge
2023-06-15 05:38:52 +02:00
Tobias
9c96f6534f Add package tailwind-merge
Closes https://github.com/pietervdvn/MapComplete/issues/1461
2023-06-15 05:32:41 +02:00
Tobias
9ff70be981 ThemeButton: Make layoutToUse optional so SubtleLink is happy
SubtleLink did not provide layoutToUse. And in ThemeButton, it was guarded already ```

    if (layout.id === state?.layoutToUse?.id) {
      return undefined
    }
```
2023-06-15 05:03:52 +02:00
1e56eb5503 Usertests: add 'centermessage' again which indicates if data is loading or is present, see #1457 2023-06-15 02:42:12 +02:00
a55b84dba1 Fix: add dutch translation 2023-06-15 00:04:17 +02:00
6709a27f71 Usertests: explicitly mark the 'switch layers' button in special interactions, see #1316 2023-06-14 23:58:57 +02:00
c5c6bba731 Usertest: See #1315, add a 'confirm'-button on top of the precise-input location if the map is tapped; fix: make sure the dragInvitation doesn't consume the first map interaction, get's hidden by a change in map location 2023-06-14 23:21:19 +02:00
cc70e09e11 Themes: Add 'access=permissive' to charging stations, fixes #1255
Co-authored by: Thibault Molleman @thibaultmol
2023-06-14 22:20:39 +02:00
9e15353588 Themes: disable 'direction'-indicator for surveillance theme as it breaks selection, fix #1458 2023-06-14 20:45:25 +02:00
f0b007512b Chore: run prettier 2023-06-14 20:44:01 +02:00
6dc61ccb51
Merge pull request #1460 from pietervdvn/prettier-tailwind
Prettier: Introduce `prettier-plugin-tailwindcss`
2023-06-14 20:42:38 +02:00
d008dcb54d Chore: reformat all files with prettier 2023-06-14 20:39:36 +02:00
5757ae5dea
Merge pull request #1459 from pietervdvn/prettier
A bit of housekeeping, focus on Prettier
2023-06-14 20:38:44 +02:00
Tobias
474f71db3f Prettier: Introduce prettier-plugin-tailwindcss
Which is the official plugin that helps with auto sorting class names https://www.npmjs.com/package/prettier-plugin-tailwindcss

The config follows the recommendation from https://github.com/sveltejs/prettier-plugin-svelte#usage-with-tailwind-prettier-plugin
2023-06-14 15:55:57 +02:00
Tobias
1cf0f24d8e Prettier: Move config from cli to prettierrc file
This way they are applied globally and "on save"
2023-06-14 15:37:53 +02:00
Tobias
5a6f044055 Simplify npm run format
No `npx` required since we have prettier in our `package.json`.
2023-06-14 15:37:09 +02:00
Tobias
6e660b811b Update prettier, prettier svelte 2023-06-14 15:17:18 +02:00
Tobias
14ae7e3272 Cleanup .bg-red which does not exist anymore 2023-06-14 15:07:03 +02:00
2eabfea8af Fix: remove empty license files, fix #1135 2023-06-14 01:48:03 +02:00
239cb8f63d Refactoring: update conflate script 2023-06-14 01:06:15 +02:00
b37061fddf Chore: formatting 2023-06-14 01:03:37 +02:00
983db5e600 Usertesting: resolve some issues surfaced in #1457 2023-06-14 01:03:28 +02:00
cc20e946bb Usertest: small improvement to report 2023-06-14 00:57:31 +02:00
d465a272f2 Feature: add Americana background style, fix #1204 2023-06-14 00:47:09 +02:00
71110bb4f3
Merge pull request #1456 from weblate/weblate-mapcomplete-layers
Translations update from Hosted Weblate
2023-06-14 00:34:18 +02:00
Pieter Vander Vennet
2f63e8a840
Translated using Weblate (Catalan)
Currently translated at 59.4% (1682 of 2831 strings)

Translation: MapComplete/Layer translations
Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layers/ca/
2023-06-14 00:18:28 +02:00
Pieter Vander Vennet
05ab947f7b
Translated using Weblate (Catalan)
Currently translated at 59.4% (1682 of 2831 strings)

Translation: MapComplete/Layer translations
Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layers/ca/
2023-06-14 00:18:28 +02:00
Lucas
457ac96095
Translated using Weblate (French)
Currently translated at 60.9% (1725 of 2831 strings)

Translation: MapComplete/Layer translations
Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layers/fr/
2023-06-14 00:18:28 +02:00
kjon
4d959035dd
Translated using Weblate (German)
Currently translated at 100.0% (2831 of 2831 strings)

Translation: MapComplete/Layer translations
Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layers/de/
2023-06-14 00:18:28 +02:00
paunofu
e4067b7a98
Translated using Weblate (Catalan)
Currently translated at 59.4% (1682 of 2831 strings)

Translation: MapComplete/Layer translations
Translate-URL: https://hosted.weblate.org/projects/mapcomplete/layers/ca/
2023-06-14 00:18:28 +02:00
c795f2ee6f Usertest: add usertest, small fixes to test protocol 2023-06-14 00:18:10 +02:00
ec072f761c
Merge pull request #1455 from weblate/weblate-mapcomplete-core
Translations update from Hosted Weblate
2023-06-13 15:18:34 +02:00
Jiří Podhorecký
594482732c
Translated using Weblate (Czech)
Currently translated at 78.7% (505 of 641 strings)

Translation: MapComplete/Core
Translate-URL: https://hosted.weblate.org/projects/mapcomplete/core/cs/
2023-06-13 13:15:17 +02:00