mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
bc4d16eb83
This is the first version of our Tree implementation. At this point is a very simple tree without no abstractions and with code that eventually is not very performant, but this is only the first iteration and we are trying to follow the 'Last Responsible Moment Principle' [1]. Implemention details: - Creation of PGBrowser.treeMenu - Initial version of the Tree Adaptor 'pgadmin/static/js/tree/tree.js' - TreeFake test double that can replace the Tree for testing purposes - Tests, As an interesting asside because Fake’s need to behave like the real object you will noticed that there are tests for this type of double and they the same as of the real object. [1] https://medium.com/@aidanjcasey/guiding-principles-for-an-evolutionary-software-architecture-b6dc2cb24680 Patched by: Victoria && Joao Reviewed by: Khushboo & Ashesh |
||
---|---|---|
.. | ||
tree_fake.js | ||
tree_spec.js |