GithubHelp home page GithubHelp logo

magicktable's People

Contributors

pavankm avatar renjietang avatar

Watchers

 avatar  avatar  avatar

magicktable's Issues

uploading files with same name causes issue

Right now tiling & retrieving of tiles is done based on file name. If the same file is uploaded, it gets saved as name.csv and name_1.csv which can cause issues.

Ideal scenario: save the file in a db and generate some unique ID we will use inside our application rather than file name

Better UI for upload form

Need to clean up the UI for the form.

  • Add links to see uploaded tables as map
  • Add links to download tables as csv

Lazy loading of tiles

Current implementation:
first n rows are converted to tiles and the map page is shown.
other rows are converted to tiles in the background

if the user scrolls on the map and the tiles are not yet generated, a placeholder shows. leaflet.js does not automatically refresh that placeholder.

UI changes to map

  • center column name

  • capitalize only first char in column name

  • column width in each chunk of table (n rows) is rendered differently. Do scan through and calc max column width.

Avoid padding of last tile

To fix #4 we added padding to tiles that are smaller than 256x256.
Could we do without that?

Maybe calculate the number of rows that will fit in 256x256 and break up the CSV with those row numbers.

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.