Mike Bostock

Results 344 issues of Mike Bostock

It’d be really nice to offer a two-handled variant of Range, as here: https://observablehq.com/@mootari/range-slider

enhancement

In [this AQI-related notebook](https://observablehq.com/@mbostock/pm25-to-aqi), I had to do some interesting things with Inputs.bind. Specifically: * I wanted to apply an invertible transform to convert between units (PM2.5 and AQI). *...

bug

We should support Gmail-style keyboard shortcuts (j/k for row navigation, x for toggling selection).

enhancement

Inputs.table doesn’t handle JSON columns very well, since you get [object Object] for everything. It’d be nice to have a better default view of non-primitive fields. Related #164.

enhancement

I’m not sure how we’d do this efficiently, but it’d be nice to have when text is truncated. I don’t think we’ll want it on by default, as we don’t...

enhancement

```js viewof x = Object.assign(Inputs.range(), { oninput: event => event.isTrusted && event.stopImmediatePropagation(), onchange: event => event.currentTarget.dispatchEvent(new Event("input")) }) ``` Related #40. Jeremy called this a “cautious” range input.

enhancement

It’d be nice to have a Textarea whose height adjust automatically to fit the content, within some bounds. Broken out of #107.

enhancement

Currently Table stringifies HTML here: https://github.com/observablehq/inputs/blob/3073005061d33bfc7ef8417f0e6a5fbba4dffe6d/src/table.js#L316 We could change that to allow HTML to be passed through without needing a custom _format_, say: ```js function maybeStringify(value) { return value instanceof...

enhancement

We should include a helper method for setting the value of an input and triggering an update as described in [Synchronized Inputs](https://observablehq.com/@observablehq/synchronized-inputs). But what should it be called? “set” is...

enhancement

It’s a little dependent on your browser’s font size (because we didn’t want it to be hidden if the text is truncated with an ellipsis). Maybe it should be align-dependent?

question