Architecture #4771
closed
Architecture #4770: Use JSON as datas of tables in Rudder web interface
Rules datable using JSON data source
Added by François ARMAND over 10 years ago.
Updated over 9 years ago.
Description
The goal of that task is to tranform the current Rule grid to use a JSON data source in place of a HTML enhanced table.
The HTML code should only contains the HTML table headers (rows,etc), everything else being filled from the JSON data source.
In the first step, the JSON source may be a simple "var" defined in the page, there is no need to have an asynchronous call to get it. Nonetheless, it is a desirable feature for the future, and the implementation must not make it impossible to code when we will need it.
Some time must be spend to clearly analyse ALL the data used in that table so that we get them all, and build a coherent JSON structure.
- Pull Request set to https://github.com/Normation/rudder/pull/503
- Status changed from 8 to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
No functionnal review needed here (only need to keep the same behavior than before), going to technical review
We decided to generate a Javascript object containing all datas needed to use in the datatable.
We put the code dedicated to the Rule creation in file rudder-datatables.js.
The main goal of that file is to concentrate functions to create datatables in Rudder, and maybe find some shared point between different tables.
Pull request is here: https://github.com/Normation/rudder/pull/503
- Status changed from Pending technical review to In progress
- Assignee changed from François ARMAND to Vincent MEMBRÉ
Some remarks done in the Pull Request, please review them.
All issue adressed, going back to technical review
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.0~beta1 that was released yesterday.
- Tracker changed from Enhancement to Architecture
Also available in: Atom
PDF