-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update/remove is jarvis host info file check #775
Update/remove is jarvis host info file check #775
Conversation
11 replays were recorded for 2e950a3. 11 Failed
|
…rue (for local and test envs)
Although, since the capabilities response requires a hiive connection we can't rely on it in test environments or even some local development envs. I've also created a helper method that checks the runtime capabilities object, but will fallback to a default true. Is this the best option we have? I think we should default isJarvis to true, since all sites are now migrated - we're just worried about sites that we are not hosting (or have lost a connection for some reason) not being able to get the capabilities, sites that are not migrated (IN for example, should have the false value in their response). |
@circlecube I think it makes sense to default to true for now. |
Proposed changes
This removes the
/.host-info
jarvis check. This was only intended to be a temporary solution. Now we have the isJarvis check on hiive from the capabilities we can use instead. This removed the extraisJarvis
values in the runtime object and container.It also stops referring to the value in the helper and account card components. It was checking the sdk.isJarvis value but this updates to using the
runtime.capabilities.isJarvis
flag instead.There are also some other old references to values within the SDK object which are updated here so the plugin is not referencing the SDK object anywhere (though some modules may still be referencing it, we should completely audit that so we can remove the SDK object and the
nfd-runtime
filter from the plugins and then runtime module.Type of Change
Checklist
Further comments