AbsaOSS / AbsaOSS/enceladus

Break the UI down into components

未关闭
#371 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Epic Menas priority: medium refactoring
主要语言
Scala
星标
33
派生
16
PR 合并指标
30 天内没有已合并 PR

描述

Currently, the JS controllers and services are bloated and leaking responsibilities. Our two layers (controllers and services) are not well isolated and do not provide the sort of single-responsibility abstraction they should. It would do us much better to step by step break the services and views into components which define their own isolated models and behaviours.

This requires:
* extracting components from the XML views (i.e., reusable fragments)
* isolating the models bound to these components (i.e., not a shared global model)
* encapsulating the logic associated with these components into their own JS classes
* using the controllers to create this component dependency tree and delegate to it

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。