Commit graph

660 commits

Author SHA1 Message Date
0fea2c87cd Add attribution script and some attributions 2021-04-07 01:32:39 +02:00
fbdd36b270 Small fix: restore special components 2021-04-06 21:10:18 +02:00
e1d7b256f9 Small improvement to custom theme generator 2021-04-06 20:02:41 +02:00
4d5c250f8f Add HTML rendering options to icons 2021-04-06 18:17:07 +02:00
b108f99aab Add support for smaller theme encodings 2021-04-04 03:22:56 +02:00
e47accbab1 Fix small issue: wrong format for addExtraTags in some layers 2021-03-31 15:50:29 +02:00
f1d8847aa1 Small bugfix in custom theme generator 2021-03-31 11:51:44 +02:00
4342b38e9d Formatting and small cleanups 2021-03-29 02:53:06 +02:00
15a6794e59 Move 'asChanges' into tagsFilter; add 'survey:date' option with automatic date to benches 2021-03-29 02:31:08 +02:00
bec1998a6d Fix incorrect imports due to refactoring 2021-03-29 02:04:42 +02:00
120832f241 Move tags into subdirectory 2021-03-29 00:41:53 +02:00
ad406b5550 Remove legacy: the minOverlapPercentage can now be built with a calculated tag and isShown 2021-03-26 03:24:58 +01:00
1b1ec9f15d Add switch to hide certain features, cleanup of code 2021-03-25 15:19:44 +01:00
f124d9ded7 Add custom javascript snippets to calculate tags 2021-03-24 01:25:57 +01:00
3e130ebe80 Small improvements to the custom theme generator 2021-03-23 13:51:34 +01:00
d8c1f72857 Split TagsFilter into multiple files 2021-03-22 03:05:08 +01:00
a4445eed3e Better OHViz 2021-03-22 02:34:31 +01:00
1ffad21c62 Refactoring of tagsFilters, fix conditional 'hideInAnswer' 2021-03-22 02:17:00 +01:00
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
db66689705 Add working clustering! 2021-01-04 18:55:10 +01:00
4948524f91 More cleaning up 2021-01-04 04:36:21 +01:00
778044d0fb More refactoring, stabilizing rotation and direction_gradient 2021-01-04 04:06:21 +01:00
0b57042de1 Fix the build 2021-01-03 13:50:18 +01:00
e42a668c4a More refactoring: using a decent, configurable datapipeline now 2021-01-03 03:09:52 +01:00
6ac8ec84e4 More refactoring! 2021-01-03 00:19:42 +01:00
b2c234b51d More refactoring, fix loading of personal theme 2021-01-02 23:28:14 +01:00
7a7b34b0fa Further refactoring 2021-01-02 21:03:40 +01:00
e4a2fd1daf More refactoring 2021-01-02 19:09:49 +01:00
849c61c8a1 Refactoring: attempting to make State smaller 2021-01-02 16:04:16 +01:00
a6f56acad6 Fix build 2021-01-01 01:27:14 +01:00
287470acff Fixed reviews for named elements 2020-12-31 22:41:52 +01:00
e7dcd350fe Add proper rendering for single review title 2020-12-31 21:18:44 +01:00
83472c1e26 Encode subject of mangrove reviews 2020-12-31 21:13:16 +01:00
982ba2f6d6 Add playgrounds 2020-12-31 21:09:22 +01:00
3179e59f53 Fix rendering of questions, they update now with the tags 2020-12-27 21:44:49 +01:00
Pieter Vander Vennet
21b5fbd8cd Fix loading of previously visited unofficial themes 2020-12-18 12:10:43 +01:00
Pieter Vander Vennet
a641d976fc Improvements on the climbing-theme, small tweaks in the review form 2020-12-18 01:36:45 +01:00
Pieter Vander Vennet
7ad601f2eb Remove kletterspots.de specific stuff 2020-12-14 01:14:22 +01:00
Pieter Vander Vennet
c693faea95 Merge latest master 2020-12-14 00:56:07 +01:00
Pieter Vander Vennet
a1d0607715 Small changes to support multiple hosts 2020-12-13 20:20:18 +01:00
Pieter Vander Vennet
0855f46c49 Small fixes to link, shows own reviews 2020-12-11 16:29:51 +01:00
Pieter Vander Vennet
ef70c17393 Merge master 2020-12-11 15:29:28 +01:00
Pieter Vander Vennet
a53c4119e5 Last fixes to the reviews 2020-12-11 15:27:52 +01:00
Pieter Vander Vennet
6391a3c88a Add clearer description of a bicycle pump to prevent fietsersbond-influx of adding wrong data 2020-12-09 16:45:37 +01:00
Pieter Vander Vennet
cdfffd6120 Finish the additions of reviews 2020-12-08 23:44:34 +01:00
Pieter Vander Vennet
c02406241e Styling the reviews 2020-12-07 03:31:13 +01:00
Pieter Vander Vennet
bb20c41002 First version of reviews 2020-12-07 03:02:50 +01:00
Pieter Vander Vennet
a9dfce72a6 Fix performance, add 'isClosed' badge to shops 2020-12-06 00:20:27 +01:00
Pieter Vander Vennet
efd7631837 Performance improvements, add clock 2020-12-05 03:22:17 +01:00
Pieter Vander Vennet
e98f96041a Fix composibility of badges; update of charging station theme 2020-12-02 21:23:23 +01:00
Pieter Vander Vennet
8383f482c7 More UI tweaks, fix bugs with new icon handling 2020-11-27 13:39:00 +01:00
Pieter Vander Vennet
6299c8223e Add composable icons, add icon badges and overlays, add icon badge to drinking water and cyclofix 2020-11-27 03:05:29 +01:00
Christian Neumann
218c301560 Fix custom intro. 2020-11-24 14:36:43 +01:00
Pieter Vander Vennet
dc5cd08a3a Add send email icon, add default icons series 2020-11-24 12:52:01 +01:00
Pieter Vander Vennet
488fd16873 Small bug fixes 2020-11-24 11:10:43 +01:00
Pieter Vander Vennet
4d2e8b6f24 Fix share button 2020-11-23 12:54:10 +01:00
Christian Neumann
e24e725411 Merge branch 'feature/climbing-layer' into kletterspots-develop 2020-11-23 11:58:23 +01:00
Pieter Vander Vennet
02ce4e5d7e Small workaround for share api which does not share the hash 2020-11-23 03:13:52 +01:00
Pieter Vander Vennet
4700e71d2e Add share button (supported browsers only), refactoring of fullscreenmessage, fancier scrolling 2020-11-23 02:55:18 +01:00
Pieter Vander Vennet
2d25393962 Experimenting with the ShareButton 2020-11-22 03:50:09 +01:00
Pieter Vander Vennet
e10f9b61e2 Experimenting with a share button... 2020-11-22 03:16:56 +01:00
Pieter Vander Vennet
d953dd4aa6 Merge master 2020-11-21 16:46:05 +01:00
Pieter Vander Vennet
4018e6710b Add share icon, reordering of questions and icons, add urinal to toilet 2020-11-21 16:44:48 +01:00
72a8847ac6
Merge pull request #159 from chrneumann/fix/layout-for-mobile
Fix message box layout for Firefox.
2020-11-20 14:09:27 +01:00
5c97d8bc4f
Merge pull request #158 from chrneumann/fix/badge-and-upload
Fix/badge and upload
2020-11-20 14:08:08 +01:00
Pieter Vander Vennet
cd548ab04b Add Fietsambassade logo to cyclofix; various svg- and css fixes 2020-11-20 14:00:37 +01:00
Christian Neumann
3a3ab73404 Merge branch 'fix/layout-for-mobile' into kletterspots-develop 2020-11-20 10:29:11 +01:00
Christian Neumann
d4cf677d7e Fix message box layout for Firefox. 2020-11-20 10:24:42 +01:00
Christian Neumann
4a4f246cbf Change project URLs. 2020-11-20 09:38:33 +01:00
Christian Neumann
50c52766a5 Merge branch 'feature/climbing-layer' into kletterspots-develop 2020-11-20 09:21:17 +01:00
Christian Neumann
1190052e54 Change default locale. 2020-11-20 09:12:39 +01:00
Christian Neumann
7e686cf52b Fix user badge profile link. 2020-11-18 12:50:06 +01:00
Pieter Vander Vennet
2177db376c More fancyness, less bugs 2020-11-17 16:29:51 +01:00
Pieter Vander Vennet
16612b10ef I should have commited sooner... 2020-11-17 02:22:48 +01:00
Pieter Vander Vennet
2685b6e734 Fix ways: they show up again 2020-11-16 02:33:44 +01:00
Pieter Vander Vennet
314894085a Cleaning filtered layer 2020-11-16 01:59:30 +01:00
Pieter Vander Vennet
8e5e249e6b Tweaks to icons, add direction to benches, tweak to direction input 2020-11-15 19:17:36 +01:00
Pieter Vander Vennet
c1490267e6 Change on-map home icon 2020-11-15 16:54:41 +01:00
Pieter Vander Vennet
a144cf17f4 Small tweaks 2020-11-15 16:08:17 +01:00
Christian Neumann
432ee8c34b Fix generator text. 2020-11-15 15:33:18 +01:00
Pieter Vander Vennet
e8d176cfe4 Create icons for surveillance cams 2020-11-15 14:56:20 +01:00
Pieter Vander Vennet
e2881840da Fix touch direction input 2020-11-15 14:12:31 +01:00
Pieter Vander Vennet
1bd5411071 Download logo 2020-11-15 03:22:41 +01:00
Pieter Vander Vennet
7ef2f429f2 Add fancy direction picker 2020-11-15 03:10:44 +01:00
Pieter Vander Vennet
e74b4e3804 Small fixes, perf improvements, remove duplicate images of ghost bikes, add wall mount 2020-11-15 01:16:35 +01:00
Pieter Vander Vennet
9978879536 Further theme tweaks, attempts to optimize 2020-11-15 00:27:55 +01:00
Pieter Vander Vennet
3fdb84e481 Extract variables from html, add black theme to surveillance cameras, use svgs directly in the frontend 2020-11-14 02:54:33 +01:00
Pieter Vander Vennet
ba44024dd9 Fixes, surveillance cams v0.1 2020-11-13 23:58:11 +01:00
Pieter Vander Vennet
b329bbbdb3 Merging master 2020-11-12 12:25:36 +01:00
Pieter Vander Vennet
52f53eb6b6 Disable editing when userbadge is disabled 2020-11-12 12:21:34 +01:00
Pieter Vander Vennet
5b59d7dbd0 Fixed small bugs, add documentation to query parameters, draft of surveillance cams 2020-11-12 12:18:02 +01:00
Pieter Vander Vennet
73f32e0ecf Refactored out 'layout.ts' 2020-11-11 16:23:49 +01:00
Pieter Vander Vennet
b764371cce Finish refactoring 2020-11-06 04:02:53 +01:00
Pieter Vander Vennet
dc1dde6c3d Fix build 2020-11-06 03:17:27 +01:00
Pieter Vander Vennet
3f8b6e88d3 Fix deploy 2020-11-06 01:58:26 +01:00
Pieter Vander Vennet
9c53fe9868 Fixed custom generator by fixing dependencies 2020-11-05 13:34:48 +01:00
Pieter Vander Vennet
ca858b7ed5 Generate assets as SVG 2020-11-05 12:28:02 +01:00
Pieter Vander Vennet
3502563f92 Move translations of the core app to an external json 2020-11-04 20:55:43 +01:00
Pieter Vander Vennet
f808c2a9cc Remove debug statement 2020-11-02 18:59:47 +01:00
Pieter Vander Vennet
a19f3e61f9 Fix image carousel bug 2020-11-02 18:59:21 +01:00
Pieter Vander Vennet
4f3135caef Console logging 2020-11-02 12:38:04 +01:00