Skip to content

Commit

Permalink
0.0.7
Browse files Browse the repository at this point in the history
Signed-off-by: Dan K. Snelson <[email protected]>
  • Loading branch information
dan-snelson committed Feb 10, 2024
1 parent c8d49c5 commit 081cb60
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
36 changes: 27 additions & 9 deletions Inventory Update Progress/README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,41 @@
# Inventory Update Progress with swiftDialog
# Duration-triggered Inventory Update Progress with swiftDialog

> Provide your users more detailed feedback when updating inventory via Jamf Pro Self Service
![swiftDialog Inventory Update Progress)](images/Self_Service_Inventory_Update_Progress_with_swiftDialog.png "swiftDialog Inventory Update Progress)")
[<img alt="Continue reading about Duration-triggered Inventory Update Progress with swiftDialog at Snelson.us" src="images/Inventory_Update_Progress-0.0.7.png" />](https://snelson.us/2024/02/duration-triggered-inventory-update-progress-with-swiftdialog/)

## Background

While conducting some internal training earlier this week, one of our TSRs asked: "Is updating inventory where the blue circle just spins and spins but doesn't appear to do anything?"
### Fall 2022

In the fall of 2022, while conducting some internal training, one of our TSRs asked:

> “Is updating inventory where the blue circle just spins and spins but doesn’t appear to do anything?”
>
> “Yes,” was my deflated reply.
Shortly thereafter, we implemented **Inventory Update Progress with swiftDialog**.

Later that same year, we introduced **Jamf Pro Self Service racing stripes when using Installomator with swiftDialog**.

All was right with the world.

### Groundhog Day 2024

Fast-forward to Groundhog Day of 2024, I logged into a test Mac mini to update its OS and was greeted by not _one_, not _two_, not _four_, but **three** pending updates:

1. Mozilla Firefox
1. Google Chrome
1. Adobe Acrobat Reader

"Yes," was my deflated reply.
I watched as **inventory** was needlessly submitted **after each and every update**, _just like I told it to_.

Hopefully after implementing this script, you'll never have to be asked that question again.
> Hopefully after implementing this approach, youll never have to be asked the above question or excessively update inventory again.
[Continue reading …](https://snelson.us/2022/10/inventory-update-progress/)
[Continue reading …](https://snelson.us/2024/02/duration-triggered-inventory-update-progress-with-swiftdialog/)

## Script

> :fire: **Breaking Change** for users prior to `0.0.7` :fire:
>
> Version `0.0.7` modifies the Script Parameter Label for `scriptLog` — changing it to a hard-coded variable in the script (as it should have been all along) — Sorry for any Dan-induced headaches.
- [swiftDialog-Inventory-Update-Progress.zsh](swiftDialog-Inventory-Update-Progress.zsh)
- [swiftDialog-Inventory-Update-Progress.zsh](swiftDialog-Inventory-Update-Progress.zsh)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# Version 0.0.6, 29-Nov-2022, Dan K. Snelson (@dan-snelson)
# Added --position bottomright
#
# Version 0.0.7, 07-Feb-2024, Dan K. Snelson (@dan-snelson)
# Version 0.0.7, 10-Feb-2024, Dan K. Snelson (@dan-snelson)
# Added check for recently executed inventory update
#
# :fire: **Breaking Change** for users prior to `0.0.7` :fire:
Expand All @@ -53,10 +53,10 @@
export PATH=/usr/bin:/bin:/usr/sbin:/sbin

# Script Version & Client-side Log
scriptVersion="0.0.7-b6"
scriptVersion="0.0.7"
scriptLog="/var/log/org.churchofjesuschrist.ics.log"

# Display an inventory progress dialog even if an inventory update is not required
# Display an inventory progress dialog, even if an inventory update is not required
displayProgessSansUpdate="true"

# swiftDialog Binary & Logs
Expand Down

0 comments on commit 081cb60

Please sign in to comment.