fungover / mmotodo

3 stars 1 forks source link

A view for creating a new Task #18

Open a-jaxell opened 10 months ago

a-jaxell commented 10 months ago

View for creating a new task

I was thinking to use forms for simple API requests on submit.

This is a first version for a component that creates a new task.


Requirements


saeraa commented 10 months ago

Might I suggest a design system to simplify the design process and make it uniform all over, since there will probably be multiple people doing different parts of the interface. For Vanilla JS, there is for instance material-components-web and bootstrap

a-jaxell commented 10 months ago

For Vanilla JS, there is for instance material-components-web and bootstrap

Great idea! How about Bootstrap? Their documentation feels a bit "all in one place" and with plenty of interactive examples. :)

kappsegla commented 10 months ago

@a-jaxell @saeraa A feature that we could use are called webjars. Client libraries packaged as jar files which we can add to our pom.xml. https://www.webjars.org/

Example usage here

Alternative is to link to the js libraries from https://www.jsdelivr.com/ Maybe a better solution so we don't need to server these files and caching between sites works better. Official links to bootstrap cdn are: https://www.bootstrapcdn.com/