Git Product home page Git Product logo

Comments (8)

shubhamkarande13 avatar shubhamkarande13 commented on August 30, 2024 6

@aornugent @waridrox @Tlazypanda
Upload works!

image

Thank you Sneha for your insights! ✌😄

from flint-ui.

Tlazypanda avatar Tlazypanda commented on August 30, 2024 2

Hey @waridrox @shubhamkarande13 can you share the entire api call that is being made? The upload requests are made with Content-Type: multipart/form-data so can you share the exact error log for the same? Thanks ✌️

from flint-ui.

shubhamkarande13 avatar shubhamkarande13 commented on August 30, 2024 2

@aornugent Don't worry I have found an alternative component that doesn't restrict uploads on file type or mime type.
Tada 🎉! Dropzone!

image

It looks a bit ugly but can I push the code to this branch till Warid fixes the design when he wakes up (it's 5 AM here)?

from flint-ui.

waridrox avatar waridrox commented on August 30, 2024 1

Hi @Tlazypanda, the api calls are yet to be made in the multipart/form-data part, but before that we would like the user to upload the dataset files as per their requirements from the web browser. Hence the file upload component needs a specific file type to accept the files from the browser...

upload-gcbm.mov

from flint-ui.

Tlazypanda avatar Tlazypanda commented on August 30, 2024 1

Hey @waridrox I am not sure what change is required on the api end now because if I understand correctly this is on the UI level the file upload component right? If we finally make the api request to multipart/form-data this would be working then ✌️

from flint-ui.

waridrox avatar waridrox commented on August 30, 2024

from flint-ui.

aornugent avatar aornugent commented on August 30, 2024

Oh that's disappointing! How about we proceed with a zip upload while we work towards a minimum viable product but leave this discussion open for further consideration?

This might mean users are not able to edit the config using the UI until we resolve this issue.

from flint-ui.

waridrox avatar waridrox commented on August 30, 2024

Thanks for everyone's insights, the file upload component that was being used proved to be the limitation instead.

Closing this via #64

from flint-ui.

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.