Commit Graph

49 Commits

Author SHA1 Message Date
Bryan Housel 0759f17e87 Don't clean fields (trim whitespace) on every input event
Fields only really need to be fully cleaned when the user leaves the field (onChange, onBlur)
(closes #3045)
2016-04-08 23:32:57 -04:00
Bryan Housel e1cde03a95 Only set coalesceChanges flag when a real tag change has happened
(closes #3035)
2016-03-14 20:55:53 -04:00
Martin Raifer 1c9e7ff1dd drop overly agressive email address character cleanup
email addresses may contain UTF-8 characters in both the local
part and/or domain part (see RFC 6531, RFC 6532, IDN).

refs #2323, #2892
2016-01-24 17:31:58 +01:00
Kushan Joshi 5b9908d2f6 Removal of faulty regex
In ref to
https://github.com/openstreetmap/iD/issues/2892
2016-01-23 23:57:20 +05:30
Bryan Housel e2f7111f81 Compare graphs instead of using expensive iD.Difference calls 2016-01-10 23:22:45 -05:00
Bryan Housel 83ce993157 Add back button for feature type reselection (closes #2453) 2015-12-16 22:11:31 -05:00
Bryan Housel 2bbe968045 Enable save as soon as user starts typing (closes #2342) 2015-12-16 20:50:49 -05:00
Bryan Housel 000b4a8819 Change feature editor close X to check mark (closes #2384) 2015-12-14 20:36:08 -05:00
Bryan Housel 3853c0d993 Fix the rest of the icons (leave walkthrough graphics alone for now) 2015-11-02 20:46:08 -05:00
Bryan Housel 6e27b55061 Don't clean description/note/fixme values (closes #2659) 2015-05-26 11:18:09 -04:00
Bryan Housel 51dfbb18cf Only urlencode tag values that start with http (closes #2657) 2015-05-26 09:57:46 -04:00
Bryan Housel 420647f503 Remove LRM character, etc from websites and emails (closes #2323) 2015-04-22 11:57:50 -04:00
Bryan Housel 0313064e22 Use '; ' seperator for opening_hours-like tags (closes #2301) 2015-04-22 09:52:49 -04:00
Sajjad Anwar dab742a501 Make taginfo configurable and default to disabling taginfo related features 2014-10-24 16:26:37 -07:00
Bryan Housel 89ac5f41db Merge pull request #2235 from bhousel/bhousel-fields
Allow checkbox fields to support custom strings
2014-05-23 22:16:14 -04:00
Bryan Housel 40810dab04 Correctly trim whitespace in semicolon-separated multivalues #2236 2014-05-23 15:06:10 -04:00
John Firebaugh 15fb547bcc Let preset editor preserve field state
The turn restrictions field wants to have selected state.
2014-05-18 16:02:47 -07:00
Minh Nguyễn 77c7091cf2 Show relation documentation for relation presets
See http://taginfo.openstreetmap.org/taginfo/apidoc#api_4_relation_wiki_pages

Fixes #1862.
2013-09-30 10:35:00 -07:00
John Firebaugh ef03a45d48 Don't update entity editor when it's hidden 2013-08-09 14:42:16 -07:00
Saman Bemel-Benrud 7c5cb5b3f1 more dramatic different between hover and active edit feature pane 2013-07-25 15:13:16 -07:00
John Firebaugh 882b134f46 Reference button 2013-06-20 16:14:08 -07:00
John Firebaugh c84d932c01 Tooltip 2013-06-20 15:56:34 -07:00
John Firebaugh b277b0da7e Update preset name 2013-06-20 15:39:10 -07:00
Saman Bemel-Benrud 7b46ccbb65 minor refinements. 2013-06-20 17:55:54 -04:00
Saman Bemel-Benrud d4582e03bf fix translation. 2013-06-20 17:52:50 -04:00
John Firebaugh 840c08f672 Remove unnecessary grid classes
These instances are mostly or entirely overridden by more
specific rules.
2013-06-04 18:03:25 -07:00
John Firebaugh d5910dc97d Hide tag reference in hover state (fixes #1561) 2013-06-03 11:10:49 -07:00
John Firebaugh e98b489041 Remove unused 2013-05-31 14:31:23 -07:00
John Firebaugh 9874e417eb Fix "View on OSM" in sidebar footer
Fixes #1473.
2013-05-29 20:24:37 -07:00
Saman Bemel-Benrud 52aa970296 click preset icon to return to preset grid. 2013-05-29 15:40:12 -04:00
Saman Bemel-Benrud 2959a7f749 style fixes. 2013-05-28 23:44:20 -04:00
John Firebaugh f9f72be9c8 Extract iD.actions.ChangePreset 2013-05-28 17:41:26 -07:00
John Firebaugh 1069382353 Obvious editor is obvious 2013-05-28 15:14:07 -07:00
Saman Bemel-Benrud 92b63bb323 Merge branch 'sidebar' 2013-05-28 18:00:59 -04:00
Saman Bemel-Benrud c3091a86ca design cleanup. 2013-05-28 18:00:24 -04:00
John Firebaugh d1643d4b64 Trying to fix tab behavior in last raw tag field 2013-05-28 14:46:25 -07:00
Saman Bemel-Benrud 5d61626a37 working on hover styles. 2013-05-28 15:59:08 -04:00
John Firebaugh 5d4727bd95 Transitions 2013-05-27 08:18:27 -07:00
John Firebaugh c5e275cea5 Don't show "Editing" on hover 2013-05-26 21:38:29 -07:00
John Firebaugh d6211b35b6 Rationalize CSS classes 2013-05-26 14:30:41 -07:00
John Firebaugh 46f41fa4f4 Use undefined value to remove a key rather than empty string
Otherwise it is impossible to tab out of the key input of a
new tag row -- since the value is still empty, the tag is
removed before you have a chance to enter a value.
2013-05-26 13:36:22 -07:00
John Firebaugh 79737d2cd0 Work toward making inspector persistent 2013-05-26 13:36:21 -07:00
John Firebaugh d846e8e3f8 Use accessors
Not a mix of constructor arguments and bound datum.
2013-05-24 17:24:35 -07:00
John Firebaugh 6b73f56f91 Remove accept behavior from preset forms
Doesn't really make sense with persistent sidebar.
2013-05-23 16:22:25 -07:00
John Firebaugh 19638acd14 Push close event handling down 2013-05-23 16:05:07 -07:00
John Firebaugh 76eb0fca85 Extract iD.ui.ViewOnOSM 2013-05-23 14:59:38 -07:00
John Firebaugh 9c86e2a86c Display relation members and memberships in inspector
* Preset icon of relation/member
* Preset name of relation/member
* Name of relation/member
* Role
* Delete button

All currently unstyled.
2013-05-22 17:41:59 -07:00
John Firebaugh ebadc90ac7 Rename Taglist -> RawTagEditor 2013-05-22 16:51:18 -07:00
John Firebaugh b70b287dee Rename TagEditor -> EntityEditor
It's going to be used to edit relation memberships as well
as tags.
2013-05-22 12:16:57 -07:00