Commit Graph

60 Commits

Author SHA1 Message Date
Bryan Housel
bcd4e5135a Use window.top.location instead of window.location
(closes #3950)
2017-04-21 01:29:22 -04:00
Bryan Housel
6f8770241f Merge pull request #3921 from openstreetmap/walkthrough-updates
Walkthrough updates
2017-04-18 14:13:14 -04:00
Nick Doiron
fa87f2b602 support Arabic vowel signs, include Thaana and Hebrew in generic RTL fix 2017-03-22 21:03:46 -07:00
Bryan Housel
b55cebed2e Move d3curtain to uiCurtain, remove unused event dispatch 2017-03-22 09:59:59 -04:00
Bryan Housel
1a1fc6db17 Better detection of culture-specific locale in language list
(closes #3842)
2017-02-15 15:09:14 -05: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
6677d15c44 Fix distracting typo 2017-01-27 10:57:53 -05:00
Bryan Housel
12047b1b5b Merge branch 'master' of https://github.com/cedarstudios/iD into cedarstudios-master 2017-01-04 13:33:31 -05:00
Milad Karbasizadeh
4729bbbc4e fix a bug with space 2017-01-04 11:13:45 +03:30
Bryan Housel
d63c766e69 Split into utilDisplayName / utilDisplayNameForPath
This is because utilDisplayName gets called a bunch of places and we
only want to add the Arabic reversal code for textpath labels
2017-01-03 20:58:56 -05:00
Bryan Housel
c70b6278fc Avoid es6 let/const (because phantomjs) 2017-01-03 17:29:33 -05:00
Bryan Housel
952a338abf eslint / formatting 2017-01-03 17:27:48 -05:00
Nick Doiron
9e5d3e7c5a digest combined LTR and RTL words 2017-01-03 22:21:15 +08:00
Milad Karbasizadeh
5da7d83fe9 Modify railways arabic/persian names 2017-01-03 16:34:57 +03:30
Milad Karbasizadeh
a36650ccbe add arabic kaf to character table 2017-01-03 16:15:08 +03:30
Nick Doiron
88efc0c8ef add and reorder letters 2017-01-03 18:18:29 +08: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
6ab9489fe7 Add utilGetAllNodes to get all nodes and descendants 2016-12-20 22:37:53 -05:00
Bryan Housel
3f024d0b95 Replace hardcoded RTL list with detected language lookup from dataLocales 2016-11-28 00:12:50 -05:00
Bryan Housel
2448f1af1c npm run translations 2016-11-17 13:02:40 -05:00
Bryan Housel
226d8d6676 Leave transition duration as undefined, interrupt existing transitions 2016-10-27 15:11:50 -04:00
Bryan Housel
59496c4547 Fix bugs in intro
* connection.flush is now connection.reset
* Calculate correct tooltip dimensions after changing content
* Position tooltip based on visible box, not full box
(closes #3463)
2016-10-27 14:15:23 -04:00
Bryan Housel
5fb966c35b utilSetDimensions/utilGetDimensions improvements
utilSetDimensions should always return a selection for chaining
Add `force` argument to utilGetDimensions to override cached dimensions
2016-10-27 14:13:39 -04:00
Bryan Housel
38e0b4ba5d Data bind tooltips to avoid creating new ones each time in setup 2016-10-27 12:26:20 -04:00
Bryan Housel
1d03414b80 Allow forced utilDetect(), useful for testing 2016-10-18 21:56:24 -04:00
Bryan Housel
efd9e6df4b Memoize and avoid extra calls to utilDetect() 2016-10-18 21:48:39 -04:00
Bryan Housel
4381bd11ac Simplify code for determining label font size (eliminate style inspection) 2016-10-17 13:57:15 -04:00
Bryan Housel
1c3e778baf Check for rtl url parameter for testing (rather than regex) 2016-10-08 12:45:01 -04:00
Nick Doiron
581bade5f3 update RTL detection 2016-10-05 01:38:13 -04:00
Nick Doiron
e208300ca5 fix mouse position calculation on RTL layout 2016-10-05 01:33:16 -04:00
Bryan Housel
0d0e54fdff Fix more namespaces that were missed in the first pass 2016-10-04 21:15:30 -04:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -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
15b3a44c9a Add projection.transform, simplify projection code, WIP on minimap 2016-09-07 08:59:31 -04:00
Tom MacWright
6bfe6a8640 Down to 7 test failures 2016-09-06 11:16:47 -04:00
Tom MacWright
6189af9b47 fix localized 2016-09-05 21:40:41 -04:00
Tom MacWright
0236389611 Fix Circularize logic 2016-09-03 19:33:19 -04:00
Tom MacWright
c5b3a16d3a Fix getSetValue, fix line display 2016-09-03 16:39:30 -04:00
Tom MacWright
b493c85399 Refactor away multi requirement 2016-09-03 15:13:20 -04:00
Bryan Housel
a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright
a59b0d9fdf Fix transitions and multis 2016-08-24 10:42:34 -04:00
Tom MacWright
e0f3d562c7 Fix tooltip positioning 2016-08-24 09:42:14 -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
Minh Nguyễn
e861e08c68 Fixed missing comma 2016-08-02 07:33:04 -07:00
Minh Nguyễn
3e9d7c2b63 Prefer cycle_network over network 2016-08-02 07:06:09 -07:00
Minh Nguyễn
969cb19b78 Include network in relation display name
If a relation is tagged with a network, the network is needed alongside the ref to identify the relation.
2016-07-31 03:29:15 -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
Tom MacWright
604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00