AbsaOSS / AbsaOSS/enceladus

Break the UI down into components

Đang mở
#371 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Epic Menas priority: medium refactoring
Ngôn ngữ chính
Scala
Star
33
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.