All reports implemented

This commit is contained in:
Luis Fernando Molina committed 2021-07-16 14:13:23 +02:00
1 parent 78d8a6a64a
commit b4426e6d24
4 files changed
+76

No files matched your search

@@ -0,0 +1,26 @@
function newGovernanceReportsFeatures() {
let thisObject = {
addHTML: addHTML,
initialize: initialize,
finalize: finalize
}
return thisObject
function initialize() {
}
function finalize() {
}
function addHTML(tabIndex) {
return UI.projects.governance.utilities.commonTables.addHTML(
'features',
'Feature',
'Features',
tabIndex
)
}
}
@@ -0,0 +1,26 @@
function newGovernanceReportsPositions() {
let thisObject = {
addHTML: addHTML,
initialize: initialize,
finalize: finalize
}
return thisObject
function initialize() {
}
function finalize() {
}
function addHTML(tabIndex) {
return UI.projects.governance.utilities.commonTables.addHTML(
'positions',
'Position',
'Positions',
tabIndex
)
}
}
@@ -84,6 +84,18 @@ function newGovernanceReportsReportsPage() {
resultCounter = response.resultCounter
break
}
case 'Features': {
let response = UI.projects.governance.spaces.reportsSpace.features.addHTML(7)
HTML = HTML + response.HTML
resultCounter = response.resultCounter
break
}
case 'Positions': {
let response = UI.projects.governance.spaces.reportsSpace.positions.addHTML(8)
HTML = HTML + response.HTML
resultCounter = response.resultCounter
break
}
}
HTML = HTML + '</div>'
@@ -12,6 +12,8 @@ function newGobernanceReportsSpace() {
mentors: undefined,
pools: undefined,
assets: undefined,
features: undefined,
positions: undefined,
tablesSortingOrders: undefined,
changeTableSortingOrder,
physics: physics,
@@ -68,6 +70,12 @@ function newGobernanceReportsSpace() {
thisObject.assets.finalize()
thisObject.assets = undefined
thisObject.features.finalize()
thisObject.features = undefined
thisObject.positions.finalize()
thisObject.positions = undefined
isInitialized = false
}
@@ -93,6 +101,8 @@ function newGobernanceReportsSpace() {
thisObject.mentors = newGovernanceReportsMentors()
thisObject.pools = newGovernanceReportsPools()
thisObject.assets = newGovernanceReportsAssets()
thisObject.features = newGovernanceReportsFeatures()
thisObject.positions = newGovernanceReportsPositions()
thisObject.reportsPage.initialize()
thisObject.footer.initialize()
@@ -101,6 +111,8 @@ function newGobernanceReportsSpace() {
thisObject.mentors.initialize()
thisObject.pools.initialize()
thisObject.assets.initialize()
thisObject.features.initialize()
thisObject.positions.initialize()
setupSidePanelTab()