Show which plugins an app loads, and scope a plugin's pages to that app

Đang mở
#2,037 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/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

Hướng nghiên cứu

Start with src/features/instance/extensions/parseStudioConfiguration.ts to understand page keys, then trace navigation links in useInstanceNavLinks.tsx and the Applications and plugin management pages. The proposal also depends on Harper's get_studio_configuration reporting which app loads each plugin. Done means apps link to their plugins, plugin pages link back to loading apps, and settings are scoped to the selected app.

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

Mô tả

Problem

Once plugins are loaded by apps, nothing connects the two in Studio, and a page can't tell which app it is configuring (#2031):

  • Opening an app in the Applications tab doesn't show the plugins it loads.
  • A plugin's page doesn't show which apps load it.
  • The same plugin can be loaded by two apps with different settings, but a page key of <component>.<id> names only the plugin.
Proposal
  • In Applications, list the plugins an app loads, each linking to its management page, and on a plugin's page list the apps that load it, linking back.
  • Make the app part of a page's identity, as <app>/<plugin>.<id> or as a context the page is opened with, so a settings page edits one app's configuration.

Harper's get_studio_configuration (HarperFast/harper#3656) would need to report which app loads each plugin.

Context

Raised in review of #2031 (comment). Code: src/features/instance/extensions/parseStudioConfiguration.ts (page keys) and useInstanceNavLinks.tsx.

🤖 Generated by Claude Code (Claude Opus 5.5); posted via @dawsontoth.

Ngôn ngữ chính
TypeScript
Star
5
Fork
4
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
60

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 HarperFast/studio

Tất cả issue của HarperFast/studio

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.