Commit Graph

198 Commits

Author SHA1 Message Date
Bryan Housel
1a8cfcc8b1 Changeset refactor
(closes #2633)

* move osmChangeJXON from osm service to osmChangeset
* cleanup putChangeset for code clarity
* adjust params for callbacks (pass changeset around instead of changeset_id)
* add commit.reset() to reset changeset object after successful save
* improve checks for changeset tags (trim whitespace, etc)
2017-03-15 11:03:43 -04:00
Bryan Housel
4d207471ff Allow raw tag editor to have readonly tags 2017-03-14 12:17:52 -04:00
Bryan Housel
97f699d37d Better updates between comment box and changeset tags 2017-03-13 21:45:44 -04:00
Bryan Housel
16df2f595f Change raw tag editor to embed it on commit pane 2017-03-13 17:32:50 -04:00
Bryan Housel
2b50d96f38 Remove unused variable - eslint warning 2017-03-10 22:48:21 -05:00
Bryan Housel
52d37d999b Style vertices in the preset list with circular frame
(closes #3569)
2017-03-08 16:46:30 -05:00
Bryan Housel
0511c5e968 Add poi icons for power, mast 2017-03-04 08:07:13 -05:00
Bryan Housel
b1b47760ac Adjust reverser button styling, make it work on tag change 2017-03-03 17:00:24 -05:00
Bryan Housel
74155a9286 Add reverser button to onewayCheck field 2017-03-03 11:58:02 -05:00
Bryan Housel
6a85e5483c Standard camel case for defaultCheck field (not used anywhere) 2017-03-03 10:28:40 -05:00
Bryan Housel
cd23d76875 Don't debounce combo placeholder lookups
(closes #3874)
2017-03-02 21:41:57 -05:00
Bryan Housel
a2a121a57d Add "What's new in iD" notification on new versions
(closes #1856)
2017-03-02 15:51:08 -05:00
Bryan Housel
9ce06549e1 Add new poi icons, make them work on point, vertex, area label
(closes #3856)
2017-02-26 23:28:29 -05:00
Bryan Housel
2c11b693b8 Merge branch 'edit_menu' 2017-02-25 15:29:01 -05:00
Bryan Housel
6ef85c4343 Fix RTL for scale bar 2017-02-22 22:16:50 -05:00
Bryan Housel
dc2318ab63 Add mention of the right-click menu in the walkthrough 2017-02-22 17:31:08 -05:00
Bryan Housel
f7c3de9545 Preserve backward compability with radial menu
Old menu behavior can be restored with 2 cookies:
- `edit-menu-style=radial` - Display menu as a radial menu, limited to 8 items
- `edit-menu-show-always=1` - Show menu on all clicks, not just contextmenu/right
2017-02-22 16:50:42 -05:00
Bryan Housel
e756520bd8 suppressMenu(true) is now the default 2017-02-21 15:47:22 -05:00
Bryan Housel
d8237fa3eb Variable names, fix edge avoidance, tooltips placement, RTL 2017-02-18 15:42:54 -05:00
Bryan Housel
9d660076ca Add title to editmenu tooltip 2017-02-17 15:47:41 -05:00
Bryan Housel
3908da03cf Fix styling of flash and footer and use absolutely positioned divs
Also fix flash tests
2017-02-17 00:23:24 -05:00
Bryan Housel
150b9fb7dc WIP: move flash to footer area, transition in/out
Also took this opportunity to use flexbox for the footer layout
2017-02-16 17:13:22 -05:00
Bryan Housel
3fc36b66a9 Let D3 handle the delay rather than using setTimeout
This also fixes a race condition where it was possible to lose a flash
message that was created while the previous one was transitioning away.
2017-02-16 10:19:07 -05:00
Bryan Housel
b7a81c6bec Allow customizable flash showDuration and fadeDuration 2017-02-15 22:28:35 -05:00
Bryan Housel
2314acfec7 Add utilNoAuto to remove autocorrect/spellcheck features from inputs
(closes #3839)
2017-02-14 17:19:24 -05:00
Bryan Housel
3408ef1282 Bump sexagesimal dependency to 1.0.0 2017-02-13 11:56:33 -05:00
Bryan Housel
c18cc7577d Add flash test, avoid using sinon.useFakeTimers in tests.
sinon.useFakeTimers mocks setInterval, setTimeout, etc,
but not requestAnimationFrame, which d3 transitions rely on.
2017-02-11 00:19:49 -05:00
Bryan Housel
5aa519affb Flash style adjustments 2017-02-10 21:50:31 -05:00
Bryan Housel
c5383c1f55 Darker unintrusive flash.. WIP flash operations on keypress 2017-02-10 16:39:08 -05:00
Kushan Joshi
ca25a34987 semver compliance for edit_menu 2017-02-09 13:03:12 +05:30
Kushan Joshi
734f40c2a8 fix tooltip overflow 2017-02-09 12:53:10 +05:30
Kushan Joshi
11d7cc7b34 white theme for edit_menu.js 2017-02-09 12:53:10 +05:30
Kushan Joshi
5b92b90ced Add context menu 2017-02-09 12:53:10 +05:30
Bryan Housel
ff1b16c769 Improve tests for line joins in walkthrough
(closes #3695)
2017-02-02 21:50:57 -05:00
Bryan Housel
8d191cd34a More careful address div selection to avoid data binding combobox caret
(closes #3715)
2017-01-31 15:10:20 -05:00
Bryan Housel
bd069786bb Add ellipsis to category names 2017-01-30 13:12:09 -05:00
Bryan Housel
efa424bd7a Cleanup icons and fix RTL for preset categories 2017-01-30 13:04:31 -05:00
Bryan Housel
c9f8b3d386 Cleanup icons and fix RTL for Help pane navigation 2017-01-30 09:51:31 -05:00
Bryan Housel
b9b7ef9748 Suppress menu when selecting entity from member/membership editor 2017-01-29 21:27:39 -05:00
Bryan Housel
71141550a1 Show change count by save button after switching language 2017-01-27 14:53:21 -05:00
Bryan Housel
348b355e37 Refresh icons, Add save icon, navigation icons
(closes #3777)
2017-01-26 00:01:52 -05:00
Bryan Housel
6b62f40eb6 Improve save flow
(see #3777)

* When entering Save mode, map content transitions inactive: appears grayscale
and dims slightly so colorblind users perceive a change. The sidebar controls
still let the user review their edits, or return to editing to address any
warnings.
* Adjusted the language a little bit "Save" -> "Upload" to make it clear that
an Upload needs to happen. No more 2 Save buttons.
2017-01-24 12:21:05 -05:00
Bryan Housel
e4587a2259 Merge enter into update selection for view_on_osm link
(closes #3778)
2017-01-23 15:22:55 -05:00
Bryan Housel
8205a3e55e Merge pull request #3764 from openstreetmap/quick-translate
Change translation on the fly
2017-01-21 22:01:55 -05:00
Bryan Housel
2a39a25b32 Map div needs to remain ltr 2017-01-21 21:55:47 -05:00
Bryan Housel
5cfe5598e0 Use 'pt' wiki pages in 'pt-BR' iD localization
(closes #3776)
2017-01-20 16:31:59 +05:30
Bryan Housel
a0045916d6 Remove test code, window.restart is now context.ui().restart 2017-01-20 14:26:42 +05:30
Bryan Housel
513382f835 Only show splash and history restore prompts the first time 2017-01-19 19:09:33 +05:30
Bryan Housel
1a5f155e39 Fix zoom behavior bind in map, delay removals to avoid flicker 2017-01-18 23:44:03 +05:30
Bryan Housel
a87227fe60 Merge branch 'master' into quick-translate 2017-01-17 18:39:49 +05:30