Added todos_vue_application feature flag
Instead of interweaving the old todos app on `/dashboard/todos` with the new Vue app, we create a new route `/dashboard/todos/vue` which is a little more green field. This will allow us to work without the CSS and JS tech-debt of the old page. Once the implementation of `/dashboard/todos/vue` is a little more progressed we can feature flag it on the route level. But in the mean time it's also nice that people which have the FF enabled, can just navigate to the old route as well. Follow-up steps would be switching out the route based on the FF in the nav as well. Changelog: added
显示
- app/assets/javascripts/pages/dashboard/todos/vue/index.js 3 个添加, 0 个删除app/assets/javascripts/pages/dashboard/todos/vue/index.js
- app/assets/javascripts/todos/components/todos_app.vue 5 个添加, 0 个删除app/assets/javascripts/todos/components/todos_app.vue
- app/assets/javascripts/todos/index.js 17 个添加, 0 个删除app/assets/javascripts/todos/index.js
- app/controllers/dashboard/todos_controller.rb 4 个添加, 0 个删除app/controllers/dashboard/todos_controller.rb
- app/views/dashboard/todos/_user_has_no_todos.html.haml 8 个添加, 0 个删除app/views/dashboard/todos/_user_has_no_todos.html.haml
- app/views/dashboard/todos/index.html.haml 1 个添加, 8 个删除app/views/dashboard/todos/index.html.haml
- app/views/dashboard/todos/vue.html.haml 17 个添加, 0 个删除app/views/dashboard/todos/vue.html.haml
- config/feature_flags/wip/todos_vue_application.yml 9 个添加, 0 个删除config/feature_flags/wip/todos_vue_application.yml
- config/routes/dashboard.rb 1 个添加, 0 个删除config/routes/dashboard.rb
- spec/controllers/dashboard/todos_controller_spec.rb 27 个添加, 1 个删除spec/controllers/dashboard/todos_controller_spec.rb
加载中
想要评论请 注册 或 登录