Anton Khorev
5da7215873
Stretch changeset links in history lists
2022-09-01 22:45:09 +03:00
Tom Hughes
5b061ef690
Move jquery.simulate to be a yarn managed asset
2020-08-06 19:19:55 +01:00
Tom Hughes
75d1893343
Fix eslint warnings
2020-02-29 17:52:55 +00:00
Tom Hughes
0f3856fd1c
Fix highlight of changesets with no bounding box
...
A changeset with no bounding box has no map layer so trying to
set it's style throws an exception which means we don't get to
the code to set the style on the list entry.
Fixes #2541
2020-02-29 17:43:19 +00:00
Tom Hughes
492a640530
Enable a few more eslint checks
2019-07-14 12:08:02 +01:00
Tom Hughes
c4c0e8105a
Enforce consistent indentation in javascript code
2019-07-14 10:52:18 +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
efd50cd529
Merge remote-tracking branch 'upstream/pull/2009'
2018-11-04 14:50:14 +00:00
J Guthrie
d5e6acaace
On hover, change border to a subtle darker orange, increase strokeWidth
2018-11-02 01:23:37 +00:00
Tom Hughes
6b194ed627
Resize change bounding boxes on a zoom change
2018-10-14 12:28:26 +01:00
Tom Hughes
091818da5d
Adjust minimum changeset bbox to 20 pixels
2018-10-11 18:52:00 +01:00
Tom Hughes
bdcc33ae7f
Improve variable naming
2018-10-11 18:51:45 +01:00
J Guthrie
31c4461766
Converted to dot notation - fixes jshint
2018-10-07 00:52:11 +01:00
J Guthrie
e976f316b7
Convert degrees min-width to pixels min-width
2018-10-07 00:33:54 +01:00
Tom Hughes
b13b63b65c
Improve formatting
2018-10-03 22:39:27 +01:00
J Guthrie
cf896fa0a7
Updated min bounds algorithm
2018-10-03 22:07:20 +01:00
J Guthrie
9bf489a0b9
Changeset boundary is enlarged if it was on a single point
2018-10-02 23:56:42 +01:00
J Guthrie
aae0d3b7b5
Changeset border turns blue on hover
2018-10-02 23:41:24 +01:00
Tom Hughes
1596713871
Fix some JSHint complaints
2015-02-23 21:45:57 +00:00
Tom Hughes
883a375d1a
Ignore clicks on history entries if the mouse has moved
...
Ignore click events on history events if the mouse moves so that
drag selection can work. Fixes #581 .
2014-03-31 11:25:40 +01:00
Aaron Lidman
a796c41881
Refine zooming and panning for note and data layers
...
Fixes #629
Fixes #643
2013-12-09 23:05:38 +00:00
John Firebaugh
bdbc1d663d
Unconditionally unbind moveend event
...
Can't rely on checking location.pathname -- inside unload,
it already contains the new path. Fortunately, checking is
unnecessary.
Fixes TypeError: Cannot call method 'split' of undefined.
2013-12-04 00:31:20 +00:00
John Firebaugh
6053ed4124
Update history feed URL with bbox parameter
...
https://lists.openstreetmap.org/pipermail/dev/2013-December/027599.html
2013-12-03 20:12:10 +00:00
Tom Hughes
77b4ff6ceb
Use jQuery Simulate to simulate click events
2013-12-03 00:29:23 +00:00
John Firebaugh
528d4a040e
Improve click behavior on changeset entries
...
On Chrome, this lets clicks with modifier keys anywhere
on the changeset entry work as expected. On other browsers,
modifier keys still only work on the link itself.
2013-12-02 16:13:58 -08:00
John Firebaugh
d95361bcb9
Support legacy bbox param on /history as well
...
Fixes #586
2013-12-02 11:38:54 -08:00
Tom Hughes
be931d0955
Restore click handler for changeset entries
...
The default click handler only handle the, not the rest of the
entry, so retore the handler but add an e.preventDefault() call
to stop the second handler running.
2013-12-02 18:49:56 +00:00
Tom Hughes
9e25f5563d
Drop click handler for changeset entries in the history sidebar
...
The default click handler in index.js handles them fine, and as this
one was not calling preventDefault both were actually firing in some
browsers, causing the changeset to be loaded twice and two history
entries to be created.
2013-12-02 10:17:53 +00:00
John Firebaugh
0dbd18e2bb
Document/clarify OSM.Router use
2013-11-25 13:10:07 -08:00
John Firebaugh
d0de36b607
Refine changeset browse behavior
...
The general history view shows changesets in the current view
and updates when you move the map. The view for an individual
user, nearby users, or friends zooms the map to the extent of
the results, and doesn't change when you move the map.
2013-11-19 12:10:14 -08:00
Aaron Lidman
5a330c7b9d
Improvements to changeset bbox styling
2013-11-18 17:29:55 -08:00
Aaron Lidman
8fe5dbb92c
Wrap bounds of changeset request, closes #72
2013-11-18 16:41:25 -08:00
John Firebaugh
853dc286b9
Add sidebar loading indicator
2013-11-12 17:01:47 -08:00
John Firebaugh
a5b784bdf7
Replace Vary header with explicit xhr=1 param
...
IE10 doesn't respect the Vary header.
2013-11-08 17:11:54 -08:00
Aaron Lidman
1ae7872ed8
Update title on pushState, closes #33
2013-11-08 16:10:08 -08:00
John Firebaugh
cdfe2ac21e
Redo mobile styles
2013-11-07 17:25:03 -08:00
Aaron Lidman
e7d200c4a6
Sidebar close reverts to 'view' state
2013-11-06 16:59:14 -08:00
Eden Halperin
821f949869
compact menu fix, changeset highlight styles
2013-11-06 15:45:57 -05:00
Aaron Lidman
8756feab8a
Consistent changeset color
2013-11-06 12:21:51 -08:00
John Firebaugh
8530e3eedb
AJAXy changeset history
2013-10-13 14:46:09 -07:00