reveal.js icon indicating copy to clipboard operation
reveal.js copied to clipboard

Feature suggestion: Slide filtering for custom slideshows

Open SeanKilleen opened this issue 6 years ago • 2 comments

Hi all,

Suggesting a feature here that I'd be willing to implement and do a PR for.

I have a few presentations that I'd love to convert to use RevealJS. However, we have one large slideshow and some subsections are only targeted to certain audiences (for context, it's a technical training but certain sections / examples only apply to certain languages).

I'd love to be able to apply filter tags to slides and then have RevealJS selectively load only the slides that match the applicable filter.

My thoughts on this so far:

  • A filter of * means the slide shows up for all filters
  • No filter specified is the equivalent of a filter of *
  • Filters could be passed in to the query string in a comma-separated list, e.g. ?filters=filter1,filter2 would load slides with filter1 or filter2 specified and also all slides with * or no filter.
  • Admin interface could include a checklist of available filters, sourced from slides and show/hide them accordingly.

Is this sort of thing something that RevealJS would be interested in receiving?

SeanKilleen avatar Mar 04 '18 16:03 SeanKilleen

To clarify -- I am posting this here because it seems like it would be more of a core feature than a plugin. If it would be better as a plugin, let me know.

SeanKilleen avatar Mar 04 '18 16:03 SeanKilleen

@SeanKilleen have you implemented this feature?

stephane-klein avatar Apr 30 '22 09:04 stephane-klein