Giter Club home page Giter Club logo

charactersheetgenerator's People

Contributors

hevesg avatar kory75 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

charactersheetgenerator's Issues

Bootstrap Print Support Problems

Bootstrap falls back to smallest screen size in case of printing. This is a known issue, and it will be not fixed soon. There are some hacks available but they are messy. As one of the objective is to create original looking printouts. We may need to look for alternative of Bootstrap. I'm opened for any suggestions.

Offline APP

This is a nice article about offline APPs: http://labs.ft.com/2012/08/basic-offline-html5-web-app/
The guy caches the jQuery file, downloads all resources (.css and .js) and stores them in the localStorage. The app repeats the process every time if the user is online (getting the new version) and uses the localStorage resources when offline.

Merging

Sorry, It looks like I'm too merge happy. I will not merge anymore the different branches only do pull request on them. So you will able to work on your own branch without it disappearing overnight.

Storing Multiple Character Sheets in Local Storage

I only store one character sheet at the moment in the html local storage. I store them by field name. Which is will not work with multiple characters. It may safe from collisions with other type character sheets thought, but testing needed.

I have the following idea. We should store data in the local storage in the following format.

[character sheet kod] _ [character id] _ [field name]

Paranoia 2nd edition, 3rd character, character name input field
would be stored like:
PR2_3_character_name

Warhammer Fantasy , 25th character, strength attribute
would be stored like:
WHF_25_strenght

What do you think?

Please Notice: Ideas to use alternative storages should be under a separate ticket.

Validation

Maybe a dull note, but I think this is a crucial thing whichever tech we use the delivered product shouldn't be without validation.

Have you consider it using a MVC framework for better organisation of your code?

as the title suggests, I would suggest to use angular air ember as a framework. It might feels an overkill in first though. But as you continue working on that you will see that you have a better organised code and you can actually do more things faster.

  • Angular and Ember provide 2way data binding which means, that you have better control and auto update of fields that hold calculated values.

Dice roller helper

A Dice Roller Singleton would be really useful and could be included to every individual charsheet project.
Let's move the conversation here from the pull request.
As we discussed earlier a method is required that returns a number from any dice formula.
Example:
3d6 returns a number between 3 and 18,
2d10+1d4+3 returns a number between 6 and 27,
etc...

Inline JS

Avoid Javascript in your HTML file, it's very hard to maintain. put it in a *.js folder and load it with a script tag instead

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.