This repo is the companion to Flip On The Awesome: A guide to overhauling a Rails app view layer.
It is an app Practical Computer was commissioned to write, which I use as testbed. This is a snapshot of the app right when I turned on the alpha for the Web Awesome UI, to act as a public resource for folks to study.
It’s a simple job and onsite management tool for service companies. The office specifies a job, the tasks it requires, sets up onsites, and assigns tasks to those onsites. Onsites can have notes attached to them. Your standard states & priority flags apply as well.
I recommend focusing on the following places in the repo:
- The original set of Phlex components
- The new set of ViewComponents https://github.com/practical-computer/flip-on-the-awesome-snapshot/tree/main/app/views/components
- The base
PrascticalViews::IconSetandApplicationIconSet - Setting up Web Awesome style utility concerns & abstractions for ViewComponents
- The
FormBuilderextended to support Web Awesome & detailed error rendering - An example of adapting tests based on if the suite is running against the Web Awesome UI
app/javascriptandapp/assets/stylesheets, which have split entry points to avoid code collisions