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

Add a connection error for offline hubs #2326

Merged
merged 2 commits into from
Nov 8, 2023
Merged

Conversation

josevalim
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Nov 8, 2023

Uffizzi Preview deployment-40273 was deleted.

@@ -38,7 +38,7 @@ defmodule Livebook.Hubs.Team do
field :org_key_id, :integer
field :teams_key, :string
field :org_public_key, :string
field :session_token, :string
field :session_token, :string, redact: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we do that for the teams key too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The teams key is not strictly necessary and I thought having it in logs may help if someone loses it :P

@@ -312,7 +312,7 @@ defmodule Livebook.Application do
Livebook.Hubs.save_hub(%Livebook.Hubs.Team{
id: "team-#{name}",
hub_name: name,
hub_emoji: "💡",
hub_emoji: "⭐️",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want something more indicative, perhaps 🔓 or 📦, but it's whatever :D

@josevalim josevalim merged commit 97f64b4 into main Nov 8, 2023
7 checks passed
@josevalim
Copy link
Contributor Author

💚 💙 💜 💛 ❤️

@josevalim josevalim deleted the jv-connection-error-offline branch November 8, 2023 11:26
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.

None yet

2 participants