Commit Graph

54 Commits

Author SHA1 Message Date
Bryan Housel
cda8f657ac Swap fast-deep-equal for lodash isEqual
(re: #6087)
2019-03-29 22:17:29 -04:00
Bryan Housel
0edd10001e Removing more lodash: isEmpty, isNumber, some map/reduce/forEach
(re: #6087)
2019-03-27 13:32:35 -04:00
Bryan Housel
0e90167513 Remove lodash clone
(re: #6087)
2019-03-22 23:18:25 -04:00
Quincy Morgan
e6bc7efb7f Disallow favoriting of unsearchable presets
Rename preset favorite button class and file
2019-03-22 09:20:18 -04:00
Quincy Morgan
b302d853ac Fix issue where the favorite preset button could be stale
Use first in, first out favoriting order
2019-02-27 13:13:15 -05:00
Brian Hatchl
1faa6ad839 Favorite preset 2019-02-20 15:23:58 -05:00
Bryan Housel
81bd734849 WIP uiEntityIssues cleanups, simplify
fixes are still not being applied properly
2019-02-11 20:44:02 -05:00
Quincy Morgan
e69f2a0389 Merge branch 'master' into validation 2019-01-23 13:15:33 -05:00
Bryan Housel
20bcfc5730 Delimit name-suggestion-preset names on en-dash, not hyphen
To avoid conflicts with hyphenated names, or bilingual names
with hyphens in them (like used in Brussels)
2019-01-23 09:44:24 -05:00
Quincy Morgan
4f1cb0dc46 Made the entity issues UI update when the issues reload 2019-01-14 12:33:32 -05:00
Quincy Morgan
11b2102761 Merge branch 'master' into validation
# Conflicts:
#	data/core.yaml
#	dist/locales/en.json
#	modules/ui/commit_warnings.js
#	modules/ui/entity_editor.js
#	modules/util/index.js
#	modules/util/util.js
#	modules/validations/index.js
#	modules/validations/many_deletions.js
#	modules/validations/missing_tag.js
2019-01-14 10:13:56 -05:00
Bryan Housel
6efbbb8aa3 Add "zoom to this" quicklink and keybind for note editor
(closes #5169)
2019-01-09 22:24:52 -05:00
Bryan Housel
9c190e83e9 Add quickLinks to preset editor, zoom to selected feature 2019-01-09 21:56:08 -05:00
Bryan Housel
5c6406ea63 Remove section borders from inspector
There is enough separation with the disclosure headings that we
don't need to break the sidebar up with lines
2019-01-08 14:04:07 -05:00
Quincy Morgan
490143d1a8 Added Issues section to the entity sidebar
Fixed bug where stale issues would stick around in the issues pane
2018-12-19 16:12:33 -05:00
Max Grossman
d8de9e785e do not add found presets to recent 2018-12-17 14:56:33 -05:00
Max Grossman
74a19a6d7f remove a comment 2018-12-17 12:55:00 -05:00
Max Grossman
d87b1822f7 add/make visible weakly matched presets 2018-12-14 15:42:25 -05:00
Max Grossman
96e44be69c merge 2.12.2 2018-12-13 11:22:32 -05:00
Bryan Housel
39b3f1df68 Avoid creating comboboxes
(closes #5568)

Several strategies in here:
- Move uiCombobox() from inside the render function to class variable
- Don't render stuff like the raw tag editor when it's collapsed
- Don't show as many fields/combos on hover
- Don't instantiate fields (like universal/more) until they're actually shown
- Bind the combo on enter selection not on update selection
2018-12-11 16:07:00 -05:00
Bryan Housel
c7fc3ea062 Reset the scroll to the top of the inspector when redrawing it 2018-11-30 14:21:14 -05:00
Bryan Housel
822917466c Display name suggestion presets on 2 lines
(closes #5514)
2018-11-26 21:55:13 -05:00
Max Grossman
2bf5eaf6e7 initial plumbing for iD validation errors
ref #remote-presets
2018-07-31 14:22:34 -04:00
Max Grossman
db78df55c8 get validaiton objects on context
ref #remote-presets
2018-07-31 13:41:24 -04:00
Bryan Housel
470835b38f Extract all graphics from iD sprite, reassemble with svg-sprite
All iD sprite graphics are now prefixed with `iD-`
Also includes support for sending the preset logos to taginfo
2018-06-08 16:06:46 -04:00
Bryan Housel
aea3b6feb5 Fix reference typo introduced in c44551be7 2018-03-23 13:30:37 -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
3d13620705 Convert lodah-es and d3 to named imports for ui 2017-09-26 11:22:43 -04:00
Bryan Housel
7b9af48c4d If any part of an address is present, allow fallback to "Address" preset
(closes #4353)
2017-09-19 16:55:18 -04:00
Bryan Housel
6fe1efaf35 Some variables and formatting 2017-08-03 11:13: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
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
33e9b2ab7e Replace opening hours whitelist with regular expression 2017-03-20 23:21:09 -04: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
348b355e37 Refresh icons, Add save icon, navigation icons
(closes #3777)
2017-01-26 00:01:52 -05:00
Nick Doiron
94ee7d4916 move changes to svg display name 2017-01-03 18:18:18 +08:00
Milad Karbasizadeh
af1ac89df7 Rename fix-string.js and fixTextForSvg function name to a more readable name.
User regex to detect arabic characters.

Fix editing bugs.
2017-01-02 14:48:22 +03:30
Bryan Housel
e4e2298ad6 Fix TagReference not updating
(closes #3521)
2016-10-25 10:19:39 -04:00
Nick Doiron
581bade5f3 update RTL detection 2016-10-05 01:38:13 -04:00
Nick Doiron
34a6382752 revised RTL features and detection 2016-10-05 01:31:14 -04:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel
132e699c89 Replace extend with smarter copy for tag changes
Because compound fields like `address` may send a bunch of undefined tag
values in the `changed` object, and we don't want them all to turn into
raw tags (but we do want them to override any existing tags).

This is subtlely different than what `_.extend({}, existing, changed)` did.
2016-09-27 23:20:16 -04:00
Bryan Housel
b92e49f61a Fix raw tag editor data binding of key/value input fields 2016-09-27 23:06:28 -04:00
Bryan Housel
6346a11880 Continuing to audit enter/update selections that need merge() 2016-09-18 00:51:43 -04:00
Bryan Housel
a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright
cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Tom MacWright
6341d4e4b5 one-shot build (#3266)
* One-shot development

* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs

* Unformat intro graph
2016-08-10 15:25:19 -07:00
Tom MacWright
af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00