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

Example repos that move with fizzy, and a dvui app on fizzy's backend

Đang mở
#281 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/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ệ
zig

Hướng nghiên cứu

This is a tracking issue for several linked efforts, not a single task, so start by choosing one unchecked step and its linked issue. The checklist names VERSION, app/, web/ and .paths for #279, examples/ and CI for #282, and scripts/check-examples.sh for the per-PR build. Done means the chosen item's linked issue or PR is merged and its checkbox can be ticked.

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

Mô tả

Fizzy's examples become two repos that move with fizzy, and the app one grows a plain dvui app on fizzy's backend. That dvui app is the proof that the windowing work belongs in dvui (#243).

  • fizzyedit/example-app: fizzy as a library.
    • zig build run-fizzy -Dshape=minimal|studio|endless is a whole fizzy app in that shape.
    • zig build run-dvui will be dvui's own widgets on fizzy's backend: floats, menus and dialogs as OS windows, Liquid Glass on macOS.
  • fizzyedit/example-plugin: the smallest plugin, the template to copy.

Moving with fizzy.

  • Fizzy's CI builds both repos against each PR's own tree (scripts/check-examples.sh), fetched as a URL dependency would be.
  • An SDK release asks example-plugin to repin, as it asks the store plugins.

Steps

  • Both repos created, with the shapes, the hello plugin (now example-plugin) and the shader plugin (example-app's own).
  • #279: fizzy builds when fetched as a URL dependency. VERSION, app/ and web/ were missing from .paths.
  • #282: fizzy's examples/ removed, with CI building the two repos instead (stacked on #279).
  • example-app repinned from #279's commit to main once #279 merges (fizzyedit/example-app#2), and again to main with the backend package and SDK 0.2.20 (fizzyedit/example-app#3).
  • PLUGIN_DISPATCH_TOKEN scoped to example-plugin too, so the SDK release's repin request reaches it (a repo setting). At 0.2.20 every repin request, to the store plugins too, got HTTP 403: the token reaches none of them.
  • example-app follows fizzy main on its own: a workflow that repins it when fizzy releases.
  • #312: fizzy's backend as a package of its own (#243's "On fizzy's side"): SDLBackend, GpuRenderer, platform/**, viewport_map, the SDL pin.
  • Popout's generic half moves into it: subwindows, dialogs and menus into OS windows, driven by dvui's drawRetained and screensSet (#278).
    • #324: the viewports API is the package's, with a stand-in (viewports_none) for backends without OS windows; #328 makes -Dnative-backend=sdl3 build again.
    • #326: one way to draw a viewport's picture, viewports.Picture (stacked on #324).
    • #329: fizzy.addDvui, a dvui app of its own on fizzy's backend or dvui's (stacked on #326).
    • #330: a demo's pointer shows over float, menu and dialog windows (stacked on #326).
  • #325: fizzy adopts dvui.screensSet in place of core.screens' dvui-data plumbing.
  • example-app's run-dvui: a plain dvui app on that backend. Its floating windows are OS windows (fizzyedit/example-app#4, draft until #329 lands); menus and dialogs later, once the app can say which subwindows are menus.
  • The two dvui changes proposed upstream (foxnne/dvui-dev branches window-draw-retained, screens-set), with run-dvui as the demonstration.
Ngôn ngữ chính
Zig
Star
1.5k
Fork
40
Merge trung bình
5 giờ 35 phút
Pull request đã merge (30 ngày)
151

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 fizzyedit/fizzy

Tất cả issue của fizzyedit/fizzy

Issue tương tự

Thêm issue về Build System

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.