Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

117: interactive clean up #389

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

117: interactive clean up #389

wants to merge 12 commits into from

Conversation

colinbruce
Copy link
Contributor

@colinbruce colinbruce commented Dec 24, 2021

Allow a user to select which instance to delete from a given context, prompt for their OTP and then delete when OTP matches

@colinbruce colinbruce linked an issue Dec 31, 2021 that may be closed by this pull request
It allows us to compare json responses without having
to match the exact key sequences
This will be used to implement the interactive tidy flow
It displays a standard slack message to the user with
each potential deletion candidate with a button prompt
This will be used to implement the interactive tidy flow
It displays a modal (popup) slack message to the user
describing the selected instance, to confirm, and requests
the user's OTP passcode from their application
Add methods (and test) for opening and updating modals
NOTE: Update is not used yet
Mirror the other helm functions and implement the context for delete
This validates that the OTP code provided by a user is vali

This duplicates some code it currently handled in-line in the
helm command, that will ultimately be removed
Ensure all posts to the slack auth.test endpoints return success
Add handling and tests for updated Helm::Tidy function
Add handlers for new interactive responses, delete_branch and otp_response

The interactive handlers have been extracted to inline classes, these may be extracted
to /lib in the future but for now this reduces the complexity and size of the app class
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UAT Cleanup
1 participant