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

auth plugin: let child apps add a section to Settings → Profile

Đang mở
#661 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
35/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
developer-experience

Hướng nghiên cứu

Start by reading the auth plugin's implementation of Settings → Profile and the runtime configuration in bos.app.ts; the issue does not name their file paths. Define a supported way for child apps to declare ordered sections and for the plugin to render them with signed-in user context and recover from load failures. Done means child apps can add sections without claiming /settings/profile or forking the page; the separate redeem hook is identified as a possible follow-up.

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

Mô tả

Problem

Settings → Profile (/settings/profile) comes from the published auth plugin, so a child app has no way to add its own section there. City Node needs one for a member's attendance record across communities (NEARBuilders/citynode.app#400). For now that list lives on City Node's Home page, while the issue asks for it on Profile.

Proposal

A small, declared extension point on the Profile page, for example:

  • the child app lists profile sections in its app config (bos.app.ts), each with a title and a remote component (or a route path) from the child's UI remote
  • the auth plugin renders them below its own Profile fields, inside its layout, in the configured order
  • if a section fails to load, it shows an error and retry, and the rest of the page keeps working
  • the sections get the signed-in user's context; they read their own data through the child's API

Whatever shape fits the runtime is fine. The main ask is a supported way to do this, so child apps don't have to claim /settings/profile locally and fork the page.

Related, smaller

City Node only learns about a check-in when an organizer opens the community Overview and it syncs from listOnboardingCodes / getOnboardingStatus. A redeem hook or event (child app notified after a successful onboarding-code redeem, with org, code, user and event id) would let the record update right away, without touching the QR → passkey → joined flow. Happy to split this into its own issue.

Context

  • City Node side: getMyAttendance / reconcileAttendance in api/, and the AttendanceRecord component, both merged in NEARBuilders/citynode.app#463
  • Epic: NEARBuilders/citynode.app#408
Ngôn ngữ chính
TypeScript
Star
5
Fork
3
Merge trung bình
9 giờ 37 phút
Pull request đã merge (30 ngày)
157

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 NEARBuilders/everything-dev

Tất cả issue của NEARBuilders/everything-dev

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.