Project

General

Profile

Actions

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.

Status:
Released
Priority:
1 (highest)
Category:
Web - UI & UX
Target version:
Effort required:
Name check:
Fix check:
Regression:

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.


Related issues 1 (0 open1 closed)

Related to Rudder - User story #4794: Refresh Rule tableReleasedFrançois ARMAND2014-04-30Actions
Actions #1

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 ?

Actions #2

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

Actions #3

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

Actions #4

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.

Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

All issue adressed, going back to technical review

Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
Actions #7

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #9

Updated by Vincent MEMBRÉ over 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.

Actions #10

Updated by Benoît PECCATTE over 9 years ago

  • Tracker changed from Enhancement to Architecture
Actions

Also available in: Atom PDF