Thomas Hervey
7fb42ac9d6
added note reporting and margin to save buttons
2018-07-13 17:09:51 -04:00
Bryan Housel
1a106f5253
Make uiViewOnOSM work for notes too, add it to note_editor footer
2018-07-13 15:55:58 -04:00
Bryan Housel
33ef9a4357
Wrap callbacks with common checks for connection id and auth failure
...
This eliminates a lot of the copy-paste code in every callback.
2018-07-13 15:14:20 -04:00
Thomas Hervey
bd1586500e
added tests for notes service
2018-07-13 15:01:43 -04:00
Bryan Housel
f783fbbec2
Merge pull request #5139 from mapillary/feat-viewer-default-size
...
Update photo viewer size for bigger screens
2018-07-13 09:53:36 -04:00
Matias Volpe
0ea0749135
Add minimum resize height/width
2018-07-13 09:16:36 -03:00
Bryan Housel
f825845b79
Can't skip seen on the userDetails call
...
This call really does need for a result to be passed to the callback
2018-07-13 00:31:04 -04:00
Bryan Housel
8a1079c3c6
Update notes on status change
2018-07-13 00:15:30 -04:00
Bryan Housel
775b47272d
Remove from inflight cache before doing anything in done
2018-07-12 23:56:03 -04:00
Bryan Housel
57da729837
Implement note save button code
2018-07-12 23:50:29 -04:00
Bryan Housel
645cc790a3
Add docs about OSM API, finish implementing postNoteUpdate
...
`postNoteUpdate` can hangle status changes and comment additions
(I named it that to be like `putChangeset`)
Also renamed `user` to `loadUser` to be consistent with other calls
2018-07-12 23:46:07 -04:00
Matias Volpe
72a19e8ad7
Update photo viewer size for bigger screens
2018-07-12 18:11:00 -03:00
Matias Volpe
b617695ad1
Remove OSM iD custom photo attribution to show MJS photo attribution
2018-07-12 17:59:56 -03:00
Bryan Housel
19560ebc90
Properly save and restore caches when entering/leaving the walkthrough
2018-07-12 15:39:04 -04:00
Matias Volpe
836517a9fe
Add ability to resize to PhotoViewer
2018-07-12 09:41:10 -03:00
Bryan Housel
fe7086f753
Add header close 'X' button, add grey hover styling
2018-07-12 02:51:49 -04:00
Bryan Housel
5e5601f555
Store the unsaved comment in the note itself
2018-07-12 02:09:24 -04:00
Bryan Housel
91add0c33e
WIP on buttons, simplify, remove some event dispatch
...
- I made the buttons work like GitHub comment-on-issue buttons
before typing: "Close Note" / "Comment" (disabled)
after typing: "Close and Comment" / "Comment" (enabled)
- I removed a bunch of the event dispatches. These are useful for sending
events to listeners/observers outside of the module. In this case I think
we can handle most of the things from within the uiNoteEditor. We can still
dispatch an 'update' event so that modeSelectNote can reselect and redraw
the note after some change happens to it.
TODO - make the buttons work / check the OSM API stuff.
2018-07-11 23:10:01 -04:00
Bryan Housel
3454753bf6
Drop more/less toggle and just use a scrollbar for long comments
2018-07-11 16:00:54 -04:00
Bryan Housel
e9e2f9ba8f
Style note header
2018-07-11 15:41:43 -04:00
Bryan Housel
f52f24b517
Add noteOptions, default to 10k note limit and 7 days closed
...
Also bump note tile zoom to z12. There just aren't that many notes,
so this reduces API calls.
2018-07-10 23:28:37 -04:00
Bryan Housel
7423d192d4
Implement multi-fetch get for users from OSM API
...
Eagerly load user details after loading notes
(re: openstreetmap/openstreetmap-website#1921 )
2018-07-10 23:02:37 -04:00
Bryan Housel
0d7c292c23
Refactor out uiNoteHeader and uiNoteComments into separate modules
...
uiNoteEditor was getting big!
2018-07-10 21:45:02 -04:00
Bryan Housel
cbd4020e33
npm run build
2018-07-10 17:45:18 -04:00
Bryan Housel
dc3e569ee4
Merge pull request #5133 from vershwal/kiosk_level
...
added level field to shop/kiosk
2018-07-10 16:18:30 -04:00
Bryan Housel
369877bcb2
Refine css for footway=crossing and other special paths
...
(closes #5126 )
2018-07-10 15:47:07 -04:00
vershwal
a1376c1192
added level field to shop/kiosk
2018-07-11 00:12:09 +05:30
Thomas Hervey
eafae6c58c
WIP: update service calls; todo: note update event handling
2018-07-10 13:50:36 -04:00
Bryan Housel
0a4d4ff36f
Simplify - "Site Type"
2018-07-10 02:10:46 -04:00
Bryan Housel
cd7cdd95e9
Add "View on Bing Maps" link, cleanup css
...
(closes #5125 )
2018-07-10 02:04:39 -04:00
Bryan Housel
696895fb98
Add forward/backward controls to Streetside viewer
...
re: #5125
There is some cleverness here to search for the best nearby bubble
instead of just relying on the next and previous sequence keys.
2018-07-10 01:10:18 -04:00
Bryan Housel
cf3fc95b06
A few changes to make it easier to render arbitrary geojson
2018-07-10 01:10:17 -04:00
James Kingdom
7605a05e51
Add "network" field to ATM preset
...
(closes #5119 )
2018-07-09 17:49:44 -04:00
James Kingdom
7acef06e53
Add "cash_in" field to ATM preset
...
(closes #5118 )
2018-07-09 17:37:13 -04:00
James Kingdom
ed9c934322
Add "site_type" to archaeological site preset
...
(closes #5124 )
2018-07-09 16:42:14 -04:00
Bryan Housel
1395e029d9
Add guard code for if Mapillary viewer could not be initialized
2018-07-09 16:17:09 -04:00
Bryan Housel
9c275d58b5
Comment out .mvt data layer for now
2018-07-09 14:36:16 -04:00
Bryan Housel
69e83099a5
Fix icon names in map_data panel
2018-07-09 14:31:20 -04:00
Bryan Housel
99e7366fc2
swap d3_fetch for d3_request (for backward compatability with IE11)
2018-07-09 14:30:51 -04:00
Bryan Housel
a52eeb9733
Fix failing tests, lint errors, merge conflicts
2018-07-09 11:17:57 -04:00
Thomas Hervey
c460c03da5
fixed typo
2018-07-09 10:11:50 -04:00
Bryan Housel
4fda478f57
Merge branch 'check' of https://github.com/vershwal/iD into vershwal-check
2018-07-09 09:32:15 -04:00
Thomas Hervey
14356cefe2
WIP: toggle note status
2018-07-08 12:50:02 -05:00
Thomas Hervey
0f49514fbb
updated: removed centering when clicking a note
2018-07-08 10:27:44 -05:00
Bryan Housel
de12396654
Fix projection so the map is where the point is
...
Also remove gj redundancy
2018-07-08 00:50:26 -04:00
Bryan Housel
ef771211b7
Merge branch 'gpxtext' of https://github.com/vershwal/iD into vershwal-gpxtext
2018-07-07 23:28:48 -04:00
Bryan Housel
fae485860a
npm run build
2018-07-07 23:27:45 -04:00
Bryan Housel
ed7c65297b
Merge pull request #5130 from tohaklim/patch-2
...
Attempt to improve entrance searchability
2018-07-07 23:22:44 -04:00
Bryan Housel
7b42743513
pacify some eslint warnings
2018-07-07 23:00:48 -04:00
Bryan Housel
3eb3eefabd
Combine Osm and Notes layers into the same ul
2018-07-07 22:54:27 -04:00