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

fix(plugins): session layouts are still serialized using the legacy plugin syntax (remote:) #3224

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

noirbizarre
Copy link
Contributor

In #2863 and #3157, remote plugins are now designed with their raw URL directly, without the remote: prefix but they were still serialized using the remote: prefix in session layouts.
As a result, session using remote plugins were not able to restore remote plugins (like zjstatus).
This PR just apply the same serialization everywhere to ensure no more remote: prefix is used.

@noirbizarre noirbizarre changed the title fix(plugins): session layouts were still serialized using the legacy plugin syntax (remote:) fix(plugins): session layouts are still serialized using the legacy plugin syntax (remote:) and breaks session restoration Mar 26, 2024
@noirbizarre noirbizarre changed the title fix(plugins): session layouts are still serialized using the legacy plugin syntax (remote:) and breaks session restoration fix(plugins): session layouts are still serialized using the legacy plugin syntax (remote:) Mar 26, 2024
@imsnif
Copy link
Member

imsnif commented Mar 27, 2024

Good catch!!

I changed the domain in the test to use the standard example.com domain because somewhere.com can potentially be a real thing.

Thanks for this!

@imsnif imsnif merged commit a54a7ea into zellij-org:main Mar 27, 2024
6 checks passed
@noirbizarre noirbizarre deleted the fix/session-layout-plugins branch March 27, 2024 12:27
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