Commit Graph

834 Commits

Author SHA1 Message Date
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
Bryan Housel
3e168935d1 Swap increment/decrement spin buttons when RTL 2017-08-06 22:00:30 -04:00
Bryan Housel
077ee6d4b5 refactor structure type field to use uiField 2017-08-05 23:30:34 -04:00
Bryan Housel
8a399096b2 Add options for fields, allow unwrapped fields (no label, buttons, etc) 2017-08-05 00:33:20 -04:00
Bryan Housel
76e605568e WIP: refactor bridge/tunnel layer field to use uiField 2017-08-04 17:45:47 -04:00
Bryan Housel
216a04d962 Restore code to set state=hover (not sure if actually needed)
Also, fix hover style for textarea
2017-08-03 13:32:08 -04:00
Bryan Housel
6950220ced Update the tags before rendering 2017-08-03 13:04:17 -04:00
Bryan Housel
7076bcef16 uiField now dispatches own events 2017-08-03 11:28:10 -04:00
Bryan Housel
6fe1efaf35 Some variables and formatting 2017-08-03 11:13:07 -04:00
Bryan Housel
2e278ba5ef Fix "Add Field" combo 2017-08-03 10:28:07 -04:00
Bryan Housel
1bf514b7fc Move field rendering code from preset_editor to field.js 2017-08-03 01:10:59 -04:00
Bryan Housel
f6e76665a0 Rename uiPreset -> uiPresetEditor
(consistent with raw tag editor, raw member editor, etc)
2017-08-02 17:58:43 -04:00
Bryan Housel
ce12c34efe WIP refactor field rendering code out of preset editor 2017-08-02 17:41:02 -04:00
Bryan Housel
3de93caff4 Merge branch 'master' into mandatory_names 2017-08-01 12:55:46 -04:00
Bryan Housel
fc50bed82d Change to 80px arrow key panning (this matches Leaflet default)
(closes #4207)
2017-08-01 12:03:07 -04:00
JamesKingdom
f69463b5c8 Removing blank field 2017-08-01 16:45:10 +01:00
JamesKingdom
6cbae830c2 Fix name push bug 2017-08-01 16:26:32 +01:00
JamesKingdom
bb744c018c Don't force name tags 2017-08-01 00:54:36 +01:00
Bryan Housel
f522879352 2.3.2 2017-07-24 18:47:16 -04:00
Bryan Housel
4e5ed2576a Add hidden key trap field to prevent user from tabbing out of sidebar
(closes #4159)
2017-07-24 14:01:47 -04:00
Bryan Housel
b720456ba8 Make expandable sidebar sections work with incognito mode
In other words, don't rely on context.storage() working
(re: #4159)
2017-07-24 11:36:18 -04:00
Kushan Joshi
b5ece16432 add requesting review 2017-07-24 16:18:47 +05:30
Bryan Housel
f52a356b46 Keep previous mousemove event updated while zoompanning
(closes #4155)
2017-07-22 01:00:56 -04:00
Bryan Housel
af10c60e7c Distinguish between default and special service roads
Special service roads include things like
service=parking_aisle, drive-through, alley, etc
(closes #4157)
2017-07-21 12:46:11 -04:00
Bryan Housel
3464a46df6 All imagery layers should just be owned by rendererBackground()
This moves management of the custom layer out of uiBackground()
2017-07-20 16:07:10 -04:00
Pierre GIRAUD
5b89003101 Remember the chosen custom background when set by url 2017-07-20 09:35:30 +02:00
Bryan Housel
dca1cdc440 Fix: Ctrl+Shift+B also swaps between the background like Ctrl+B
(closes #4153)
2017-07-17 15:29:13 -04:00
Bryan Housel
fbff5195e0 Append capture date instead of inserting it
Messing with DOM node order seems to break the Mapillary viewer's ability to
correctly set the user and photo links
2017-07-16 11:22:27 -04:00
Bryan Housel
ec4b00b7e1 Call selectedImage again from nodeChanged to update detections, capturedAt 2017-07-16 11:15:43 -04:00
Bryan Housel
30e5b18d6b Convert UTC to local time when displyaing Mapillary timestamp 2017-07-16 10:54:27 -04:00
Bryan Housel
346b5e9b36 Add capture date on the attribution line at bottom of Mapillary viewer
(closes #4156)
2017-07-15 03:17:47 -04:00
Bryan Housel
802d5707d6 Style detections for better visibility 2017-07-14 02:32:35 -04:00