Git Product home page Git Product logo

nonojure's Introduction

nonojure's People

Contributors

maurolopes avatar nbeloglazov avatar sesm avatar yokalona avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

nonojure's Issues

Fix memory leak

When user opens new puzzle all data connected with old puzzle must be GC'ed. Currently channel and all async stuff still alive because it listens to "clear" button thus it's not eligible for GC.

Save current state on timer

Currently state is saved on each change. It's ok with local storage but if we are going to implement remote storage (save on server via ajax) than it may be too heavy to send request with whole state on every change. One way is to implement timer that will save state every 5 (10) seconds.

Add ajax indicator

It would be nice if we had indicator showing that there is some ajax requests in progress so user has feeling that something is going on and app not stuck.

Remember last user's page

If user comes to main page, like http://nonojure.com/ (without sub pages) redirect him to last visited page. Example:

  1. I came first time to the site http://nonojure.com
  2. Puzzle browser is shown.
  3. I choose puzzle with id aaabbbccc42
  4. Puzzle shown with url http://nonojure.com/puzzle/aaabbbccc42
  5. Solved half of the puzzle and closed page.
  6. Opened page http://nonojure.com
    Here I should be redirected to last visited page http://nonojure.com/puzzle/aaabbbccc42. If user opened not main page but with specific url then no redirect is needed.

Last visited page can be stored in browser local storage, no need to keep it on server I think.

Font issue

  1. Remove unused font from index.html
  2. In some browsers fonts are not loaded or loaded with warnings.

Allow user to change style of filled/crossed cell

It would be nice if we had more styles.
Filled style can be

  • image of the blot (current version)
  • just black square

Crossed:

  • image of a cross (current version)
  • image of a black dot in the center of cell

Implement navigation via url

Currently url is just http://host/ for both browser and puzzle. It must change depending on current view. E.g.:

http://host/puzzle/123456 - puzzle with id 123456
http://host/browser?filter=size&value=1-10 - browser showing only puzzles with sizes 1-10.

Set cookie expiration to 1 month

Currently ring-session cookies are has session scope, it means if you restart browser cookies are deleted. We need to set longer timeout so user doesn't need to login every time it enters the website.

In puzzle view separate ui and state logic.

Extract ui related logic to separate namespace and create protocol for this. This way UI stuff has clearer API and we can potentially implement other widgets, e.g. using canvas instead of tables in future.

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.