Closed rougegoat closed 1 year ago
To me, @rougegoat, this is (currently) "working as designed," but let me replicate and review.
(If there's only a single Configuration, the Dynamic Download Estimates are just an FYI.)
@rougegoat:
Here's what I'm seeing:
https://github.com/dan-snelson/Setup-Your-Mac/assets/24623109/ed72356c-e479-40c5-9e50-dac4d102cc13
(To me, what happens at 00:15
to 00:16
is a distraction; I'll take a look at removing that.)
@rougegoat:
The visual "glitch" has been addressed in 1.10.1-b3
.
(Please feel free to respond here or DM me on the MacAdmins Slack if you'd like to discuss the current approach.)
That half works. It addresses one issue, but then makes the infobox be stuck as Analyzing Input...
if promptForConfiguration
and configurationDownloadEstimation
are both set to False
. That could be addressed by changing line 2895 to
if [[ "${promptForConfiguration}" != "true" ]] && [[ "${configurationDownloadEstimation}" == "true" ]]; then
I think I have a slight rewrite that basically moves the if [[ "${promptForConfiguration" == "true" ]]; then
bit into the checkNetworkQualityConfiguration
function. That makes it so that one function can do both in the same place and removes the need for checkNetworkQualityCatchAllConfiguration
and other workarounds. I'll submit a PR.
Greetings, @rougegoat!
I'll mark this issue "on-hold" while we iron-out #57.
Thanks.
Since #57 was just closed, closing this as well.
Describe the bug The download estimate for the Catch-All configuration runs on the second page, which results in it wiping out all the displayed information like Computer Name, Username, Department, etc in the infobox.
To Reproduce Set
promptForConfiguration
tofalse
andconfigurationDownloadEstimation
totrue
. Run as normal.Expected behavior On the first page, you should see the download estimate show in the Infobox section for the catch-all configuration in the same way it works if
promptForConfiguration
is set totrue
.Code/log output Please supply the full command used, and if applicable, add full output from Terminal. Either upload the log, or paste the output in a code block (triple backticks at the start and end of the code block, please!).
Screenshots These two screenshots have the same User Input entered save for the configuration, which is
Required
on the first and theCatch-All
on the second. Screenshot of behavior ifpromptForConfiguration
andconfigurationDownloadEstimation
are both set totrue
Screenshot of behavior if
promptForConfiguration
is set tofalse
andconfigurationDownloadEstimation
is set totrue
Environment (please complete the following information):
Additional context I'm not sure the best route to addressing this. I think you could potentially combine both the
checkNetworkQualityConfigruation
andcheckNetworkQualityCatchAllConfiguration
, but those interact with enough things that I'm not confident in that guess.