Commit Graph

865 Commits

Author SHA1 Message Date
Bryan Housel
1392761093 v2.4.1 2017-08-26 16:05:58 -04:00
Bryan Housel
f034092b44 Write post-save count, not pre-save count to the changesets_count tag
(closes #4283)
2017-08-26 15:46:56 -04:00
Bryan Housel
9ec618afa9 2.4.0 2017-08-25 16:15:17 -04:00
Bryan Housel
b7d98b94fb loadEntity loadEntityVersion and loadMultiple all should ignore entityCache 2017-08-24 21:00:39 -04:00
Bryan Housel
cd05c51432 loadEntity can use entityCache, but loadEntityVersion should not 2017-08-24 15:02:12 -04:00
Bryan Housel
cabc98649f Clear entity id cache on reset() 2017-08-24 13:10:51 -04:00
Bryan Housel
bcfcfdea35 Merge branch 'master' into performance 2017-08-24 12:06:36 -04:00
Kushan Joshi
b356bb855f remove arrow functions :{ 2017-08-24 17:25:59 +05:30
Kushan Joshi
909b72a39e cleaning up 2017-08-24 17:03:04 +05:30
Kushan Joshi
91a569985d playing with map render 2017-08-24 17:02:49 +05:30
Kushan Joshi
82686b10a5 Add requestIdleCallback 2017-08-22 17:38:42 +05:30
Kushan Joshi
442f0831b1 add enitity cache 2017-08-21 15:56:50 +05:30
Bryan Housel
d667ee6e89 Clear history immediately when switching sources 2017-08-20 12:14:38 -04:00
Bryan Housel
8ed2d18474 Apply imagary offset to projection before tiling background layer
(closes #4232)
2017-08-18 22:53:11 -04:00
Bryan Housel
5ffa8f535e Relax the availability rules for rotation and reflection operations
(closes #4237)

New rules:
- Rotation available if at least 2 unique nodes in selectedIDs
- Reflection available if at least 3 unique nodes in selectedIDs
2017-08-17 14:32:32 -04:00
Bryan Housel
121a1fa629 Avoid making an empty hashtags tag 2017-08-17 12:06:16 -04:00
Bryan Housel
2bf7a5e08b Write changeset tags for new mappers to indicate walkthrough progress
These tags all start with `ideditor:`
(closes #3968)

```
ideditor:walkthrough_completed=yes
ideditor:walkthrough_progress=welcome;navigation;point;area;line;building;startEditing
ideditor:walkthrough_started=yes
```
2017-08-16 20:10:01 -04:00
Bryan Housel
ea298b0b18 Change raw tag editor readOnlyTags to accept array of regex 2017-08-16 19:54:53 -04:00
Bryan Housel
25d8a8aa08 Store changesets_count in a changeset tag
(it will say "0" for someone making their first edit)
2017-08-16 16:31:21 -04:00
Bryan Housel
8cb04a087c Track walkthrough progress in localStorage 2017-08-16 14:30:21 -04:00
Bryan Housel
a42aa789e9 Add hashtags API parameter and localStorage
(closes #2834)
2017-08-16 10:47:17 -04:00
Bryan Housel
4cf357f61a Add code to extract hashtags from changeset comment 2017-08-16 00:30:34 -04:00
Bryan Housel
746b54f3d2 Make combo field work without an entity 2017-08-15 15:34:34 -04:00
Bryan Housel
e9909717c7 Change source field to semiCombo, let users pick common source types 2017-08-15 15:15:39 -04:00
Bryan Housel
c56dc5afc3 In save mode, escape should cancel and return to browse mode
(closes #4230)
2017-08-15 14:32:16 -04:00
Bryan Housel
09a661c718 Restore "good changeset comments" link in tag-reference section
Also includes a bunch of css cleanups for the tag-reference section
to fix style for readonly raw-tag-editor rows and adjust margin widths
2017-08-15 13:12:57 -04:00
Bryan Housel
7563f3ac16 Refactor duplicate form-field code to uiFormFields 2017-08-15 09:35:57 -04:00
Bryan Housel
ba3f823141 Split out commitWarnings and commitChanges sections into smaller modules 2017-08-15 01:50:52 -04:00
Bryan Housel
d7a07208e1 Restore saving comment to localstorage 2017-08-14 23:14:05 -04:00
Bryan Housel
194b56c0f0 Restore the comment google warning 2017-08-14 22:59:15 -04:00
Bryan Housel
e6eff907a2 Restore the previous changeset dropdown 2017-08-14 12:46:10 -04:00
Bryan Housel
4971a20409 Pacify eslint 2017-08-13 23:42:06 -04:00
Bryan Housel
9b37ac7b6c Fix errors with changeset fields and warnings, improve styles 2017-08-13 23:25:37 -04:00
Bryan Housel
78e874d6c4 Allow fields to work w/o entity, add options to disable buttons 2017-08-13 23:24:09 -04:00
Bryan Housel
fba6871e5c WIP: persist uiRawTagEditor, uiChangesetEditor between renders 2017-08-13 12:08:49 -04:00
Bryan Housel
e0266da083 WIP: add changeset fields and refactor 2017-08-12 14:26:34 -04:00
Bryan Housel
439eed4b39 WIP: refactor uiCommit into sections, introduce uiChangesetEditor
uiCommit is getting kind of big as we add more to the commit pane.

I'm going to split it up and put the field rendering code into a separate
module, similar to how uiEntityEditor embeds uiPresetEditor for the fields.

This allows us to add a few more fields that users can set on their changesets
(like hashtags, source), and even hide them under a "Add field" dropdown.
2017-08-11 17:17:46 -04:00
Bryan Housel
59e6642796 Pacify eslint 2017-08-11 15:07:42 -04:00
Bryan Housel
b172b4602b Move review_requested back to the buttons.. Make it work on tag changes 2017-08-11 01:12:42 -04:00
Bryan Housel
1a9614bb9d Adjust styles 2017-08-10 22:59:39 -04:00
Bryan Housel
9bba0ed57e Move request review up next to comment 2017-08-10 22:04:44 -04:00
Bryan Housel
03c8e07cb1 Remove the link to the osm wiki changeset page
(doesn't really add anything and not written for newbies)
2017-08-10 15:13:27 -04:00
Bryan Housel
e22c379094 Merge branch 'master' into request_review 2017-08-10 11:40:19 -04:00
Bryan Housel
4904b7a253 Recognize more kinds of concrete surface as "paved" 2017-08-10 11:11:54 -04:00
Bryan Housel
99a3741b0c Better isolation of services, to avoid hitting network during test runs
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
   (e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
Bryan Housel
881f979d46 Return to browse mode when zooming out beyond edit limit
(closes #4184)
2017-08-08 18:14:23 -04:00
Bryan Housel
163323d3df Make sure bool url params actually contain value 'true'
(closes #4222)
2017-08-08 09:51:57 -04:00
Bryan Housel
d0fcae1b15 When drawing, ignore accidental clicks on mode buttons
(closes #4042)
2017-08-07 00:24:16 -04:00
Bryan Housel
8de3429f2b Fix misspelling 2017-08-06 23:59:16 -04:00
Bryan Housel
10659505e2 Add code to treat a few special tags as areas instead of lines
even in the absense of a proper `area=yes` or `areaKeys` tag.
(closes #4194)
2017-08-06 23:39:58 -04:00