@artevelde-uas/canvas-lms-fix-files-navigation-plugin

1.1.1 • Public • Published

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:

Example image

After:

Example image

Course Files:

  • Move the course navigation down
  • Move the breadcrumbs to the top left

Before:

Example image

After:

Example image

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
});

Readme

Keywords

Package Sidebar

Install

npm i @artevelde-uas/canvas-lms-fix-files-navigation-plugin

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

392 kB

Total Files

10

Last publish

Collaborators

  • digitaalleren
  • renaatdemuynck