Skip to content

catch up #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 106 commits into from
Sep 12, 2018
Merged

catch up #2

merged 106 commits into from
Sep 12, 2018

Conversation

ErwanMAS
Copy link
Owner

catch up

etpinard and others added 30 commits April 11, 2017 16:54
- so that it is enabled by default on browserify builds
- mv it to `./tasks/` for better discoveribility
- ignore it when bundling plotly-with-meta.js bundle
- 🔪 other refs to compress_attributes.js
Reason: to be reviewable from a perf standpoint.
- Set hoverMode to 'closest' where needed.
- Instead of an expandingIndex to identify the actual trace
  wanted, expecting a searchInfo object.
- Reason: the selection cache wasn't cleared when a user clicked the
  last selected point with Shift and thus a new selection started with
  Shift would add to the still cached selection testers from previous
  selection.
- Ensure click-to-select cleanly clears and starts selections
  although add/subtract mode on.
- Ensure double click in lasso and select mode cleanly clears
  and restarts selections when add/subtract mode on.
- TODO: deactivated a mouseout listener in geo.js cause
  with it, click-to-select won't work. To be reviewed.
- Include additional for choropleth that's based on geo.
- One double click location in an existing choropleth test
  needed to change though to be on an empty area that
  is not a world country.
- Reason: some tests ran into async timeout issues on CI.
- Thereby fixed bug in geo base plot: set a subplot id in dragOptions
  so that selection cache isn't coerced each time an interaction
  happens.
- Ternary was the only base plot with inconsistent behavior in terms
  of holding the Shift key. It allowed to temporarily pan (zoom when
  in pan) in zoom, lasso and select drag modes.
- Updates of TODO comments are based on discussions on Github
  and Slack.
- Reason: isPointOrBinSelected is a potentially costly operation
  and thus leverage an assignment in an if condition trick
  to avoid executing isPointOrBinSelected unnecessarily.
etpinard and others added 29 commits September 10, 2018 10:39
- which now doesn't skip over line traces after non-line traces
- update two gl2d_text_chart baseline that suffer from this bug
... where we ignore the compress_attributes.js transform
    on bundling.
... before native 'webgl_contextlost' is triggered.
Enable compress attributes browserify transform by default
so that:
- we don't have to worry about ordering on relayouts
- subplots on non-full-circle sectors can have functioning
  inner radial dragboxes.
- test gl2d 'focus' canvas
- test the 3 parcoords canvases!
- regl-line2d "skips" over "undefined"s, not "null"s
fix layer ordering of scatter subtypes
- as JSON.stringify(new Float32Array([1,2,3])) gives:
  "{"0":1,"1":2,"2":3}"
- use Lib.simpleMap as opposed to Array.prototype.slice.call(d)
  to avoid potential 'exceed stack size' errors
Emit 'plotly_webglcontextlost' event on WebGL context lost
Convert typed array to 'regular' arrays before sendToCloud
Fix scattergl missing lines after non-line trace
There are now 4 `<g.drag>` nodes in polar subplots
@ErwanMAS ErwanMAS merged commit bdc94ce into ErwanMAS:master Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants