Giter Site home page Giter Site logo

seine's Issues

Fix y axis positioning bugs

The bugs:

  1. Values are too close to axis line.
  2. Arrow too large. Found in line chart.
  3. Arrow should end exactly at the line end. Found in line chart.
  4. Overlaps content. Found in column chart.

Wrong positioning and scaling of svg foreignObject in WebKit

Our SvgTypograhy component relies on foreignObject. Unfortunately, there is bug in Webkit that hasn't been resolved in about 10 years and there is no confidence it would be.

After some research we found this polyfill. It solves bug in most cases but breaks the ability of SvgTypography to rescale in predictable way, causes huge amount of rerenders and slows down everything as hell (tested in epiphany webkit-based browser).

Let's consider these ways to solve the issue:

  1. Marpit-svg-polyfill readme claims that the nested SVG seems to be scaled correctly. So we may wrap child foreignObject by nested SVG

  2. Replace foreignObject with text and tspan element

  3. Render text in absolutely positioned html overlay.

Optimize CI/CD using rollup cache

Current workflow:

  1. Work starts from creating issue branch using following pattern: seine-<issue-id>
  2. Run install -> build -> test stages on pull request to master
  3. Run install -> build -> test -> publish -> push-to-latest stages on pull request to master
  4. Run install -> build -> test -> deploy-latest stages on pull request to latest

Todo: install and build phases should be cached to prevent reduntant tasks to run

Reference:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.