Coder Social home page Coder Social logo

frube's People

Contributors

frequent avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

frube's Issues

local deletion not synced

loading, deleting a file, connecting, syncing => file will be synced back although local deletion option is set

make frube properly work on mobile

  • try to stay in player and not go to youtube fullscreen mode
  • see if videos can be triggered autonomously
  • better slider to jump invide video
  • navigator sessionManage
  • set CSS breakpoints at 480, 640 and 1080px width
  • handle 640 to 2732 image resolutions
  • fit 3 columns on 640
  • fix css on smartphone, looks clunky aiming at 360px
  • find out if videos can play in background tab on mobile

prevent crashing on 404s

Crashed on a 404 with this in debugger

https://yt3.ggpht.com/proxy/wCw24juC7-u_Tot_NZqBd6krkPufVGBDC1OBScc5LyfN4-F1auU=-w400-h400-n-rj-c0xffffffff Failed to load resource: the server responded with a status of 404 ()
renderjs.latest.js:947 TypeError: Cannot set property 'id' of undefined
at https://frube.eu/gadget_frube.js:110:22
at Array.reduce (native)
at mergeDict (https://frube.eu/gadget_frube.js:109:37)
at https://frube.eu/gadget_frube.js:863:43
at invokeCallback (https://frube.eu/rsvp.latest.js:581:19)
at Promise. (https://frube.eu/rsvp.latest.js:650:11)
at Promise.trigger (https://frube.eu/rsvp.latest.js:378:22)
at https://frube.eu/rsvp.latest.js:737:17
at https://frube.eu/rsvp.latest.js:189:11
at Array.forEach (native)
letsCrash @ renderjs.latest.js:947
renderjs.latest.js:948 TypeError: Cannot set property 'id' of undefined
at https://frube.eu/gadget_frube.js:110:22
at Array.reduce (native)
at mergeDict (https://frube.eu/gadget_frube.js:109:37)
at https://frube.eu/gadget_frube.js:863:43
at invokeCallback (https://frube.eu/rsvp.latest.js:581:19)
at Promise. (https://frube.eu/rsvp.latest.js:650:11)
at Promise.trigger (https://frube.eu/rsvp.latest.js:378:22)
at https://frube.eu/rsvp.latest.js:737:17
at https://frube.eu/rsvp.latest.js:189:11
at Array.forEach (native)

remove frube stuff from index files

the index files should be separate from app for gh-pages and portability.

  • remove templates from index.html
  • remove jio bridge from index.js

double click on play throws

player.loadVideoById is not a function

Stack: TypeError: player.loadVideoById is not a function
at https://frube.eu/gadget_frube.js:712:20
at invokeCallback (https://frube.eu/rsvp.latest.js:581:19)
at Promise. (https://frube.eu/rsvp.latest.js:650:11)
at Promise.trigger (https://frube.eu/rsvp.latest.js:378:22)
at https://frube.eu/rsvp.latest.js:737:17
at https://frube.eu/rsvp.latest.js:189:11
at Array.forEach (native)
at MutationObserver. (https://frube.eu/rsvp.latest.js:187:19)

handle connection loss

app should not fail if network is lost

  • simple resume
  • (player handles) throw error by hand if youtube buffers and rechecks connection at larger intervals
  • (player handles) resume where left off, no problem when throwing by hand
  • handle network change error (throws rarely)
  • handle youtube onerror (throws even rarer)

remove remaining click handlers

use submit where possible.

  • empty search placeholder click to focus search input - autofocus seems impossible to trigger
  • dropbox click to sign in (isn't super-responsive anyway)
  • view switcher
  • custom album cover upload
  • data-id video playing (images, titles, etc)

handle wrong tokens properly

There should at least be an error message and error caught

  • catch error and display message
  • open configure modal

handle missing/wrong tokens

missing or invalid tokens should be handled properly.

  • catch invalid redirect uri on dropbox, close popup if possible, display error, in config modal?
  • catch search with invalid youtube redirect ui, display error message, in config modal?
  • init storages with keys passed
  • check postmessage from dropbox on faulty connection, else figure out how to not throw after x sec

enable sync button when it should

Still moot... when connected with storage, the following should trigger sync to be enabled:

  • when raking video
  • when rating video
  • when adding video
  • when removing video
  • when editing video

improve gh-pages

run tests, minify, etc, like a grunt-gadget. Make sure it does not throw everywhere I test...

fix jumpVideo

Ending up with #undefined or #null at shuffle/end of playlist

  • undefined once all songs are played

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.