Skip to content
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

Wire Connect/Disconnect toggle button #48

Open
zvxvx opened this issue Mar 29, 2024 · 0 comments
Open

Wire Connect/Disconnect toggle button #48

zvxvx opened this issue Mar 29, 2024 · 0 comments
Assignees
Labels
task Not a bug, not a new feature, but still needs to get done
Milestone

Comments

@zvxvx
Copy link
Collaborator

zvxvx commented Mar 29, 2024

I set the Button from display: none to show Disconnect when connecting to a network. Since this is done through useState boolean value, ideally this would trigger different functions based on the state instead: one for connecting (which exists) and another function for disconnecting.

A disconnect button needs to be added to the IRC component window. (I will probably add this) See connect function for details. There is a boolean state value there that turns to true when connected. Disconnect function needs to also include it to set to false to return to Connect component.

@zvxvx zvxvx added the task Not a bug, not a new feature, but still needs to get done label Mar 29, 2024
@edfletcher edfletcher self-assigned this Mar 29, 2024
@edfletcher edfletcher added this to the 1.0 milestone Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Not a bug, not a new feature, but still needs to get done
Projects
None yet
Development

No branches or pull requests

2 participants