The best editor in the world :)
It’s important to mention that I did it on vanilla javascript because this way could be library/framework agnostic.
Available on https://condition-editor-ui.vercel.app/
I've split the work on a project like a Kanban with my thoughts and commits relations.
- I did the UI part first, the data was only HTML. I tried to make the application compatible with small devices.
- Integrate the filters between them.
- Get the data from the datastore file as a service.
- Join the filters with the "dynamic" data. This was the hard thing to do because there were different criteria.
- Unit testing. I've tried to cover all scenarios. (You can run the test with
yarn test
)
Time spent: 13 hours + 2 hours for testing.
Thank you! 🙏