Commit Graph

1302 Commits

Author SHA1 Message Date
Bryan Housel 7bf544c28a Don't click cycle through alternating or reversible oneway states
(closes #4970)

They are still supported as translated strings, and user can still enter these
values in the raw tag editor, but they should not toggle with clicks in the
checkbox field.  This is because novice users are confused by what they mean.
2018-04-09 10:48:21 -04:00
Bryan Housel f0d8583f74 Adjust sort weight by community type 2018-04-09 09:20:55 -04:00
Bryan Housel 514ddffd22 Add link to report missing info in the community list 2018-04-08 23:41:51 -04:00
Bryan Housel c35b4906fd Add support for translated i18n events 2018-04-08 22:23:26 -04:00
Bryan Housel cab78c2c6b Add notification badge for events, default disclosures to closed 2018-04-08 21:55:36 -04:00
Bryan Housel cd2d42799e Show events 2018-04-08 21:23:05 -04:00
Bryan Housel 8a0a5e309e Show languages 2018-04-08 08:59:49 -04:00
Bryan Housel 30d94db9a2 Precompute areas and sort communities by area ascending
Note: Currently unreliable because the polygons have inconsistent winding,
but this will be fixed in the next release of osm-community-index
2018-04-08 01:20:35 -04:00
Bryan Housel 4f855d50a4 Expand/contract extended description 2018-04-07 23:07:34 -04:00
Bryan Housel 4eaa2a98ce Fix global community resources (e.g. Reddit) 2018-04-07 22:16:50 -04:00
Bryan Housel 1c440f0db4 Remove the share links 2018-04-07 22:16:39 -04:00
Bryan Housel 775525a74e Linkify the links 2018-04-07 22:02:47 -04:00
Bryan Housel 55e55e2021 More style and language adjustments 2018-04-07 21:45:23 -04:00
Bryan Housel 8ea2c7ff9a Add community icons, add icons and descriptions to post-save screen 2018-04-07 14:51:04 -04:00
Bryan Housel 0731a120c6 Improve "View on OSM" save section 2018-04-07 12:39:03 -04:00
Bryan Housel 712b4cb19e Add communities to save screen 2018-04-06 18:51:59 -04:00
Bryan Housel 2ed2d79aef Thank the user for their contribution 2018-04-04 23:49:42 -04:00
Bryan Housel 242a01a3e1 Import osm-community-index and debug flag so we can look at it 2018-04-03 22:44:52 -04:00
Bryan Housel 5a97f54317 Fix zoom scaleExtent to allow zoom out to z2 (full map)
(closes #4959)

Also includes some code formatting and cleanup
2018-04-02 15:26:52 -04:00
Bryan Housel 7e61ef0dc1 Clearer conditional 2018-03-29 16:31:52 -04:00
Bryan Housel 4041ab48fe Only restriction along viaway can enter either at either end
(closes #4951)

Previously it would only count if the connecting node was the first one.
I guess I was only thinking about oneways only the day I wrote that code.
2018-03-29 16:19:18 -04:00
Bryan Housel 0d262e5bb5 Stricter test for whether a via way restriction matches the path
(closes #4928)
2018-03-28 23:49:08 -04:00
Bryan Housel a160c00c35 Hide Turn Restriction field on trivial junctions
(closes #4934)
2018-03-27 23:54:26 -04:00
Bryan Housel 4840fea0bc Don't autocomplete numeric values in the combobox
(closes #4935)
2018-03-27 22:15:19 -04:00
Bryan Housel 734957f283 Handle variants of 'stop' and 'platform' when identifying PTv2 members
(closes #4946)
2018-03-27 21:52:52 -04:00
Bryan Housel 08ac17f49c Split pane content into header and content, move close button 2018-03-27 18:38:39 -04:00
Bryan Housel 3bf618add8 Merge branch 'fix4599' of https://github.com/vershwal/iD into vershwal-fix4599 2018-03-26 11:19:10 -04:00
Bryan Housel df5383c1b4 Merge pull request #4908 from vershwal/icon_edit
Added pencil icon.
2018-03-23 15:40:52 -04:00
Bryan Housel aea3b6feb5 Fix reference typo introduced in c44551be7 2018-03-23 13:30:37 -04:00
Bryan Housel 1dbf273878 Remove flow
https://github.com/openstreetmap/iD/issues/3744#issuecomment-374950519
2018-03-22 16:51:53 -04:00
Bryan Housel c08d79e488 Extract tag cleaning code to utilCleanTags, add tests
(closes #4925)
2018-03-22 14:46:36 -04:00
Bryan Housel c44551be77 Don't trim spaces around semicolons in conditional: tag values
This commit also includes code formatting, and removes some lodash
2018-03-22 14:46:36 -04:00
Bryan Housel be85cd8e89 Drop support for node 4 / npm 2
(closes #4853)

This fixes several issues with dependency resolution
2018-03-19 11:59:41 -04:00
Bryan Housel 448ad5157a Merge pull request #4904 from vershwal/remove-undo-icon
Hint text for Remove and Undo button.
2018-03-18 18:58:34 -04:00
vershwal 9d9be8fd26 Added button to close Map controls. 2018-03-18 17:17:28 +05:30
vershwal 1c047f5ac8 Added pencil icon. 2018-03-17 20:22:26 +05:30
Bryan Housel efddfd271c More flow coverage of geo submodule
(re: #3744)

also:
- Move types to index and export/import them
- add return types
2018-03-17 09:29:12 -04:00
Bryan Housel 3e47ca005c Started adding Flow annotations to functions in the geo submodule
(re: #3744)
2018-03-17 01:18:05 -04:00
vershwal 142b738a30 Hint text for Remove and Undo button. 2018-03-17 01:07:56 +05:30
Bryan Housel 61c7f64077 Remember changeset source, make it settable via url param
(closes #4899)
2018-03-16 09:20:32 -04:00
Bryan Housel e66218e1ef Merge branch 'tooltip' of https://github.com/vershwal/iD into vershwal-tooltip 2018-03-15 14:30:25 -04:00
vershwal 04bc4b09f0 Added alt text for information icon. 2018-03-15 12:54:42 +05:30
Bryan Housel 4a71aa6146 Use safer field ids in classes, element ids, css selectors
Fixes issue with nested/namespaced fields, such as `maxspeed/advisory`,
in situations where would try to use a css selector or element id.
Can't use characters like '/' in a css selector.
2018-03-15 00:57:41 -04:00
Bryan Housel d2558b950d v2.7.1 2018-03-11 11:52:48 -04:00
Bryan Housel 2810f690d7 Merge pull request #4860 from jguthrie100/fix_4845
Can Esc/finish drawing an Area when cursor is in invalid position
2018-03-10 21:25:12 -05:00
Bryan Housel d4bf42b6c4 Remove code attempting to extend leaf ways
(closes #4869)

It was causing more rendering issues than it was solving
2018-03-10 17:51:17 -05:00
Bryan Housel f8bbb995ac Properly split ways which are members of a via way turn restriction
(closes #4861)
2018-03-10 15:20:20 -05:00
Bryan Housel aa1565baf8 Avoid reordering stops and platforms in PTv2 routes
(closes #4864)
2018-03-10 00:12:46 -05:00
Bryan Housel 88dea28cf7 only_ restrictions only count if they leave the FROM towards the VIA
(closes #4849)
2018-03-09 22:39:30 -05:00
J Guthrie d35494d003 Can finish drawing when cursor is in invalid position
- When drawing an Area, the leading edge is allowed to temporarily be in an invalid position (see #4655)..
    .. Finishing a drawing is disabled if doing so would close with the invalid leading edge
2018-03-08 02:53:03 +00:00