Skip to content

Refactor plugin paths and move custom reveal plugin #1898

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Yukaii
Copy link
Member

@Yukaii Yukaii commented Mar 20, 2025

Update plugin paths for spotlight and elapsed-time-bar in slide.js and relocate the custom reveal plugin to the public/js directory.

@Yukaii Yukaii force-pushed the chore/dev-1884-adjust-revealjs-plugin-build branch from 241c612 to 9f0e3a7 Compare March 20, 2025 06:20
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the plugin paths for spotlight and elapsed-time-bar in slide.js and relocates the custom reveal plugin to the public/js directory.

  • Updated webpack rules to copy the plugins from public/js
  • Modified dependency URLs in slide.js to reflect the new plugin paths
  • Relocated and added ESLint disabling comments to the spotlight and elapsed-time-bar plugins

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
webpack.common.js Added a new rule to copy plugins from public/js into revealjs-plugins
public/js/slide.js Updated dependency URLs for spotlight and elapsed-time-bar plugins
public/js/revealjs-plugins/spotlight/spotlight.js Added an ESLint disable comment at the top
public/js/revealjs-plugins/elapsed-time-bar/elapsed-time-bar.js Added an ESLint disable comment at the top

@@ -1,3 +1,4 @@
/* eslint-disable */
Copy link
Preview

Copilot AI Apr 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Using a blanket 'eslint-disable' can hide potential issues; consider disabling only the specific ESLint rules that require suppression.

Suggested change
/* eslint-disable */
/* eslint-disable no-var, no-unused-vars */

Copilot uses AI. Check for mistakes.

@@ -1,3 +1,4 @@
/* eslint-disable */
Copy link
Preview

Copilot AI Apr 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider disabling only targeted ESLint rules instead of using a blanket disable to maintain better code quality.

Suggested change
/* eslint-disable */
/* eslint-disable no-var, prefer-arrow-callback, no-unused-vars */

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants