Make built-in models abstract
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
まず、組み込みモデル、StreamField blocks、CODERED_FRONTEND_* settings、snippet の処理、および issue で言及されているプロジェクトテンプレートを整理します。抽象モデルが snippet の選択、navbar/footer templates、マイグレーションにどのような影響を与えるかを判断します。完了の条件は、過剰な boilerplate なしにプロジェクト固有の setting マイグレーションを回避する、文書化された設計があることです。
索引モデルが issue の本文から書いたものです。
説明
If we want to continue using CODERED_FRONTEND_* settings (which I think we do, they will be the foundation of themes), we will have to make everything that uses our streamfield blocks abstract.
The issue is, many coderedcms models use streamfield blocks that pull values from CODERED_FRONTEND_* settings. Which means if you change one of these settings in your project, it triggers a migration in coderedcms. Which is a bad practice and leads to endless migrations.
This fits in with the paradigm we have been following with the page types. Provide beefy abstract models, and provide a very basic concrete model boilerplate in the project template.
One caveat to making the snippets abstract, is that we will no longer be able to provide a snippet chooser, or hard-code templates that pull in navbar/footer snippets. So this will have to be thought through to figure out how to gracefully handle all of this without re-defining everything in the project template (which would be too much boilerplate I think).
Anyhow, this pretty major regarding future stability. Implementing it will inevitably be a breaking change. But there is no other way to have dynamic blocks and themes. So I think it is necessary.
- 主要言語
- Python
- スター
- 762
- フォーク
- 153
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coderedcorp/coderedcms のほかの issue
-
Type: Bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
coderedcorp/coderedcms#714 ·
-
Type: Bug
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
coderedcorp/coderedcms#711 ·
-
Type: Bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
coderedcorp/coderedcms#713 · コメント 1 件 ·
-
Form submissions return 404 with Wagtail 7.x due to FormMixin isinstance check対応中かも @bradrice が 111 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
coderedcorp/coderedcms#710 · コメント 4 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
coderedcorp/coderedcms#709 ·
coderedcorp/coderedcms の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FinanceFlash/unvibecode#509 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
FAIRmat-NFDI/nomad-distro-dev#161 ·
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
modelcontextprotocol/python-sdk#3821 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug severity:low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
Log-odds calibration uses upper middle score instead of median for even candidate sets対応中かも @flysheep-ai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信