Commit Graph

186 Commits

Author SHA1 Message Date
Mattia Pezzotti
a75eace135 Fix for Point Tutorial (#10129) 2024-03-07 23:38:51 +01:00
Martin Raifer
9576e95d83 change label of ui fields from raw html to a callback function
fixes #9159
2022-06-23 10:49:38 +02:00
Gabor Hodi
29697aa728 [Issue8906] Fix broken html in the Area part of the Walkthrough 2022-01-20 18:29:53 +01:00
Martin Raifer
282695325c fix html injection in walkthrough
closes #8846
2021-12-29 09:59:45 +01:00
Martin Raifer
b2d0ad680a fix icons not displaying correctly in walkthrough 2021-12-02 10:10:19 +01:00
Martin Raifer
9f3f8e1366 rename method 2021-11-29 19:26:18 +01:00
Martin Raifer
a21a985db5 fix html injecting/rendering in help pane 2021-11-29 17:31:11 +01:00
Martin Raifer
d78c357588 replace raw html injection of localized texts
by using d3 to insert the localized text spans directly into the DOM
2021-11-26 18:51:45 +01:00
Quincy Morgan
baabd81987 Unbundle id-tagging-schema data and translations
Update for id-tagging-schema 2.0.0
2020-12-01 11:14:14 -05:00
Quincy Morgan
ba48a861bc Enable curly and block-spacing eslint rules 2020-11-10 14:19:11 -05:00
ricloy
0f87da6340 Update line.js
fix walkthrough hangs when "Washington street" is split
2020-10-28 10:46:07 +00:00
Quincy Morgan
21a49bbec8 Initial support for D3 v6.2.0 2020-10-06 15:08:39 -04:00
Quincy Morgan
a1c002ebba Add more detail to the Operations section of the help docs (re: #7829)
Add info about splitting a specific way to the help docs (close #7992)
2020-09-25 10:38:30 -04:00
Quincy Morgan
1fc43759ca Followup to #7829 2020-09-24 16:37:44 -04:00
Quincy Morgan
03ea7816c7 Merge branch 'develop' into help-edit-menu 2020-09-24 15:20:48 -04:00
Quincy Morgan
5435082d9c Revert t function to returning the plain string by default
Add `t.html` function for getting the string with the `lang` attribute
2020-09-22 12:03:29 -04:00
Quincy Morgan
a3549f9a76 Merge branch 'develop' into lang-attributes
# Conflicts:
#	modules/ui/commit_warnings.js
#	modules/ui/field.js
#	modules/ui/fields/wikidata.js
#	modules/ui/fields/wikipedia.js
#	modules/ui/full_screen.js
#	modules/ui/panels/history.js
#	modules/ui/sections/entity_issues.js
#	modules/ui/sections/map_features.js
#	modules/ui/sections/raw_member_editor.js
#	modules/ui/sections/validation_rules.js
#	modules/ui/tag_reference.js
2020-09-22 10:55:07 -04:00
Quincy Morgan
79688ce2d9 Show count and use plural forms for more operation strings (re: #8014) 2020-09-22 09:10:49 -04:00
Quincy Morgan
32f8274929 Make t function return a span element with a lang attribute unless html: false is specified in the options (re: #7963)
Update `text` functions to `html` to support inserting the `span` elements
Specify `html: false` for various instances where a `span` is not desired, e.g. `placeholder` and `title` attributes
2020-09-15 21:56:22 -04:00
Quincy Morgan
e6703cb1cc Begin making UI adapt correctly to scaled text sizes (re: #7965) 2020-09-09 16:11:46 -04:00
Quincy Morgan
171d867d92 Make sure the add note button label in the help matches the toolbar (close #7841) 2020-07-27 15:59:31 -04:00
Manfred Brandl
97650f10f1 Add Edit Menu to Help, corr 2020-07-22 15:51:25 +02:00
Manfred Brandl
95dfcbaab7 Add Edit Menu to Help 2020-07-22 15:43:27 +02:00
Quincy Morgan
99383355b2 Update doubletap icon
Use consistent close button
Update a few strings
2020-07-13 14:33:49 -04:00
Quincy Morgan
31740f1ebb Add pinch-to-zoom icon to help and walkthrough 2020-07-13 11:26:42 -04:00
Quincy Morgan
f5d280682e Add mousewheel icon to help and walkthrough 2020-07-13 10:57:59 -04:00
Quincy Morgan
bf5ed60f96 Update walkthrough touch icons 2020-07-12 19:04:39 -04:00
Quincy Morgan
1514648468 Add doubletap and touch-and-drag icons to the walkthrough
Update tap and longpress icons
2020-07-11 21:04:07 -04:00
Quincy Morgan
365fa1bf0d Add tap and longpress icons to walkthrough 2020-07-11 19:27:50 -04:00
Quincy Morgan
3229390178 Clean up the mouse icons' size and clarity 2020-07-11 19:00:17 -04:00
Quincy Morgan
0d4946fe47 Update more help pane strings for touchscreens 2020-07-10 16:46:00 -04:00
Quincy Morgan
e93e0fdbf9 Update buildings walkthrough chapter for touchscreens 2020-07-10 16:02:30 -04:00
Quincy Morgan
3892600814 Reduce redundant strings in the walkthrough
Update the lines walkthrough chapter for touchscreens
Add toggled dispatch event to the edit menu
2020-07-10 15:24:01 -04:00
Quincy Morgan
cf5bf61d72 Use the same string replacements for the walkthrough as the help docs
Use keyboard styling for keys referenced in the walkthrough
Add mouse icons for left/right click referenced in the walkthrough
Add labels for all buttons referenced by icon in the walkthrough
2020-07-10 12:18:46 -04:00
Quincy Morgan
45f337e13c Merge branch 'develop' into touch-walkthrough-update 2020-07-10 10:32:36 -04:00
Quincy Morgan
3d4703b60c Fix various CSS issues 2020-07-06 15:28:25 -04:00
Quincy Morgan
90f21212ff Use the square button icon instead of name, for consistency 2020-06-29 17:23:53 -04:00
Quincy Morgan
0bc56f9471 Start touch support for walkthrough (re: #7692) 2020-06-26 15:48:57 -04:00
Quincy Morgan
01483e93a8 Fix post-walkthrough modal alignment 2020-06-26 14:28:59 -04:00
Quincy Morgan
20fadf0b1a Update the first two chapters of the walkthrough for non-mouse interaction 2020-05-10 12:02:36 -07:00
Quincy Morgan
95dc16b7a6 Update more mouse events to use pointer events if available (re: #5505) 2020-05-08 16:10:15 -07:00
Quincy Morgan
a16a95e32e Use pointer events in welcome walkthrough chapter on supported devices (re: #5505) 2020-05-08 12:09:35 -07:00
Quincy Morgan
77061e9c6c Fix lint warnings 2020-05-08 09:42:02 -07:00
Quincy Morgan
38bc5131fa Fix incorrect curtain positioning when iD's container doesn't match the window dimensions (close #7551) 2020-05-08 09:40:27 -07:00
Quincy Morgan
ff4eb971ac Fix various issues that made the walkthrough non-completable 2020-05-07 13:27:20 -07:00
Quincy Morgan
60f7dc7c0b Replace presets property of context with singleton
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan
a58abe3c6f Move localStorage interface from a property of coreContext to a corePreferences function 2020-04-01 11:00:48 -07:00
Quincy Morgan
a1af118f0e Ensure locales and presets are loaded before the UI loads (close #7406)
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
74e7a108a9 Remove global selection from walkthrough (re: #7445) 2020-03-29 10:19:59 -07:00
Quincy Morgan
ece8b90be2 Don't use global selection in intro (re: #7445) 2020-03-24 11:36:34 -07:00