Anton Khorev
52123336fd
Use Bootstrap .nav in secondary header navigation
2024-05-24 20:53:19 +03:00
Anton Khorev
d8b592ddb2
Remove bs-custom-file-input javascript plugin
2024-05-08 17:47:52 +03:00
Gregory Igelmund
f3a31e00d4
application.js: Call updateHeader when turbo:render completed
2024-03-21 14:55:16 +01:00
Gregory Igelmund
1a7b7f5d18
Enable Turbo Drive with morphing for Messages#{destroy,mark}
2024-03-21 14:55:16 +01:00
Anton Khorev
b5679e16db
Disable text wrapping while measuring header width
2023-11-17 10:27:38 +03:00
Tom Hughes
c94de1e1a3
Improve name selection with the query tool
...
Pass the full expanded list of preferred languages to the client
and use that when looking for the best name for an object.
Fixes #4310
2023-11-14 17:45:50 +00:00
Anton Khorev
342d323c04
Remove unused maximiseMap/minimiseMap functions
2023-11-13 11:13:56 +03:00
Tom Hughes
768ff8d72e
Set the tooltip on the edit tab after the locale is set
...
Fixes #3839
2022-12-14 21:48:28 +00:00
Tom Hughes
152414861c
Merge remote-tracking branch 'upstream/pull/3688'
2022-11-30 12:19:57 +00:00
Anton Khorev
809a8b3db0
Remove note from edit link when it's not a current object
2022-10-05 22:58:33 +03:00
Anton Khorev
cf3fa3bb2d
Use jquery interface for enabling/disabling tooltips
2022-09-23 13:34:40 +03:00
Anton Khorev
84c8289e06
Fix zoom level related tooltip for Edit button
2022-09-13 05:26:49 +03:00
Andy Allan
e443ec7587
Merge pull request #3634 from AntonKhorev/map-key-tooltip
...
Fix tooltips
2022-08-03 15:38:58 +01:00
Andy Allan
68776e378c
Fix remaining tooltips, and add tests
...
These were broken during the upgrade to bootstrap 5
Fixes #3632
2022-08-03 15:20:50 +01:00
Tom Hughes
e9f62a8c30
Rename piwik to matomo and merge configuration into settings
2022-08-01 22:42:04 +01:00
Tom Hughes
ed4549afab
Fix eslint warnings
2022-06-26 19:56:27 +01:00
faebebin
05d2eba921
Fix map edit controls min-zoom behaviour
...
The map dropdown and tooltip of the map edit controls should
behave similar when zooming in and out.
This is achieved by disabling the button-group and the buttons.
2022-06-19 11:10:29 +02:00
Tom Hughes
9bf0dee51a
Update path to js-cookie
2021-07-27 08:18:53 +01:00
Tom Hughes
32cc04fa5c
Switch to using js-cookie to manage cookies from javascript
2021-05-17 18:57:48 +01:00
Tom Hughes
79447e7549
Replace querystring parser with qs yarn module
2020-08-06 20:51:55 +01:00
Tom Hughes
447c05fcb8
Move jquery.cookie to be a yarn managed asset
2020-08-06 19:28:51 +01:00
Tom Hughes
4dcedf666c
Move leaflet to be a yarn managed asset
2020-08-06 19:28:51 +01:00
Tom Hughes
c24c2e481c
Merge remote-tracking branch 'upstream/pull/2667'
2020-08-05 21:50:08 +01:00
Andy Allan
e157b37ce5
Rename nav-related body classes
...
This makes it clearer that the classes are only for navigation menu
matters. Other things should be done on media queries, or ideally,
using bootstrap components like grids.
This has a side effect of removing the smaller font size from the
body when the navigation menu is in the small-nav state.
2020-07-15 11:40:02 +02:00
Andy Allan
8d2271699b
Use bootstrap_form as the formbuilder for GPX upload form
...
This also uses the recommended bs-custom-file-input javascript plugin
for the file input control.
2020-07-01 17:23:02 +02:00
Simon Legner
83bb627da6
Fix typo in comment
...
Closes #2576
2020-04-01 00:11:19 +01:00
Andy Allan
e5c33c119a
Switch to bootstrap for dropdowns and tooltips
...
Due to the javascript involved, it was more straightforward to combine
the two together. Moving to bootstrap v4 for dropdowns required some
redesign of the dropdown menu html, and the opportunity was taken to
move to using standard buttons for those menus.
2020-01-29 18:23:47 +01:00
Tom Hughes
6dd451c7ee
Stop creating a shared global querystring variable
2019-07-15 20:28:54 +01:00
Tom Hughes
c4c0e8105a
Enforce consistent indentation in javascript code
2019-07-14 10:52:18 +01:00
Tom Hughes
807750023a
Fix eslint warning
2019-07-13 17:46:23 +01:00
Tom Hughes
5bd59e1936
Enable a number of eslint style rules
2019-04-07 17:02:39 +01:00
Tom Hughes
eb7678145a
Use double quotes consistently in javascript code
2019-04-06 15:59:34 +01:00
Tom Hughes
fa0a933c24
Replace augment.js with conditional polyfills for ES5 and ES6
2019-01-30 12:11:57 +00:00
Tom Hughes
ed82d0a756
Only fetch client side translations for the current locale
2018-08-16 12:22:36 +01:00
Tom Hughes
7346c5a024
Update site to use jQuery 3
2017-11-03 20:40:48 +00:00
Tom Hughes
47d33ed98e
Defer measuring of header elements to a timeout
...
Chrome 60 and later seem to fire the "ready" callback before the DOM is
fully ready causing us to measure the wrong sizes for the header elements
so we use a 0ms timeout to defer the measurement slightly as a workaround.
Fixes #1639
2017-09-14 20:30:38 +01:00
Tom Hughes
d7b4f88d5e
Remove inline javascript from page header
2017-03-01 21:19:32 +00:00
Tom Hughes
4dceacdeba
Make switch to compact and small modes dynamic
...
The point where we need to switch between normal mode, compact mode
and small mode varies due to different string lengths in different
languages, but that can't be expressed by a media query, so use some
javascript to update as the window size changes.
Fixes #1014
2015-07-22 22:48:22 +01:00
Tom Hughes
e0706f06b1
Fix remaining JSHint issues
2015-02-24 19:45:10 +00:00
Tom Hughes
bd2e999756
Move some javascript functions out of global scope
2015-02-24 00:19:08 +00:00
Tom Hughes
1596713871
Fix some JSHint complaints
2015-02-23 21:45:57 +00:00
Tom Hughes
5e5c6b3a29
Add support for remote edit over https on port 8112
2014-04-01 19:17:15 +01:00
Tom Hughes
1f22b625a0
Move cookieContent to OSM.locationCookie
2014-02-28 00:10:55 +00:00
Tom Hughes
66039dedb0
Move zoomPrecision function to the OSM namespace
2014-02-27 18:15:54 +00:00
John Firebaugh
41b1bd4a70
Fix updateLinks({lat: 0, lon: 0}, ...)
...
Fixes openstreetmap/iD#2130
2014-02-18 17:20:52 -08:00
Tom Hughes
ee3e5d56d2
Remove https load test
2014-02-11 08:23:55 +00:00
Tom Hughes
ef448ea494
Boost https tile traffic to 20%
2014-02-05 19:43:44 +00:00
Tom Hughes
6b843cc158
Send 5% of users tiles over https as a test
2014-02-05 18:38:36 +00:00
Tom Hughes
66aac9ca87
Pass details of any selected object to remote editors
2013-12-06 00:19:35 +00:00
John Firebaugh
21407ede7e
Ensure object parameter is removed from edit link when closing sidebar
...
Refs #620
2013-12-05 19:38:34 +00:00