@artevelde-uas/canvas-lms-fix-files-navigation-plugin
v1.1.1
Published
Fix some navigation issues on file explorer pages
Downloads
11
Keywords
Readme
Fix Files Navigation Plug-in
Plug-in for the Canvas LMS theme app that fixes some navigation issues on file explorer pages.
Features
My Files:
- Adds the missing account navigation
- Adds the missing toggle switch
- Selects the 'Account' menu item in the main navigation
Before:
After:
Course Files:
- Move the course navigation down
- Move the breadcrumbs to the top left
Before:
After:
Installation
Using NPM:
npm install @artevelde-uas/canvas-lms-fix-files-navigation-plugin
Using Yarn:
yarn add @artevelde-uas/canvas-lms-fix-files-navigation-plugin
Usage
Just import the plug-in and add it to the Canvas app:
import { run, addPlugin } from '@artevelde-uas/canvas-lms-app';
import fixFilesNavigationPlugin from '@artevelde-uas/canvas-lms-fix-files-navigation-plugin';
addPlugin(fixFilesNavigationPlugin);
run();
Options
expandMyFilesMenu
Gives you the ability to hide the profile menu by default. (Defaults to TRUE.)
canvas.addPlugin(fixFilesNavigationPlugin, {
expandMyFilesMenu: false
});