Skip to content

Make slide deck paginated by default with viewport-scaled slides#160

Merged
simonkurtz-MSFT merged 8 commits intomainfrom
copilot/create-presentation-outline
Feb 26, 2026
Merged

Make slide deck paginated by default with viewport-scaled slides#160
simonkurtz-MSFT merged 8 commits intomainfrom
copilot/create-presentation-outline

Conversation

Copy link
Contributor

Copilot AI commented Feb 26, 2026

Slide deck opened as a vertically-scrolled page by default, requiring F5/F to enter presentation mode. Slides also rendered at fixed 1280×720 without scaling to the viewport.

Changes

  • Paginated by default: Auto-enter presentation mode on page load so slides display one-at-a-time like PowerPoint
  • Viewport scaling: Dynamically scale slides to fill available screen real estate via Math.min(innerWidth/1280, innerHeight/720) with a resize listener
  • Nav help updated: Reflects new default — Esc overview · Dbl-click to resume replaces F to start · Esc to exit

Overview mode is still accessible via Escape; double-click or F returns to paginated view.

function scaleSlides() {
  if (!document.body.classList.contains('presentation-mode')) return;
  var scale = Math.min(window.innerWidth / 1280, window.innerHeight / 720);
  slides.forEach(function (s) {
    s.style.transform = 'translate(-50%, -50%) scale(' + scale + ')';
  });
}

// Start in presentation mode by default
enterPresentation();

Paginated slide deck


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 26, 2026 01:40
…keyboard navigation

Co-authored-by: simonkurtz-MSFT <84809797+simonkurtz-MSFT@users.noreply.github.com>
…platform references

Co-authored-by: simonkurtz-MSFT <84809797+simonkurtz-MSFT@users.noreply.github.com>
Copilot AI changed the title [WIP] Create presentation outline using Azure styles Add presentation outline and runnable HTML slide deck Feb 26, 2026
Copilot stopped work on behalf of simonkurtz-MSFT due to an error February 26, 2026 13:07
Co-authored-by: simonkurtz-MSFT <84809797+simonkurtz-MSFT@users.noreply.github.com>
Copilot AI changed the title Add presentation outline and runnable HTML slide deck Make slide deck paginated by default with viewport-scaled slides Feb 26, 2026
@simonkurtz-MSFT
Copy link
Member

@copilot Why can I not check out this branch?

Copy link
Contributor Author

Copilot AI commented Feb 26, 2026

@copilot Why can I not check out this branch?

The branch copilot/create-presentation-outline is pushed to origin and up to date (commit 6d69554). You should be able to fetch and check it out with:

git fetch origin
git checkout copilot/create-presentation-outline

If you've already fetched and it's not appearing, try git fetch --all --prune to refresh your local remote-tracking branches.

@simonkurtz-MSFT simonkurtz-MSFT added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 26, 2026
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@simonkurtz-MSFT simonkurtz-MSFT marked this pull request as ready for review February 26, 2026 22:21
@github-actions
Copy link

🐍 Python 3.14 Results

Metric Status Value
Ruff 0 issue(s)
Unit Tests success
Code Coverage 📊 100%

Full Workflow Logs

@github-actions
Copy link

🐍 Python 3.13 Results

Metric Status Value
Ruff 0 issue(s)
Unit Tests success
Code Coverage 📊 100%

Full Workflow Logs

@github-actions
Copy link

Python 3.13 Detailed Test Results

1 632 tests  +60   1 632 ✅ +60   16s ⏱️ -4s
    1 suites ± 0       0 💤 ± 0 
    1 files   ± 0       0 ❌ ± 0 

Results for commit 2c36814. ± Comparison against base commit cbca0c0.

@github-actions
Copy link

Python 3.14 Detailed Test Results

1 632 tests  +60   1 632 ✅ +60   12s ⏱️ -8s
    1 suites ± 0       0 💤 ± 0 
    1 files   ± 0       0 ❌ ± 0 

Results for commit 2c36814. ± Comparison against base commit cbca0c0.

@github-actions
Copy link

🐍 Python 3.12 Results

Metric Status Value
Ruff 0 issue(s)
Unit Tests success
Code Coverage 📊 100%

Full Workflow Logs

@github-actions
Copy link

Python 3.12 Detailed Test Results

1 632 tests  +60   1 632 ✅ +60   18s ⏱️ -2s
    1 suites ± 0       0 💤 ± 0 
    1 files   ± 0       0 ❌ ± 0 

Results for commit 2c36814. ± Comparison against base commit cbca0c0.

@simonkurtz-MSFT simonkurtz-MSFT merged commit c8d14dc into main Feb 26, 2026
9 checks passed
@simonkurtz-MSFT simonkurtz-MSFT deleted the copilot/create-presentation-outline branch February 26, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants