Architecture #4771
closedArchitecture #4770: Use JSON as datas of tables in Rudder web interface
Rules datable using JSON data source
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.
Updated by Vincent MEMBRÉ over 10 years ago
- Pull Request set to https://github.com/Normation/rudder/pull/503
PR here: https://github.com/Normation/rudder/pull/503
Francçois, Should the parent not be an architecture meta ticket ?
Updated by Vincent MEMBRÉ over 10 years ago
- 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
Updated by Vincent MEMBRÉ over 10 years ago
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
Updated by François ARMAND over 10 years ago
- 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.
Updated by Vincent MEMBRÉ about 10 years ago
All issue adressed, going back to technical review
Updated by Vincent MEMBRÉ about 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
Updated by Vincent MEMBRÉ about 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 7ab33b884f56c03cea1f01007cd730ee8e97211c.
Updated by François ARMAND about 10 years ago
Applied in changeset ceae9920f8e7f65bf2b0065d0d779dae3bb258c3.
Updated by Vincent MEMBRÉ about 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.0~beta1 that was released yesterday.
- announcement
- changelog
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE over 9 years ago
- Tracker changed from Enhancement to Architecture