rpg-cards icon indicating copy to clipboard operation
rpg-cards copied to clipboard

Enable decorators through modularity

Open WilcoFiers opened this issue 9 years ago • 2 comments

I love this little project. I've been looking to use it as part of one of my own works. But I already have data for the cards. I just want to be able to pick them and select how many to print. So some of the stuff in the in this tool I can reuse, but some of it I'll have to swap out with my own. My thinking is to organize the list of functions a bit, to get some more modularity and make it a bit easier to work in decorators.

Do you have any thoughts / preferences in this regard? I'd love to get your thoughts on where you're going with this project, to see if I can align my work.

WilcoFiers avatar Oct 23 '15 16:10 WilcoFiers

Do you have a link for this other work of yours?

The long term goal of this project is to redesign the code with React (#36). This would give you a pure function that transforms input data into a HTML string. As for the UI, an even longer term goal would be to provide a UI where users can load external data (json/csv) and even provide define a template for the cards.

Both goals will likely require a complete rewrite and won't happen any time soon.

crobi avatar Oct 28 '15 08:10 crobi

Nothing functional yet. I'll send you a PR if I have something worth sharing. Wanted to check where you stand. React is an interesting idea.

WilcoFiers avatar Nov 05 '15 18:11 WilcoFiers