Merge branch 'master' into 08-13-ignore-testing-kodiak-merge-bot

This commit is contained in:
kodiakhq[bot] 2020-08-13 16:57:44 +00:00 committed by GitHub
commit 394196fe83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 7 deletions

View File

@ -33,7 +33,7 @@ require_automerge_label = true
blocking_title_regex = "" # default: "^WIP:.*", options: "" (disables regex), a regex string (e.g. ".*DONT\s*MERGE.*")
# Kodiak will not merge a PR with any of these labels.
blocking_labels = ["s/do-not-merge", "s/wip"][] # default: []
blocking_labels = ["s/do-not-merge", "s/wip"] # default: []
# Choose merge method for Kodiak to use.
#

View File

@ -116,13 +116,22 @@ window.hdocs = (function () {
});
}
const searchField = document.getElementById('search_element');
const searchHelp = document.getElementById('search_help');
const hideHelp = function () { searchHelp.classList.add('hide'); }
if (suggestions.length === 0) {
setTimeout(function () { document.getElementById('search_help').classList.remove('hide'); }, 100);
document.getElementById('search_element').addEventListener('blur', function () {
setTimeout(function () { document.getElementById('search_help').classList.add('hide'); }, 100);
});
} else if (!document.getElementById('search_help').classList.contains('hide')) {
document.getElementById('search_help').classList.add('hide');
setTimeout(function () { searchHelp.classList.remove('hide'); }, 100);
searchField.addEventListener('blur', function () {
setTimeout(hideHelp, 100);
}, { once: true });
searchField.addEventListener('input', function () {
if (searchField.value === '') {
setTimeout(hideHelp, 100);
}
}, { once: true });
} else if (!searchHelp.classList.contains('hide')) {
hideHelp();
}
return suggestions;

View File

@ -18,6 +18,7 @@ configure an admin secret key.
Depending on your deployment method, follow one of these guides to configure an admin secret key, and prevent public
access to your GraphQL endpoint and the Hasura console:
- `For Hasura Cloud <https://hasura.io/docs/cloud/1.0/manual/projects/secure.html>`__
- :ref:`For Heroku <heroku_secure>`
- :ref:`For Docker <docker_secure>`
- :ref:`For Kubernetes <kubernetes_secure>`