Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

desktop: places to update to real data #3639

Closed
vjeffrey opened this issue May 11, 2020 · 3 comments
Closed

desktop: places to update to real data #3639

vjeffrey opened this issue May 11, 2020 · 3 comments

Comments

@vjeffrey
Copy link

vjeffrey commented May 11, 2020

User Story

@scottopherson has done some AMAZING work to make the desktop view all pretty and nice!

there are a few views/features within this view that still need to be updated with real data.
here is a list of those,

desktop detail view
all details for that table
-API: GET: https://a2-dev.test/api/v0/cfgmgmt/nodes?filter=node_id:

the status graph
-API: GET: https://a2-dev.test/api/v0/cfgmgmt/node_runs_daily_status_time_series?node_id=<node_id>&days_ago=3

the download button
-API: POST: https://a2-dev.test/api/v0/cfgmgmt/reports/export
UI example:

downloadRuns(type: string, filters: NodeHistoryFilter): Observable<string> {

the link to infra run
-navigate to https://a2-dev.test/infrastructure/client-runs/node-id/runs/run-id

desktop list view
filter buttons/counts
-API: GET https://a2-dev.test/api/v0/cfgmgmt/nodes_field_value_counts?terms=platform&terms=status
PR with examples: #3360

download button
-API: POST: https://a2-dev.test/api/v0/cfgmgmt/nodes/export
UI example:

public downloadNodes(type: string, filters: NodeFilter): Observable<string> {

attributes dropdown
-is this static, @apriofrost ?

dash view
filtering when selecting "time since last checked in" item
The "start" and "end" parameters filter on the checked-in date time.
-API: https://a2-dev.test/api/v0/cfgmgmt/nodes?pagination.page=1&pagination.size=100&start=2020-05-03T21:48:57Z&end=2020-05-06T21:48:57Z

we also need to add the filters/sorting/pagination in the url

everyone please feel free to add to this issue as needed!

Aha! Link: https://chef.aha.io/features/SH-1834

@SEAjamieD
Copy link
Contributor

Gonna start working on the Dash portion of this: added an issue just for tracking purposes. #3741

@scottopherson
Copy link
Contributor

@SEAjamieD what's your plan? That date filtering is not really part of the dash overview; that's filtering of the desktop list which is an area I'm currently focusing on.

@SEAjamieD
Copy link
Contributor

SEAjamieD commented May 19, 2020

@SEAjamieD what's your plan? That date filtering is not really part of the dash overview; that's filtering of the desktop list which is an area I'm currently focusing on.

I just started investigating - From what I understand its selecting the "one month, one week, two weeks" etc. item. I see what you mean in that I definitely wont' be able to make sure its displayed. Would it be helpful for you at all if I just wire up that call so that real data is coming back?

I also may not understand the dashboard enough to know whats available yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants