[WIP] First step of moving into ngx
This is WIP of first step in order to replace old (and unsupported) AngularJS based app into Angular (current target is ~10)
- [ ] Codex reworked
- [x] Items
- [x] Browsing each
- [x] Search with filters
- [x] Buildings
- [x] Browsing each
- [x] Search with filters
- [ ] Schematic
- [ ] Browsing each
- [x] Search with filters
- [x] Items
- [ ] Calculator reworked
- [ ] Changing tab name
- [ ] Changing tab icon
- [ ] Production tab
- [x] Adding products
- [x] Removing products
- [x] Cloning products
- [x] Clearing whole production tab
- [ ] Sorting products
- [ ] Items / inputs tab
- [x] Changing each resource values
- [x] Setting resource values to 0
- [x] Reseting resource values back to map's default
- [ ] Adding input products
- [ ] Removing input products
- [ ] Cloning input products
- [ ] Sorting input products
- [ ] Recipes tab
- [ ] Fixing CSS compared to old-version
- [x] Navigation reworked
- [x] Working with LocalStorage, along with previously saved data
- [ ] AngularJS is gone
- [ ] jQuery is gone
- [x] PHP is no longer needed to work with
- [x] Fontawesome goes from node_modules
This PR is not intended to provide best-looking-code-ever, it's top priority is to upgrade app's core int newer version of angular while maitaining app functionality.
I'd mark "jQuery is gone" as optional/part of next PR, since jQuery is required for bootstrap, so that would mean we have to change bootstrap to some alternative as well, which is not required for angularJS > angular migration.
I'd mark "jQuery is gone" as optional/part of next PR, since jQuery is required for bootstrap, so that would mean we have to change bootstrap to some alternative as well, which is not required for angularJS > angular migration.
In this case no, jQuery is not required by any dependency afaik, and bootstrap got replaced by bootstrap-scss which contains scss only :)