In #383139 (closed) we make a more robust UI for creating a runner. There are steps the user has to take to create the runner in the CLI. Once created, we do not provide the user with any feedback in the UI on whether it was successful or if it failed.
Proposal
Add a badge next to Step 2 heading that includes the status of if the runner registered (statuses listed in #387882[runner-registered.png])
Add a confirmation modal when leaving the registration page if the user decides to leave before the runner is registered successfully (#387882[leaving.png])
@mrincon@pedropombeiro@tschmitke My weekly loom video has arrived I would appreciate your feedback on the proposal variations I created! Also, please let me know if checking if the runner is online is a stretch.
Thanks @gdoyle! I also prefer the 3rd scenario, but the 2nd is already good enough. We could even start with the 2nd as an MVP and later on implement the changes for the 3rd, if that saves us time.
Also, please let me know if checking if the runner is online is a stretch.
We should be able to poll for the paused and contactedAt properties to determine that (not sure how Apollo caching might affect that, maybe @mrincon can chime in).
I also prefer the 3rd scenario, but the 2nd is already good enough. We could even start with the 2nd as an MVP and later on implement the changes for the 3rd, if that saves us time.
@pedropombeiro Agreed - I'll let @mrincon weigh in on if there are major frontend differences between options 2 and 3.
I'm going to actually leave the polling part for another issue, so we can just concentrate on checking if the runner is registered in this iteration
@gdoyle I was looking for a way to prevent users from "losing" the token after displayed, and this modal caught my attention. Is the modal part something we could put in workflowready for development?
Motivation: After merging !114742 (merged) I would like to shorten the time the token is available to a few minutes, but users may lose access to the token, so I'd like to prevent them from leaving the page.
hey team, I'm moving this to Backlog since it isn't scheduled for 16.0. Please add to the discussion for the 16.1 planning issue if it is ready for scheduling. Thanks!
I'm closing this out since we already have a good solution with feedback that the runner is ready to pick up jobs. I'll be focusing on Tell the user how to bring their runner online (#392950) instead which connects with the user leaving the creation flow mid-way.