Coder Social home page Coder Social logo

airhead-frontend's People

Contributors

edne avatar turlando avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

turlando

airhead-frontend's Issues

Show errors

Display upload errors, maybe with a pop-up notification

Render markdown syntax greet_message in /api/info as HTML

The /api/info endpoint has a greet_message key (I'm considering to rename it in a more descriptive name) that holds human readable information taken from the configuration file.

It would be nice that the message could be styled a little bit (bold, italic, links) rendering it from Markdown to HTML.

Unable to build

Using lein release to build airhead-cljs doesn't work. Particularly the code being generated does not reflect the latest updates. API calls still points to /api/tracks instead of /api/library and /api/queue instead of /api/playlist.

I don't face this problem building the project with lein figwheel. This command produces the expected results, but it can't be of course used in production.

Desktop notifications

Optional desktop notifications when the playing track changes, with a button to toggle it.

Allow metadata editing before upload

I'm opnening an issue here since the major work is on the frontend.

An user wants to change the title, the artists, or the album of a track he wants to upload. The user should be able to edit the tags before sending any data to the server.

The user would pick the file from the open file button, three input fields would show up with the current track tags ad defaults. The user would be able to change them and eventually confirm the upload.

Some pointers:

Adding a track to the playlist doesn't work

Pressing the + button aside a track in the library doesn't produce any result.

Logs from the JavaScript console:

PUT http://127.0.0.1:8080/api/playlist/ 405 (Method Not Allowed)
core.cljc?rel=1495792754357:550 cljs.core.PersistentArrayMap {meta: null, cnt: 4, arr: Array(8), __hash: null, cljs$lang$protocol_mask$partition0$: 16647951…}arr: Array(8)cljs$lang$protocol_mask$partition0$: 16647951cljs$lang$protocol_mask$partition1$: 8196cnt: 4meta: null__hash: null__proto__: Object
ajax$core$print_error_response @ core.cljc?rel=1495792754357:550
ajax$core$transform_handler_$_easy_handler @ core.cljc?rel=1495792754357:562
ajax.core.js_handler.cljs$core$IFn$_invoke$arity$2 @ core.cljc?rel=1495792754357:472
(anonymous) @ xhrio.cljs?rel=1495792753597:25
goog.events.EventTarget.fireListeners @ eventtarget.js:284
goog.events.EventTarget.dispatchEventInternal_ @ eventtarget.js:381
goog.events.EventTarget.dispatchEvent @ eventtarget.js:196
goog.net.XhrIo.dispatchErrors_ @ xhrio.js:724
goog.net.XhrIo.onReadyStateChangeHelper_ @ xhrio.js:866
goog.net.XhrIo.onReadyStateChangeEntryPoint_ @ xhrio.js:806
goog.net.XhrIo.onReadyStateChange_ @ xhrio.js:790

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.