Skip to content

Upcoming activities: Run scripts on online/offline hosts #15529

@noahtalerman

Description

@noahtalerman

Goal

User story
As an IT admin,
I want to run a script against a host whether it's online or offline and see a list of past and upcoming activities (scripts only for now)
so that I can run a script and know when this script will run relative to other upcoming activities.

Product

Engineering

  • Database schema migrations: TODO

ℹ️  Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".

Context

  • Requestor(s): _________________________

QA

Manual testing steps

UI Testing

  1. Copy is updated in global Activity feed (see Figma)
  2. Activity feed is added to Host details page, displaying 8 items per page
  3. Host Activity feed shows Past and Upcoming tabs, tabs are populated based on scripts status
  4. Past tab is default view
  5. Past tab has a loading state, Upcoming tab does not
  6. Upcoming tab shows count badge if at least one script is queued, otherwise no badge
  7. Upcoming items have no timestamp
  8. Upcoming is ordered by time command sent
  9. Upcoming tab shows a "Activities run as listed" tooltip (reference Figma)
  10. Scripts tab is removed > Run Script button shows in Actions menu instead
  11. All previous Scripts tab functionality is now in a modal
  12. Run Script available if Host is offline
  13. QUESTION - what happens to this menu item if Scripts are globally disabled?
  14. Pending status: tooltip copy updated, script details modal copy updated (see Figma)
  15. Running the script displays loading state and closes the modal, a success/failure message is displayed (see Figma)
  16. Validate page responsiveness at different widths vs Figma
  17. Validate scripts upload & execution now supported in Fleet Free

Testing notes

Confirmation

  1. Engineer (@____): Added comment to user story confirming succesful completion of QA.
  2. QA (@____): Added comment to user story confirming succesful completion of QA.

Metadata

Metadata

Assignees

Labels

#g-mdmMDM product group:productProduct Design department (shows up on 🦢 Drafting board)P2Urgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needcustomer-prestonstoryA user story defining an entire feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions