Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#661 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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
主要语言
TypeScript
星标
5
派生
3
平均合并
9 小时 20 分钟
30 天内合并 PR
159

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NEARBuilders/everything-dev 的其他 Issue

查看 NEARBuilders/everything-dev 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。