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

set history to true by default to improve developer experience. #2434

Closed
wants to merge 2 commits into from
Closed

set history to true by default to improve developer experience. #2434

wants to merge 2 commits into from

Conversation

veggiemonk
Copy link

@veggiemonk veggiemonk commented Jun 7, 2019

It took a while to understand why I had to start from the beginning for every change. Searching for that is not easy either.

See issue #2175

While I am developing a presentation, I would like to stay on the current working slide. But after saving changes page is reloaded and presentation is moved to the first slide. It is very annoying. Is there any way to force reveal.js to stay on the current working slide during development? Thanks.

possible improvement: add a npm command such as npm dev which will automatically set history to true without writing it inside the reveal.js Init function.

richardwestenra and others added 2 commits April 8, 2019 10:36
When running the app, Grunt throws the following warnings:

>> Local Npm module "grunt-contrib-clean" not found. Is it installed?
>> Local Npm module "grunt-contrib-nodeunit" not found. Is it installed?

These modules don't appear to do anything except throw a warning so they can probably just be removed.
@veggiemonk veggiemonk changed the title Patch 1 set history to true by default to improve developer experience. Jun 7, 2019
hakimel added a commit that referenced this pull request Jun 10, 2019
@hakimel
Copy link
Owner

hakimel commented Jun 10, 2019

Thanks for the PR. 3.8.0 added a new hash config option. hash: true gives you unique URLs without pushing each slide change to the browser history.

This option was already set in the demo.html file but I've added it to the index.html template now too.

@hakimel hakimel closed this Jun 10, 2019
anthqiu pushed a commit to anthqiu/ubb_final that referenced this pull request Aug 6, 2019
# By Hakim El Hattab (15) and others
# Via GitHub (9) and others
* 'dev' of [email protected]:AntSYau/ubb_final.git: (28 commits)
  Adding missing file to use it properly
  Update package.json for node 12 support
  docs: fix typo
  Tweak to MathJax example
  readme tweak
  rephrased hakimel#2378
  remove available route changes hakimel#2416
  enable url hash for default index.html hakimel#2434 hakimel#2175
  add missing comma to MathJax example in README
  * Mobile Linear Navigation: Fix swipes to navigate linearly
  * Linear Navigation: Fix showing arrows when last slide has vertical children
  first/last slide shortcut now uses shift modified, cmd conflicted with browser back/fwd
  down arrow padding for edge aligned controls
  avoid exception when highlighting empty code blocks
  Notes: Weakly enforce a minimum allocated pacing time per slide
  fix issue where syncSlide would not run/play newly added background content
  new API methods for getting horizontal/vertical slides, force linear navigation for one-dimensional decks
  fix the touch devices issues with the down arrow
  iframe background preload behavior now matches inline iframes + adheres to the new 'preloadIframes' config option
  Notes: Introduce alternate pacing timer, based on total presentation time
  ...

# Conflicts:
#	index.html
mstksg pushed a commit to mstksg/reveal.js that referenced this pull request Mar 9, 2020
R0bes pushed a commit to R0bes/Terraform-Presentation that referenced this pull request Jun 7, 2021
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