Commit graph

675 commits

Author SHA1 Message Date
106d9927aa Fixed the personal layer 2021-06-19 19:16:20 +02:00
bf7e6376c0 Styling tweaks, better metadata handling at data upload 2021-06-19 18:28:30 +02:00
87bf376b2e Link to legacy custom theme generator 2021-06-18 16:19:07 +02:00
c41690aab3 Formatting 2021-06-18 14:30:49 +02:00
55f03c3de7 Use a dropdown if there are a lot of options to choose from in tagrenderingquestion 2021-06-18 01:50:03 +02:00
1609c63f3b Refactoring of Attribute Images, fix more or less decent slideshow. Turns out a few lines of css can get us there! 2021-06-18 01:25:13 +02:00
7b52dee320 Small fixes to the Slideshow 2021-06-17 13:17:16 +02:00
d443c7ecb0 Fix unofficial theme display 2021-06-17 00:54:06 +02:00
9a73ae4c47 More fixes 2021-06-16 21:23:03 +02:00
910970e4a4 Fix input elements 2021-06-16 17:09:32 +02:00
48f66bd17e Last fixes to the OH picker 2021-06-16 16:39:48 +02:00
64ec06bfc8 Fix opening hours input element 2021-06-16 14:23:53 +02:00
94f9a0de56 More fixes to the refactored code 2021-06-15 16:18:58 +02:00
42d13f564c Fix sharebutton 2021-06-15 01:24:04 +02:00
afbe765ce9 Add table, fix preferences view 2021-06-15 00:55:12 +02:00
8e72b70742 Fix deployment, fix documentation generation, add a small markdown generator 2021-06-15 00:28:59 +02:00
e480c97676 Fixed part of the special renderings 2021-06-14 19:21:33 +02:00
eec762b71f More small fixes to the refactoring 2021-06-14 17:42:26 +02:00
8ad9b816ac Fix popups and core functionality 2021-06-14 17:28:11 +02:00
9cc721abad More refactoring and fixes 2021-06-14 02:39:23 +02:00
d7004cd3dc Merge master 2021-06-13 15:15:13 +02:00
49c821268e Further fixing the refactoring 2021-06-13 15:04:55 +02:00
3943100e54 More refactoring, stuff kindoff works 2021-06-12 02:58:32 +02:00
62f471df1e More refactoring, still very broken 2021-06-11 22:51:45 +02:00
d5d90afc74 Further butchering the UI framework 2021-06-10 14:05:26 +02:00
6415e195d1 Butchering the UI framework 2021-06-10 01:36:20 +02:00
9a13df9130 Fix warning 2021-06-08 18:54:29 +02:00
f86e8ea191 Small fix: themes still load if no description is given 2021-06-01 21:24:35 +02:00
01bf69a678 Add grid overview to index page 2021-05-30 00:17:31 +02:00
00fb194dc2 Only show the top ten contributors 2021-05-30 00:15:46 +02:00
f837d60756 Fixes to contribution panel 2021-05-27 18:56:02 +02:00
1900140dd5 Actually shorten list of contributors 2021-05-19 23:29:23 +02:00
caba824a54 Add contributors to attribution panel 2021-05-19 19:39:55 +02:00
bf9fc67471 Add bottom margin 2021-05-18 01:05:43 +02:00
e555a19d30 Adding a 'showAllQuestions'-flag' 2021-05-17 00:18:21 +02:00
8774b887d8 Add colour input, add inputmode-hints to have specialized keyboards on mobile 2021-05-11 02:39:51 +02:00
1f0b20f5d4 Enable context actions on input fields, partly fix of #204 2021-05-11 00:40:16 +02:00
6ac8a5373c Better handling of metatags, more robust error handling when calculating tags 2021-05-10 23:51:03 +02:00
69363fbf0f Small rename of variable 2021-05-10 23:50:05 +02:00
03f3045a82 Small usability improvement: don't add the trailing '/' to URLs if they weren't typed 2021-05-10 23:49:46 +02:00
223fada5b3 Add small display of OSM-contributors who added data previously 2021-05-10 23:48:00 +02:00
2a9faad288 Add explicit .html to links as not to break other deployments 2021-05-10 16:03:40 +02:00
292bad5df7 Stabilize popup 2021-05-07 01:43:32 +02:00
a0c1bc2137 OsmObjects can now be used as featureSource, load selected object immediately, zoom to selected object on open; fix #191 2021-05-06 01:33:09 +02:00
b441e6e8a5 Fixed some typos, fixed legacy loading in non-legacy settings, also show attribution when layer control is disabled 2021-05-03 16:04:35 +02:00
3e3da25edb Small fixes 2021-04-23 17:22:01 +02:00
86dd93c593 Add mapillary button in the attribution 2021-04-23 12:56:33 +02:00
6234d26bac Remove ornaments 2021-04-23 12:54:26 +02:00
475cdae19f Do not show layer selection if the layer name is undefined or empty string 2021-04-21 17:43:04 +02:00
1bc2187802 Merge master 2021-04-21 02:06:45 +02:00
095c5d1f1b Fix rotation selection on chrome, partial fix of #248 2021-04-21 01:55:15 +02:00
95f1bdd797 Small refactoring, add 'last edit by'-rendering 2021-04-21 01:26:36 +02:00
62f0ae42e0 Add detection of invalid numbers in opening hours input element 2021-04-18 14:37:16 +02:00
12afdcab75 Add better relation support 2021-04-18 14:24:30 +02:00
7b47af8978 Add license info, fix non-updating values after reopening popups 2021-04-17 23:36:46 +02:00
507d780f0b Fix #244 2021-04-17 12:25:33 +02:00
f177a3bad3 Various styling tweaks, fix #243 2021-04-12 13:05:30 +02:00
666a3039fe Improvements to GRB theme 2021-04-11 19:21:41 +02:00
2ad72ae346 Merge develop 2021-04-10 16:12:40 +02:00
e59900d906 Small fix 2021-04-10 03:53:48 +02:00
4766f8bbde More validation and fixes 2021-04-10 03:50:44 +02:00
d072552043 Small tweaks to attribution panel 2021-04-09 17:56:13 +02:00
3e75921754 Better handling of image detection when running from ts-node; add some tests 2021-04-09 13:59:49 +02:00
12d99e0323 Visualize attribution in the attribution panel 2021-04-09 02:57:06 +02:00
8e15f8488a Reset the add point dialog when the popup is closed 2021-04-08 22:32:15 +02:00
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