From e8acee887eed8b317c9189ff4c9c0d0fdb1b2a0e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 27 Sep 2025 00:58:25 +0000 Subject: [PATCH 1/3] Initial plan From 7782184d45d1b9f8ba938a1e568dcd74e651b8f3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 27 Sep 2025 01:09:05 +0000 Subject: [PATCH 2/3] Improve code quality, accessibility, and error handling across HTML, Python, and configuration files Co-authored-by: huangyingting <24954047+huangyingting@users.noreply.github.com> --- README.md | 2 +- _includes/head-custom.html | 60 +++++++++++++++------ app/app.py | 79 ++++++++++++++++++++++++++-- app/requirements.txt | 6 ++- tools/md_to_pptx.py | 104 +++++++++++++++++++++++++++++++------ 5 files changed, 211 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 49b920f..df9a808 100644 --- a/README.md +++ b/README.md @@ -275,7 +275,7 @@ Copilot is excellent at identifying patterns and saving you from typing boilerpl - `alt + [` previous suggestion -### Next Edit Suggestions(NES) +### Next Edit Suggestions (NES) With NES you make a change and then Copilot predicts the changes that follow and presents them to you in sequence. [Copilot Next Edit Suggestions](https://githubnext.com/projects/copilot-next-edit-suggestions/) 1. Open Python file `models.py`. diff --git a/_includes/head-custom.html b/_includes/head-custom.html index af27b5c..2617765 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -45,6 +45,10 @@ transition: background-color .15s ease, box-shadow .15s ease, transform .08s ease; will-change: background-color, box-shadow, transform; max-width: 56px; /* cap width for compact buttons */ + cursor: pointer; + /* Improve touch targets for mobile accessibility */ + min-height: 44px; + min-width: 44px; } .issue-fab:hover { background-color: var(--btn-bg-hover); /* text color intentionally unchanged */ @@ -100,6 +104,17 @@ .issue-fab:hover { transform: none; } .issue-fab__tooltip { transition: none; } } + + /* Responsive design improvements */ + @media (max-width: 768px) { + .issue-fab { + inset-inline-end: 12px; + inset-block-end: calc(12px + env(safe-area-inset-bottom, 0)); + } + .issue-fab--docs { + inset-block-end: calc(68px + env(safe-area-inset-bottom, 0)); + } + }