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

render_map_tool: fullscreen button

Đang mở
#286 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

Chưa có ai nhận issue này.

Đá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
56/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reading the render_map_tool controls and the host-context-changed handling that tracks currentDisplayMode; the issue does not name specific files or tests. Check how the app requests display modes and handles host changes, then verify the button is hidden when unsupported and that fullscreen resizes the map, refits it, and uses the side list.

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

Mô tả

enhancement

Problem

The page tracks the host's display mode (currentDisplayMode, from ui/notifications/host-context-changed), but users have no way to ask for a bigger map. Inline maps are about 500 px tall, which is tight for routes across a city or for a list of results.

Proposal

Add a fullscreen button in the top-left controls, under Satellite/Traffic (#278). It requests the fullscreen display mode from the host (MCP Apps display-mode request; in ChatGPT, requestDisplayMode). When the host says the mode changed, the map resizes and refits, and the side list (#262) has room to open.

Notes

  • Hide the button when the host doesn't support display-mode requests.
  • In fullscreen, use the side list rather than the bottom carousel (see #283).
Ngôn ngữ chính
TypeScript
Star
363
Fork
45
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
22

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

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 mapbox/mcp-server

Tất cả issue của mapbox/mcp-server

Issue tương tự

Thêm issue về TypeScript

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.