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

Refactoring connectable tab #8416

Merged
merged 11 commits into from
May 16, 2023
Merged

Conversation

Clem-Fern
Copy link
Contributor

@Clem-Fern Clem-Fern commented May 12, 2023

Hi @Eugeny, hope you're doing well

As discuss in #8201, I've tried to refactor ssh, serial and telnet tab component and created a connectable base class.
All commits were made and tested meticulously to try to avoid any breaking change.

I voluntarily left the Reconnectable interface but it can probably be deleted. Same for restart-telnet-session, restart-telnet-session and restart-telnet-session, since there are a global reconnect hotkey for connectable tab.

I won't sure there be any good to take in this PR but I have done my best ahah :D
Could you, please, give me a feedback on this?

@Eugeny
Copy link
Owner

Eugeny commented May 15, 2023

Hey, sorry for the delay! I've gone through the PR and it looks great! I think the old interface can be removed too - I'm not aware of any plugins using it.

@Clem-Fern
Copy link
Contributor Author

No problem, glad to hear that :)
I will add a commit to remove the old interface tomorrow.

@Clem-Fern Clem-Fern marked this pull request as ready for review May 16, 2023 17:14
@Eugeny
Copy link
Owner

Eugeny commented May 16, 2023

Looking good!

@Eugeny Eugeny merged commit fac6ec5 into Eugeny:master May 16, 2023
@Clem-Fern Clem-Fern deleted the connectable-refactoring branch June 2, 2023 09:40
Clem-Fern added a commit to Clem-Fern/tabby that referenced this pull request Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants