c3e952a1a4
closes ADV-104 flag=top_navigation_placement Test plan: - NOTE: You must restart the web container after running Setting.set - PreReqs: - A tool with the `top_navigation` placement - On a Canvas page with the Top Navigation, check the following - Without the tool in the allow list - ENV does not have key `top_navigation_tools` - No tool buttons show up in the navigation bar - With the tool in the allow list by dev key Setting.set("top_navigation_allowed_dev_keys", "global-dev-key-id") - ENV.top_navigation_tools is populated with the tool config - The tool menu button shows up in the top navigation bar - The tool is listed in the menu and can be launched in drawer - Adjust the page to mobile width - Ensure the tool menu shows up in mobile header and can be launched - The tool should open in a tray that overlays the content - Repeat with the tool only in the domain list Setting.set("top_navigation_allowed_dev_keys", "") Setting.set("top_navigation_allowed_launch_domains", "tool-launch-domain") - With the tool in either allow list, add it to the pinned keys list Setting.set("top_navigation_pinned_dev_keys", "global-dev-key-id") - Ensure the tool has a dedicated button in top nav and the tool menu is not rendered. - Repeate with the tool only in the allowd domains list Setting.set("top_navigation_pinned_dev_keys", "") Setting.set("top_navigation_pinned_launch_domains", "tool-launch-domain") - With the tool in the pinned list but not the allowed list, ensure it is not rendered in the top navigation menu and is not in ENV. Change-Id: I267b78316e54dab7f811e3a7d8eaa752668ac5db Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347352 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Xander Moffatt <xmoffatt@instructure.com> QA-Review: Xander Moffatt <xmoffatt@instructure.com> Product-Review: Dustin Cowles <dustin.cowles@instructure.com> |
||
---|---|---|
.github | ||
.storybook | ||
.vscode | ||
Gemfile.d | ||
app | ||
bin | ||
build | ||
config | ||
db/migrate | ||
doc | ||
docker-compose | ||
gems | ||
hooks | ||
inst-cli | ||
jest | ||
lib | ||
log | ||
packages | ||
patches | ||
public | ||
script | ||
spec | ||
tmp | ||
ui | ||
ui-build | ||
vendor/gems/bundler-multilock | ||
.codeclimate.yml | ||
.dependency-cruiser.js | ||
.devcontainer.json | ||
.dive-ci | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.gitmessage | ||
.groovylintrc.json | ||
.i18nignore | ||
.i18nrc | ||
.irbrc | ||
.lintstagedrc.js | ||
.npmrc | ||
.nvmrc | ||
.prettierrc | ||
.rspec | ||
.rubocop.yml | ||
.sentryignore | ||
.stylelintrc | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
Courses | ||
Dockerfile | ||
Dockerfile.githook | ||
Dockerfile.jenkins | ||
Dockerfile.jenkins-cache | ||
Dockerfile.jenkins.final | ||
Dockerfile.jenkins.js | ||
Dockerfile.jenkins.linters | ||
Dockerfile.jenkins.ruby-runner | ||
Dockerfile.jenkins.webpack-assets | ||
Dockerfile.jenkins.webpack-builder | ||
Dockerfile.jenkins.webpack-cache | ||
Dockerfile.jenkins.webpack-runner | ||
Dockerfile.jenkins.yarn-runner | ||
Dockerfile.package-translations | ||
Dockerfile.puma | ||
Gemfile | ||
Gemfile.lock | ||
Gemfile.rails71.lock | ||
Jenkinsfile | ||
Jenkinsfile.axe | ||
Jenkinsfile.cassandra | ||
Jenkinsfile.contract-tests | ||
Jenkinsfile.coverage | ||
Jenkinsfile.coverage-js | ||
Jenkinsfile.crystalball | ||
Jenkinsfile.dive | ||
Jenkinsfile.docker-smoke | ||
Jenkinsfile.docker-sync | ||
Jenkinsfile.dynamodb | ||
Jenkinsfile.js | ||
Jenkinsfile.junit-uploader | ||
Jenkinsfile.master-bouncer-check-all | ||
Jenkinsfile.package-translations | ||
Jenkinsfile.postgres | ||
Jenkinsfile.redis | ||
Jenkinsfile.rspecq | ||
Jenkinsfile.selenium.flakey_spec_catcher | ||
Jenkinsfile.selenium.performance.chrome | ||
Jenkinsfile.test-subbuild | ||
Jenkinsfile.vendored-gems | ||
Jenkinsfile.xbrowser | ||
LICENSE | ||
README.md | ||
Rakefile | ||
SECURITY.md | ||
bower.json | ||
code_of_conduct.md | ||
config.ru | ||
docker-compose.new-jenkins-flakey-spec-catcher.yml | ||
docker-compose.new-jenkins-js.yml | ||
docker-compose.new-jenkins-package-translations.yml | ||
docker-compose.new-jenkins-selenium.yml | ||
docker-compose.new-jenkins.consumer.yml | ||
docker-compose.new-jenkins.vendored-gems.yml | ||
docker-compose.new-jenkins.yml | ||
docker-compose.spring.yml | ||
docker-compose.yml | ||
gulpfile.js | ||
issue_template.md | ||
jest.config.js | ||
karma.conf.js | ||
package.json | ||
renovate.json | ||
rspack.config.js | ||
tsconfig.json | ||
vitest.config.ts | ||
vitest.workspace.ts | ||
yarn.lock |
README.md
Canvas LMS
Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.
Please see our main wiki page for more information
Installation
Detailed instructions for installation and configuration of Canvas are provided on our wiki.