Giter Club home page Giter Club logo

Comments (9)

roberto-butti avatar roberto-butti commented on August 26, 2024 1

Hi @mtrunt , thank you for your job!
I think that dropdown solution is cleaner and more scalable ( if on the future we will add new option). I like it!!!!

from fit-geojson-vuejs.

mtrunt avatar mtrunt commented on August 26, 2024

I can take a look on this if that's ok.

from fit-geojson-vuejs.

roberto-butti avatar roberto-butti commented on August 26, 2024

Sure, @mtrunt ! Thank you! Do you have some ideas or suggestions about the UI design? We don't have in the UI some component to collect user preferences

from fit-geojson-vuejs.

mtrunt avatar mtrunt commented on August 26, 2024

Let me play with it for a bit.

@roberto-butti Do you have a file that can be shared in the meantime? I tried with a couple I have but got some errors; will try to debug it later.

from fit-geojson-vuejs.

roberto-butti avatar roberto-butti commented on August 26, 2024

Let me play with it for a bit.

@roberto-butti Do you have a file that can be shared in the meantime? I tried with a couple I have but got some errors; will try to debug it later.

You can use this public GPX file. It is a route of a public trail running race.
https://www.barabinarun.com/images/BarabinaRun_5_ottobre_2019_ore_15_Official.gpx
Let me know about the error that you see in the JavaScript Console.

from fit-geojson-vuejs.

mtrunt avatar mtrunt commented on August 26, 2024

@roberto-butti I believe my files were corrupted, that GPX worked fine.
Been playing with it and here are a couple suggestions.

I like the one with the dropdown more but may need to use a library for the dropdown.

Button for each type:
image

Dropdown:
image

What you think?

from fit-geojson-vuejs.

mtrunt avatar mtrunt commented on August 26, 2024

@roberto-butti submitted #42. Any thoughts?

from fit-geojson-vuejs.

roberto-butti avatar roberto-butti commented on August 26, 2024

@roberto-butti submitted #42. Any thoughts?

@mtrunt great Work, i merged it. But i have some conflict on Fit.vue file so i need to merge manually.
I would like to open issues for some small improvement (but I would like to know your point of view):

  • Update the Download label based on "selectedFormat", so the user will read "Download Geojson" or "Download CSV "
  • Hide CSV label until the CSV export will be implemented OR display a message "CSV is not yet implemented, you are downloading a Geojson file"

What do you think ?
In order to have your commit in the commit history list I suggest you to pull and update your local code before to request a pull request, because i think that in the meanwhile you did the work we merged other pull request so we had some conflicts on Fit.vue. Thank you!

from fit-geojson-vuejs.

mtrunt avatar mtrunt commented on August 26, 2024

I was also thinking on this to make it clearer to the user but I was afraid the button would be too long. Let me try some things.

  • Update the Download label based on "selectedFormat", so the user will read "Download Geojson" or "Download CSV "

I'll hide the CSV option in the meantime.

  • Hide CSV label until the CSV export will be implemented OR display a message "CSV is not yet implemented, you are downloading a Geojson file"

Oh that's nice, I'll update my local before the next PR.

In order to have your commit in the commit history list I suggest you to pull and update your local code before to request a pull request, because i think that in the meanwhile you did the work we merged other pull request so we had some conflicts on Fit.vue. Thank you!

from fit-geojson-vuejs.

Related Issues (20)

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.