0.12.0rc1
This is a major release which features a complete
rewrite of the web application interface.
The home page now highlights the data recorded by ARA
and the core of the UI now revolves around the one and
single playbook reports page.
There were three main objectives with this UI work:
- Improve UX (ex: being able to search, find & sort things easily
* Everything is now searchable and sortable
* Browsing tips have been added to help users get the most out
of the interface features
- Improve scalability and performance: the interface should be
fast and easy to browse whether you have dozens or thousands
of hosts and tasks
* Every result list or table are now paginated
* You can customize pagination preferences with the
ARA_PLAYBOOK_PER_PAGE and ARA_RESULT_PER_PAGE
configuration parameters.
- Improve static generation time and weight
Examples of the same data sets before and after:
* ARA integration tests (5 playbooks, 59 tasks, 69 results):
* Before: 5.4 seconds, 1.6MB (gzipped), 217 files
* After: 2 seconds, 1.2MB (gzipped), 119 files
* OpenStack-Ansible (1 playbook, 1547 tasks, 1667 results):
* Before: 6m21 seconds, 31MB (gzipped), 3710 files
* After: 20 seconds, 8.9MB (gzipped), 1916 files
Other features and fixes include:
- First party WSGI support [1]
- Fixed syntax highlighting support when viewing files
- Preparations for supporting the upcoming Ansible 2.3 release
- Preparations for full python 3 support
- Various performance improvements
Misc:
- Jinja HTML templates are now fully indented with no regards
to line length or PEP8 to privilege readability over long and
nested content.
- Added some missing web application unit tests
- Various javascript and css optimizations
- The web application backend in itself was significantly
simplified: less routes, less templates, less code
- Added a configuration parameter ARA_PLAYBOOK_PER_PAGE which
controls the amount of playbooks per page in the playbook
report list.
- Added a configuration parameter ARA_RESULT_PER_PAGE which
controls the amount of results per page in the data results
table (such as hosts, plays and tasks).
Known issues:
- The file list table in the file panel will eventually
be replaced by a folder/file hierarchy tree
[1]: http://ara.readthedocs.io/en/latest/webserver.html