Commit Graph

19 Commits

Author SHA1 Message Date
Quincy Morgan
8883c2f36d Fix uiFlash issues
Clean up a few things from prior commit
2020-09-22 12:19:54 -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
8234079d10 Show operation icon colors in the help pane 2020-06-29 17:08:06 -04:00
Quincy Morgan
a1a398650f Instantiate uiFlash only once as a property of the UI and remove global selection (re: #7445) 2020-03-29 10:22:58 -07:00
Quincy Morgan
f625406ccc Convert some element ids to classes to avoid collisions when embedding iD
Clarify some footer class names
2020-03-20 13:43:07 -07:00
Quincy Morgan
152d89fa22 Convert some element ids to classes to avoid collisions when embedding iD 2020-03-20 13:10:39 -07: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
f247bd1e66 Move icon code into uiFlash, default flash icon to icon-no
Previously it was up to the caller to draw whatever they want into the
footer flash.  With this change, uiFlash creates an icon and a text, so
the caller doesn't need to do as much work.
2017-12-05 23:41:34 -05:00
Bryan Housel
3d13620705 Convert lodah-es and d3 to named imports for ui 2017-09-26 11:22:43 -04:00
Bryan Housel
3908da03cf Fix styling of flash and footer and use absolutely positioned divs
Also fix flash tests
2017-02-17 00:23:24 -05:00
Bryan Housel
150b9fb7dc WIP: move flash to footer area, transition in/out
Also took this opportunity to use flexbox for the footer layout
2017-02-16 17:13:22 -05:00
Bryan Housel
3fc36b66a9 Let D3 handle the delay rather than using setTimeout
This also fixes a race condition where it was possible to lose a flash
message that was created while the previous one was transitioning away.
2017-02-16 10:19:07 -05:00
Bryan Housel
b7a81c6bec Allow customizable flash showDuration and fadeDuration 2017-02-15 22:28:35 -05:00
Bryan Housel
c18cc7577d Add flash test, avoid using sinon.useFakeTimers in tests.
sinon.useFakeTimers mocks setInterval, setTimeout, etc,
but not requestAnimationFrame, which d3 transitions rely on.
2017-02-11 00:19:49 -05:00
Bryan Housel
5aa519affb Flash style adjustments 2017-02-10 21:50:31 -05:00
Bryan Housel
c5383c1f55 Darker unintrusive flash.. WIP flash operations on keypress 2017-02-10 16:39:08 -05:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Kushan Joshi
780960c711 interim 2016-07-06 00:34:35 +05:30
Kushan Joshi
7188065a6c disband ui/core 2016-07-02 19:04:51 +05:30