just upload a first version of TodoMVC to the website. It implements all functionality, with Routing and Local Storage included.
Is done with Jewel UI Set showing how you can customize look and feel of included components (Button, Toggles, List, TextInput, BarRow...).
Still I need to customize the main checkboxes to match the real example to finish it completely ( I still didn't have time). Hope to do soon.
I'll plan to do another version with Crux, so people could see the diferences between both, but I worked hard to make this very MVC, ensuring separation is done correctly, using, events, models, views and controllers. Let me know what you think or if you find any bug or some issue:
I expect to send to the original website (http://todomvc.com) when is finished completely and see if they can aggregate.
Source code is here for you to browse:
I'll write about some issues I found tomorrow while writing this, in the other hand I felt this experiment was a pleasure to do since Royale seems very robust today as a technology, and we can call it 1.0. Things like Routing, LocalStorage, Components are mostly all there to use.
This was my first experiment customizing visuals in Jewel and I think it was very quick to do it.
I tried to make all the example well organized and commented, and expect to write some docs about it. As always problem is time.
This is simply amazing. Great job on porting the standard TodoMVC app to Royale!
Carlos can you point out where is the source code for this?
I remember trying to learn React the first time just to do this application and
it was such a pain to learn the framework. Now that I can code it with Actionscript
I'm getting excited.
Thank you for your contribution
Thanks Om and Ramazan! :)
The source code was posted in the initial comment on this thread ;)
This is very good!
There seems to be no maximum limit to the number of characters in a note; certainly there is no character count or anything to let me know if I am coming close to a limit.
A more serious problem occurs when you create an entry, then double click to edit it, and remove all the contents from the entry. The app seems to get into a funny state. I think the best behavior would be to delete the entry if it is saved with no contents.
On Fri, Jan 31, 2020 at 7:13 AM Carlos Rovira <[hidden email]> wrote:
Thanks for the feedback Andrew, much appreciated! :)
just uploaded a new version now, I finish all, even the check box style to match todomvc. This is the new URL:
And the changes:
- Jewel CheckBox look change to mimic todomvc style
- toggleAll change style if all items is marked/unmaked
- Item edit mode now exits with "click outside"
- Item edit mode now removes the item if user removes all text
- Finish little style things through all example to match todomvc as much as possible
About the max number of chars, it seems that is not on the original TodoMVC, so I didn't implement it, since I think we need to just mimic what they have.
If you (or others) find other issues please let me know, so we can make it as accurate as possible to todomvc.
I consider it complete now, unless new bugs arise :)
El vie., 31 ene. 2020 a las 16:00, Andrew Wetmore (<[hidden email]>) escribió:
|Free forum by Nabble||Edit this page|