Project

General

Profile

Feature #23116

Reporting UI

Added by William Grzybowski over 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Expected
Assignee:
Peter Southwell
Category:
GUI (new)
Estimated time:
30.00 h
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

Feature parity with 9 UI.

Showing graph reports in groups with the ability to navigate in time + zoom in/out.

This is going to be done using the middleware stats plugin (websocket).

Research is required to find out the most suitable JS graphing library.


Related issues

Related to FreeNAS - Feature #25421: Need reporting section for the new UIClosed: Duplicate2017-08-02

History

#1 Updated by William Grzybowski over 4 years ago

  • Description updated (diff)

#2 Updated by William Grzybowski over 4 years ago

  • Description updated (diff)

#3 Updated by William Grzybowski over 4 years ago

  • Estimated time set to 30.00 h

#4 Updated by William Grzybowski over 4 years ago

  • Assignee changed from William Grzybowski to Xin Tan

#5 Updated by Xin Tan about 4 years ago

  • Assignee changed from Xin Tan to Lola Yang
  • Target version changed from 49 to 11.2-BETA1

Lola is more familiar with this feature

#6 Updated by Dru Lavigne about 4 years ago

  • Related to Feature #25421: Need reporting section for the new UI added

#7 Updated by Anonymous about 4 years ago

  • Assignee changed from Lola Yang to Peter Southwell

Pete is going to work on this feature

#8 Updated by Peter Southwell about 4 years ago

  • % Done changed from 0 to 90

Adding new chart to work in master-egret version.

And.. Ill be adding forward backward time scroll as well as zoom in.

#10 Updated by Peter Southwell about 4 years ago

Fixed the issue with our charts.. Ommision of needed CSS script in angular.cli.json was all.

Have all the screens... Only thing missing is..

Time Scroll ( Backward (historic) - Foward (Most Current) )

Zoom

#11 Updated by Peter Southwell about 4 years ago

n the bellow for the stats.get_data api. I have a question about how stats-filter works..

let stats_filter: any = { 'step': null, // Is this needed.. And if so.. Whats the Max Value?... Is this like... 100 (first 100 items.. 100 again.. )..
// If that's the case.. Don't I need two numbers (Step and limit)? or an Iterator?

'start': "Date string", // What is the format ?
'end':  "Date string", // What is the format ?
'additionalParameters':  true/false  // What does this do?
};

Im wanting this information so I can do the scroll time: forward (most recent) / backward (Historic)

And deal with ZOOM which Id assume/gather... Affects the step size.

Here's the current doc.. http://ANY_FREENAS_11_URL/api/docs/#system
stats
stats.get_data
Arguments: { "type": "array", "title": "stats-list" }{ "type": "object", "title": "stats-filter", "properties": { "step": { "type": [ "integer", "null" ], "title": "step" }, "start": { "title": "start", "type": [ "string", "null" ] }, "end": { "title": "end", "type": [ "string", "null" ] } }, "additionalProperties": false }

Get data points from rrd files.
That's all that' there. "stats-list".. I figured out already. And passing currently empty object for stats-filter that Id like to attach to zoom/forward/backward buttons

#12 Updated by Peter Southwell about 4 years ago

Fixed colors mis-aligning.

Fixed resize issue when not glovbally delivered (Internal dom level resize event). not supported normally but made possible with the famous.... element-resize-detector javascript library. Worked like a charm.

#13 Updated by Peter Southwell almost 4 years ago

  • Status changed from Screened to Ready For Release

Got this page up and working

All the right charts.

Pagination...

Beautified by Damian after.

#14 Updated by Dru Lavigne almost 4 years ago

  • Target version changed from 11.2-BETA1 to 11.1-BETA1
  • Private changed from No to Yes

#15 Updated by Dru Lavigne almost 4 years ago

  • Status changed from Ready For Release to Resolved
  • Target version changed from 11.1-BETA1 to Master - FreeNAS Nightlies
  • Private changed from Yes to No

Also available in: Atom PDF