Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Implement detailed result view #2

Open
dmsimard opened this issue Apr 17, 2019 · 4 comments
Open

Implement detailed result view #2

dmsimard opened this issue Apr 17, 2019 · 4 comments

Comments

@dmsimard
Copy link
Contributor

When browsing a list of results, it should be possible to click on it to view details about a specific result.
Doing a query on a result provides useful context in addition to the content of the results which are not available in list view.

Example:

{
    "id": 1,
    "playbook": {
        "id": 1,
        "duration": "38.40244",
        "started": "2019-04-17T13:17:18.334437",
        "ended": "2019-04-17T13:17:56.736877",
        "name": null,
        "status": "failed",
        "path": "/home/dmsimard/dev/sandbox/update-packages.yaml"
    },
    "play": {
        "id": 1,
        "duration": "35.40684",
        "started": "2019-04-17T13:17:18.568601",
        "ended": "2019-04-17T13:17:53.975441",
        "name": "Update packages on all servers",
        "status": "completed",
        "playbook": 1
    },
    "task": {
        "id": 1,
        "duration": "6.309328",
        "started": "2019-04-17T13:17:18.791752",
        "ended": "2019-04-17T13:17:25.101080",
        "name": "Gathering Facts",
        "action": "setup",
        "lineno": 1,
        "handler": false,
        "status": "completed",
        "play": 1,
        "file": 1,
        "playbook": 1
    },
    "host": {
        "id": 2,
        "name": "live-demo-17",
        "alias": null,
        "changed": 0,
        "failed": 0,
        "ok": 0,
        "skipped": 0,
        "unreachable": 1,
        "playbook": 1
    },
    "content": {
        "changed": false,
        "msg": "SSH Error: data could not be sent to remote host \"172.29.239.7\". Make sure this host can be reached over ssh",
        "unreachable": true
    },
    "created": "2019-04-17T13:17:19.720117",
    "updated": "2019-04-17T13:17:19.720153",
    "started": "2019-04-17T13:17:18.791752",
    "ended": "2019-04-17T13:17:19.706423",
    "status": "unreachable"
}
@dmsimard
Copy link
Contributor Author

@gvincent did you have an idea of what this might look like in practice ? Should we go with a modal or something else ?

Worth keeping in mind that we have three different "detailed" views that needs to be implemented:

  • detailed results
  • host facts
  • file contents

In 0.x, these were presented inside modals but it was more as a necessity to defer loading of that content after everything else had loaded. I am not against another implementation but it should be possible to link directly to the object so users can share things.

@dmsimard
Copy link
Contributor Author

dmsimard commented Jul 4, 2019

@jbarascut
Copy link

WIP: https://review.opendev.org/#/c/669221/

Screenshot_2019-07-04 ARA Records Ansible

Hi,

Still in progress ?

@dmsimard
Copy link
Contributor Author

dmsimard commented Sep 3, 2019

Hi @jbarascut !

I'm not actively working on this right now and I won't be able to come back to it for a while still.
If someone else wants to pick up where I left off, I can help or point them in the right direction.

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

No branches or pull requests

2 participants