-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[INNO] ARC-2714 - Adding modals for backfill page #2598
Conversation
…adding-modals-for-backfill-page
…adding-modals-for-backfill-page
@krazziekay It'd be great if you added a ticket for this work on the board and linked it to the PR :) |
const GitHubCloudConnections = ({ | ||
ghCloudSubscriptions, | ||
}: GitHubCloudConnectionsProps) => { | ||
const [isModalOpened, setIsModalOpened] = useState(false); | ||
const [subscriptionForModal, setSubscriptionForModal] = useState<SuccessfulConnection | undefined>(undefined); | ||
const [selectedModal, setSelectedModal] = useState<BackfillPageModalTypes>("BACKFILL"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be good to create an enum for this instead of using strings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think its supported in webpack.
Simply following up on how we're using it in other places in spa
. Can see the comment here in this file.
Can we add some tests for these files? |
Have added 2 test cases for the 2 modals. But will add more once we have endpoints running, which will happen in the next PR. |
What's in this PR?
Why
Screenshot
Whats Next?