feat(admin): integrate form builder for events, surveys, and custom forms
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- json, react, tailwindcss
調査の方向性
Start by evaluating the four listed builder libraries against license, bundle size, theming, schema portability, and renderer integration. Then inspect the existing admin design system and canEditMembers/role-tier model to shape /forms access. Done means a library choice and a defined path for schema persistence, validation, rendering, submissions, permissions, and audit entries.
索引モデルが issue の本文から書いたものです。
説明
Summary
Add a drag-and-drop form-builder surface to the admin UI so staff/super_admins can compose forms (event registrations, surveys, applications, custom intake) without code, then publish them to the public site for members to fill out.
Requirements
- Evaluate candidate libraries and pick one. Initial shortlist:
- React Hook Form Form Builder — light, generates RHF schemas; minimal opinions
- Coltorapps Builder — headless, extensible; bring-your-own UI
- Form.io open source — heavyweight; bundled renderer + builder + server bits we may not want
- SurveyJS (React) — mature; commercial-license check required
- Define the form-schema persistence model (likely `forms` + `form_submissions` tables, schema stored as jsonb)
- Admin route at `/forms` (or similar) gated by an appropriate policy (likely `canEditForms`, staff+)
- Builder UI styled consistently with the existing admin design system (white background, rounded purple primaries, cool-toned palette — not a vendor's default theme)
- Server-side schema validation when submissions land (don't trust client-built schemas blindly)
- Public renderer on the member-facing site that consumes the same schema
- Submission storage + a basic admin view of submissions per form
- Audit-log entries for form publish / unpublish / edit actions
Context
This is groundwork for several near-term workflows: annual event registration, post-event surveys, leadership-position applications, ad-hoc community polls. Each one would otherwise be a one-off Google Form or a custom-coded page.
The four candidate libraries have very different shapes — picking one is the load-bearing decision. Library evaluation should weigh: license, bundle size, theming flexibility, schema portability (can we read the schema server-side without the builder runtime?), and how well the renderer integrates with our existing Tailwind/design-system surface on the public site.
Implementation Notes
- The form schema should be portable: serialized JSON that we own, not a library-specific binary blob.
- Renderer on the public site needs to work without authoring dependencies (admins build, members render — different bundles).
- Permissions: who can build forms? who can publish? who can read submissions? Tie into the existing `canEditMembers` / role tier model.
- Consider whether form approval (next issue) is a v1 feature or a follow-up gate.
- 主要言語
- HTML
- スター
- 33
- フォーク
- 107
- 平均マージ
- 14時間 6分
- マージ済み PR(30日)
- 19
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
USRSE/usrse.github.io のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
USRSE/usrse.github.io#2117 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 63/100
USRSE/usrse.github.io#2115 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
broken-links
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
USRSE/usrse.github.io#2099 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
USRSE/usrse.github.io#2085 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
USRSE/usrse.github.io#2001 ·
メンテナーはふだん 1 日以内に返信
USRSE/usrse.github.io の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Abidemialade/mylonite#429 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Reject non-numeric 10-character strings in enterWorld() phone validation on index.html対応中かも @princepandey3 が今日担当しました。 オープンbug good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
Ayaan-20-11/Zentro-#76 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
alchemistry/alchemlyb#474 ·