Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Web interface: navigation menu on every page

Đã đóng
#262 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #274 của @txoof-bot — đã merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, html, python
Lĩnh vực
frontend, web-dev

Hướng nghiên cứu

Start with src/paperpi/web/templates/base.html, where the header currently shows only the app name and Log out, then read style.css and the page templates to see how each page extends the base. Add a menu with Home, Active Plugins and Plugin Library, mark the current page, and make it fold on narrow screens without JavaScript. Also add a link back to Active Plugins at the top of plugin settings pages. Done when tests confirm the menu appears on each page and every page links to the others.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:web enhancement

Seen in the web interface demo (2026-10-10).

Problem: the web pages have no navigation. The header on every page shows only "PaperPi" and Log out (src/paperpi/web/templates/base.html), so getting back to another page needs the browser's back button. Only the settings page has a "Back to Active Plugins" link, at the bottom.

Wanted: a menu on every page (logged in), for example Home · Active Plugins · Plugin Library, with the current page marked. Later pages (warnings, application and screen settings, M5 parts 4 and 5) get their entry when they are added. It must work on a phone (a short row of links, or a simple menu that folds).

Also: on a plugin's settings page, a clear way back to Active Plugins at the top as well (for example "Active Plugins › Weather Berlin").

Limits: server-built pages and plain CSS, no JavaScript framework (docs/decisions/web-interface.md).

Where: base.html, style.css, and the page templates. Could be done together with #261 (settings page layout) if both are picked up at the same time.

Done when: every page can be reached from every other page without the browser's back button; tests check the menu is on each page; screenshot in the PR.

Ngôn ngữ chính
Python
Star
205
Fork
17
Merge trung bình
5 giờ 42 phút
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của txoof/PaperPi

Tất cả issue của txoof/PaperPi

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.