feat(admin): integrate form builder for events, surveys, and custom forms

オープン
#1,974 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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:
  • 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

USRSE/usrse.github.io のほかの issue

USRSE/usrse.github.io の issue をすべて見る

似ている issue

Security の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。