Commit graph

542 commits

Author SHA1 Message Date
2dcc5b21f5 Add debugging-featureswitch which toggles an overview of all tags 2021-03-22 01:05:01 +01:00
1a74dd460b Remove caches as they would break interactivity 2021-03-22 00:28:21 +01:00
878cb6d47d Add maxzoom capability to layers 2021-03-21 01:36:34 +01:00
f0765df5ed Add possibility to add external geojson 2021-03-21 01:32:21 +01:00
d7c1f38d26 Remove last mentions of 'overpassTags' in the layerconfig 2021-03-21 00:44:23 +01:00
747adfda85 Fix wordbreak of simpleAddUI on chrome 2021-03-18 13:45:57 +01:00
f5999e0f12 Make forcedLanguage public for the createLayouts-script 2021-03-17 14:35:40 +01:00
6d355cd90c Fix attribution style of wikimedia images 2021-03-17 14:33:22 +01:00
857e4fe114 MultiAnswer option with rendering only shows up once 2021-03-14 03:14:45 +01:00
a76d8822ff Cleanup of review-css to use tailwind 2021-03-13 19:07:38 +01:00
ad08a55517 Fix rendering of multianswers, other small bug fixes 2021-03-13 17:25:44 +01:00
558265eba9 Further fixes to clear up the fullscreen 2021-03-12 14:52:34 +01:00
482a81b40a Fix error message 2021-03-12 14:15:07 +01:00
2bb50561fe New graphs; disable optimazation 2021-03-12 13:48:49 +01:00
085d762bff Small code cleanups, documentation 2021-03-09 13:10:48 +01:00
c2d520c2e9 Small fixes 2021-03-04 13:35:03 +01:00
a91c3fde69 Removed todo's 2021-02-26 14:54:59 +01:00
a0b909e8a6 Fixes to popup handling and to broken styles 2021-02-25 02:23:26 +01:00
29a0a3ee81 Quick fixes 2021-02-24 22:01:21 +01:00
0e5b69f6cf Hide controls when needed 2021-02-21 03:51:29 +01:00
604d7863fe Add bigger zoom-in and zoom-out button, move attribution to button on small screens 2021-02-21 03:38:12 +01:00
4deb095943 Optimizing the layout for small screens 2021-02-21 01:36:31 +01:00
f4f7ae8f93 Fix bug with multianswers triggering an error 2021-02-21 00:15:03 +01:00
ae9d93138b Add ifnot-tags for multianswers, in order to indicate something is _not_ possible (e.g.: playment:coins=no) 2021-02-20 16:48:42 +01:00
dcdb5b9a22 Small tweaks to translation label 2021-02-20 03:29:55 +01:00
e2d5cefda3 Removed some obsolete lines 2021-02-20 02:39:00 +01:00
7ee3a6065c Add loading from a random URL; fixes #208 2021-02-20 02:37:47 +01:00
09599e9f15 Combine dropped the empty elements, causing them not to be able to update 2021-02-20 02:25:29 +01:00
b24290e464 Small fixes 2021-02-20 02:09:41 +01:00
416a76ae4f Stabilize personal theme, textfield now correctly appears if it is an option in the freeform too 2021-02-20 01:45:51 +01:00
79fc3f54e5 Move slick buttons to a clickable location 2021-02-15 19:06:06 +01:00
f86ce4bc17 Fix deployment 2021-02-15 17:44:19 +01:00
770c8d1dde Fixed opening of popups 2021-02-14 20:36:20 +01:00
bc1863dcb6 Fix hiding and showing of features 2021-02-14 19:45:02 +01:00
d4f107c81a Stabilizing popups part 2: loading new data doesn't close the popup anymore + fix slideshow 2021-02-06 00:05:38 +01:00
b9d5a85cd0 Merge slick carousel 2021-02-05 19:11:19 +01:00
1f4b06ae55 Some work on stabilizing the popups, WIP 2021-02-05 18:58:06 +01:00
8f8ef690a4 Performance improvements 2021-02-05 16:32:37 +01:00
1979aadb49 Add slick-carousel instead of homemade one 2021-01-29 03:23:53 +01:00
1831365597 Small code fixes, fix #198 2021-01-27 02:58:11 +01:00
1b73f0a43a Fix landscape mode 2021-01-27 02:26:57 +01:00
593ac5381a Further refactoring fullscreenelement: removal of hash handling from showDataLayer 2021-01-27 01:14:16 +01:00
e2e48344d6 Stuff more or less works 2021-01-25 04:21:22 +01:00
149e117887 Merge master 2021-01-25 03:23:00 +01:00
00f610c589 Refactoring fullscreenhandling 2021-01-25 03:12:09 +01:00
Tobias
e1daade961 Remove a few new lines and spaces 2021-01-24 22:20:54 +01:00
Tobias
4068931bba Add Tailwind button for save+cancel
- remove custom styles
- add new button styles based on Tailwind classes using @apply
- extend config to allow hover:ring-blue-200 and such
- update the js-files to use new classes

- Only unsure about the `.review-form .save-non-active`, this might need additional Tailwind helper classes in this specific situation. Don't know where it shows up, so could not test.
2021-01-24 22:20:40 +01:00
e1a4c75391 Halfway removing the fullscreenmessage 2021-01-24 18:33:16 +01:00
81f0a21076 Derping around, bit of a dead end due to transform3d in a parent 2021-01-22 01:03:50 +01:00
7f1b78198a Cleaning away fullscreenmessage 2021-01-22 00:40:15 +01:00
6c4b15e33d Add various bug fixes and improvements 2021-01-21 23:39:31 +01:00
Tobias
15a9441b1d Fix question styling (but break click action)
This fixes the styling but breaks the click action. Clicking on the text itself also triggers the action, clicking on the blank sapce next to it changes the label but does not trigger the action.

Generally speaking the style is easier to apply to an element that wraps the in put and the label-text. This could be the label-tag or a different wrapper.
2021-01-21 06:03:34 +01:00
Tobias
1b6178a66a Questions: Add border botton
First try to differentiate one question/answer from the next.
2021-01-21 05:55:52 +01:00
Tobias
743a972a50 Questions: Remove <br> Tags
Instead use block elements
2021-01-21 05:55:25 +01:00
Tobias
e1568876b8 Refactor htmlElement to Template literals
Makes it a bit easier to read.
2021-01-21 05:53:59 +01:00
Tobias
61964a801f Remove empty spaces
Default Setting by my editor. Let me know I you want to keep them.
2021-01-21 05:52:36 +01:00
Tobias
8f8e5f7636 Migrate .answer to Tailwind
- Remove custom CSS
- Add more landscape:* helper classes
2021-01-21 05:19:33 +01:00
Tobias
7a2f4fa44a Migrate featureinfobox to Tailwind
- migrate featureinfobox to Tailwind
- migrate featureinfobox-content to Tailwind
- migrate fullscreenmessage-content to Tailwind so we can delete css/fullscreenmessagebox.css

The landscape-mode is somethign that Tailwind does not support AFAIK. Instead, I migrated the one css-definition that was left over but required to a tailwind-like class name `.landscape\:max-h-screen`. Note the escaped colon with is required so css supports colon based class names.
2021-01-21 05:05:10 +01:00
Tobias
b8377630af Migrate featurebox-title (…) to Tailwind (2)
Forgot those in e3b7c7d
2021-01-20 23:02:27 +01:00
Tobias
e3b7c7ddc6 Migrate featurebox-title (…) to Tailwind 2021-01-20 23:00:11 +01:00
Tobias
d9040db12a Add label for language switcher
This is what I meant with " Optionally add translation for the lang-switcher-label". I added it inline since I dont know how the translation system works, yet. Feel free to revert this change; the label is not too importat IMO.
2021-01-20 22:24:00 +01:00
Tobias
871f512c0d Move border custom css to Tailwind Class
- migrate custom css to Tailwind class
- introduce class-parameter for `AsImageElement`
- migrate width of login button to Tailwind class
2021-01-20 21:48:47 +01:00
db91c5ead4 Fixing css styling bugs, most works correctly now 2021-01-18 19:36:19 +01:00
923b86b507 Experimenting with tailwind: splitting the index intro into a separate class; adding the logo 2021-01-18 02:51:42 +01:00
6864ba4fd6 Merge branch 'master' into add-tailwind-for-homepage 2021-01-18 01:52:37 +01:00
0fee4cae58 Fix build 2021-01-18 01:48:08 +01:00
ccc1f8eff5 Small fixes 2021-01-17 23:06:05 +01:00
Tobias
de1ac89425 Fixme comment to add the logo to the index-header 2021-01-17 21:15:14 +01:00
Tobias
4c59ea3b1e Tailwind for List of Themes
Style the list of themes with Tailwind. Add wrapper around the list of themes.

The non-linked list items are still TODO.

Also move the Streetcomplete-Note below the list and also the custom-build-Request-Line.
2021-01-17 21:14:48 +01:00
Tobias
740b54e476 Use Combine instead of VerticalCombine
This gets rid of the added SPAN-tag with ID.
2021-01-17 21:11:57 +01:00
Tobias
40b6b97521 Tailwind the Language picker
Changes the style and gives Class the ability to receive css-classes. There should also be a label-text given; something like "Change language" which is then hidden for `sr-only`.
2021-01-17 21:06:54 +01:00
Tobias
415010ba47 Reset Loading message once loaded
The message was visible on the page in situations when there was content above. This resets it at least for one situation.
2021-01-17 21:05:20 +01:00
Tobias
c2ee058682 Remove a few empty spaces and line breaks
Most it is done by my editor automatically.
2021-01-17 21:04:37 +01:00
f33fe081d0 Add caching into local storage for a faster map experience 2021-01-15 00:29:07 +01:00
092c12a449 Add overview of all themes if none are defined 2021-01-14 22:25:11 +01:00
303485df7e Add bicycle tube vending machines 2021-01-09 02:11:43 +01:00
641b59bca5 Add ornament 2021-01-09 00:03:21 +01:00
2f57010202 Fix back button; add title 2021-01-08 18:02:07 +01:00
6e77504854 Add back button on simpleAddUI 2021-01-08 16:49:42 +01:00
ddea3d2fc1 Small css tweaks, fix layer filtering 2021-01-08 14:23:12 +01:00
2a31badd3d New roaming rendering system which allows layers to push questions, badges and title-icons to all the other layers, improve bike-clean-services 2021-01-08 03:57:18 +01:00
77ffdc093a More styling tweaks 2021-01-08 02:13:44 +01:00
9a412c6b74 Workaround: popups move into zoom vertically too now on desktop 2021-01-07 20:11:07 +01:00
7dc7cc283d Add return to map button on layer panel 2021-01-07 15:19:50 +01:00
3f2608524e Last css tweaks 2021-01-07 05:10:27 +01:00
701ce3e89a Css tweaks 2021-01-07 04:50:12 +01:00
489c6fc3c0 Fix self-closing popup 2021-01-06 13:18:33 +01:00
66018cb421 Move runningFromConsole to utils 2021-01-06 02:21:50 +01:00
c359d43b15 Add standalone bicycle library theme, search now opens the popup of the found object 2021-01-06 02:09:04 +01:00
a35b80afbb Fix rendering of multianswers without explicit 'render'-field 2021-01-06 01:11:07 +01:00
52d9b2f452 Stabilizing popup behaviour 2021-01-05 16:59:12 +01:00
6557c51493 Better OH viz 2021-01-05 03:33:41 +01:00
a782266a2f Add bicycle libraries 2021-01-05 02:59:29 +01:00
85a6894c92 Use proper description in layerconfig 2021-01-05 01:30:59 +01:00
4dacfd157a Automatically cluster maps with more then 250 elements 2021-01-05 00:21:00 +01:00
46b05d7410 Performance improvement 2021-01-04 23:46:35 +01:00
5523603e70 Tweaks to popup closing behaviour 2021-01-04 23:36:02 +01:00
baf41cb79d Fixing adding multiple points 2021-01-04 22:59:11 +01:00
32bc1433b4 A new element now shows up directly on the map 2021-01-04 22:14:56 +01:00
c548c26158 Expose clustering in layoutConfig 2021-01-04 20:09:07 +01:00