Skip to content
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

v7: Integrate Markdown, Markdown Slide Set, and new Code Pane #934

Merged
merged 12 commits into from
Aug 4, 2020

Conversation

carloskelly13
Copy link
Contributor

@carloskelly13 carloskelly13 commented Jul 28, 2020

  • Integrates new Markdown support for v7
  • Updates CodePane to support our theming constructs
  • Updates MD and JS examples with a CodePane

JS

js-example

Markdown

markdown-example-2

markdown-example

examples/md/index.js Outdated Show resolved Hide resolved
examples/md/slides.md Outdated Show resolved Hide resolved
@carloskelly13 carloskelly13 marked this pull request as ready for review July 31, 2020 14:35
@carloskelly13 carloskelly13 changed the title Task/integrate markdown main7 v7: Integrate Markdown, Markdown Slide Set, and new Code Pane Jul 31, 2020
@carloskelly13
Copy link
Contributor Author

@ryan-roemer That should fix those two things! Thanks for the review.

package.json Outdated Show resolved Hide resolved
Copy link
Member

@ryan-roemer ryan-roemer left a comment

Choose a reason for hiding this comment

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

One comment about leaving package.json:version to publish time, rest looks and works great! 🎉

@carloskelly13 carloskelly13 merged commit a0c77b2 into main-7 Aug 4, 2020
@carloskelly13 carloskelly13 deleted the task/integrate-markdown-main7 branch August 4, 2020 16:48
carloskelly13 added a commit that referenced this pull request Feb 4, 2021
* Adds business logic hooks and util functions (#930)

* Add util functions

* Added more hooks and numeric functions

* Remove double import

* Updated using mergeAnything

* Integrate Deck and Slide components into existing codebase (#932)

* Started integration work on deck and slide for v7

* Continued work on integration

* Finished initial pass of integrating deck and slide.

* Added Slide Fragments Example.

* Remove local image from example

* v7: Integrate Markdown, Markdown Slide Set, and new Code Pane (#934)

* Started integration work on deck and slide for v7

* Continued work on integration

* Finished initial pass of integrating deck and slide.

* Remove local image from example

* Added more work for MD support

* Working on code slide

* Use Theme Sizing for CodePane.

* Finished Code Pane theming

* Fix imports for Markdown, MarkdownSlideSet

* Updated exports and moved hoisted function.

* Update one-page and rebuild with new js example. Add back control comments. Fix react-dom externals declaration.

* Revert version number

Co-authored-by: Ryan Roemer <ryan.roemer@formidable.com>

* Add base Presenter View to Spectacle v7 (#940)

* Add base Presenter View with Notes support.

* Finished navigation and UI for presenter view.

* Use Broadcast Channel for Dual-Browser message bus for presenting. (#942)

* Use Broadcast Channel for Dual-Browser message bus for presenting.

* Remove debug console statement.

* Feature/templates progress v7 (#946)

* Added template support, fixed Progress component.

* Fix tests for Progress and new Deck Context

* Fix examples Notes import; update one-page

Co-authored-by: Ryan Roemer <ryan.roemer@formidable.com>

* Update ESLint Configuration; Delete Older Files (#947)

* Fix lint issues, delete old files.

* Fix curried component in docs.

* Updated Overview Mode (#950)

* Add base Overview mode.

* Got initial pass of Overview Deck working

* Updated for better Overview mode

* Fix scaling on overview slide.

* Fix Overview Style for Portal.

* Updated styles for focus.

* Fix line endings to LF

* Fix card sizing in overview mode. Added Broadcast Channel polyfill.

* Fix imports!

* Update one-page

Co-authored-by: Ryan Roemer <ryan.roemer@formidable.com>

* Support presenter and overview mode query params inside the url. (#955)

* also update main-7 - fix analgous to analogous, precents to percents (#957)

* Bump version number for Babel to build on Windows (#962)

* Changes for version 7.0.0-beta.1

* 7.0.0-beta.1

* Pass current slide and total count to template. (#963)

* V7: Overview Mode | Update the slideIndex value in url after a user presses tab to select a slide (#961)

* add tab and shift+tab events to useMouseTrap hook in overview mode

add tabindex = 0 only on current slide

outline current slide when switching to overview mode

* add payload option to regressSlide() action to reset the stepIndex back to 0 when regressing slides in overview mode

* overview mode - allow user to press enter to select a slide and exit overview mode, or click to select a slide and exit overview mode

* alphabetically order dependencies for handleSlideClick callback

* fix hover style appearing in default mode

* rename isOverviewMode to inOverviewMode for clarity

* refactor default-deck to contain toggleMode and keyboard shortcuts instead of in deck.js

* refactor default-deck to have usemousetrap and onslidelick below prevously created functions

* use data-in-overview-mode as a prop to prevent React Warning: inOverviewMode prop on DOM Element

* rename data attribute to data-overview-mode to remove redundant words

* add hover state to control onMouseEnter and onMouseLeave props

* v7: Code Pane | Allow single array range in highlightRanges prop (#959)

* allow single array, 2D containing numbers and single digit ranges

* rename isRangeOneLineNumber to a more clear constant isOneLineNumber

* refactor checkIfSingleArrayInHighlightRanges to remove redundant conditions

* remove redundant function - checkIfSingleArrayInHighlightRanges and refactor numberOfSteps

* refactor to prevent error if a user passes in [null, null] or any null/undefined value in highlightRanges prop

* add isRequired to oneOfType proptype to preven null values in highlightRanges prop

* v7: Documentation | Update props used in CodePane (#964)

* docs: remove deprecated props and update to reflect new added props and themes

* add description for the theme prop and highlightRanges prop

* remove stepIndex prop type, to be described in a later PR, and add list of availableCodePaneThemes

* add Default Props column to display theme default prop value

* refactor description of highlightRanges prop from PR feedback

* Changes for version 7.0.0-beta.2

* 7.0.0-beta.2

* Export and Print Mode (#967)

* Added base print mode

* Clean up navigation with new structure.

* Use the correct theme for print vs export mode.

* Update print theme for better printer colors.

* Changes for version 7.0.0-beta.3

* 7.0.0-beta.3

* Update usePresentation hook tests. (#969)

* Cherry Pick: 971 from main

* Add customizable print props and update docs for print props (#972)

* Add customizable print props and update docs for print props

* Remove double propTypes import.

* Changes for version 7.0.0-beta.4

* 7.0.0-beta.4

* Markdown: Fixes and Documentation (#974)

* Fix Notes in Markdown. Update docs for Markdown components.

* Add migration guide for v7

* Changes for version 7.0.0-beta.5

* 7.0.0-beta.5

* Convert functions to arrow functions for js examples (#976)

Co-authored-by: Urmit Patel <upatel@hagerty.com>

* Add Auto-Play support. (#977)

* Add Auto-Play support.

* Simplify tick callback.

* Fix overflow in Presenter Mode for last slide. (#978)

* Fix versions for ESLint for Docs and One Page

* Clean up code.

Co-authored-by: Ryan Roemer <ryan.roemer@formidable.com>
Co-authored-by: Christian Ipanaque <chris.ipanaque@gmail.com>
Co-authored-by: urmit <urmit.patel@formidable.com>
Co-authored-by: Urmit Patel <upatel@hagerty.com>
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.

3 participants