Diff becomes outdated if original template is changed/updated
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
まず、カスタマイズされたテンプレート値 old と diff が templates フォルダー内のファイルにどのように保存され、適用されるかを、templates/partials/chats-menu.tpl を例として追跡します。更新された元のテンプレートを、古いバージョンを復元したり意図した変更を失ったりすることなく、カスタマイズと組み合わせられれば作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
This may be functioning as intended, but I wanted to raise it nonetheless.
When a customized template is added, two values are saved into the database, old and diff, referring to the original template, and the changes made.
If the underlying template gets changed, old and diff no longer reflect the proper changeset, and could cause issues if the original template contains breaking changes. This is because diff is applied onto old, and then saved to the templates folder, so it will never inherit the updated template.
e.g.
- Persona
templates/partials/chats-menu.tplcontained changes, it now contains tabs and shows profile options, notifications, as well as chats. - If that partial was changed in any way,
chats-menu.tplwill always contain the old modified template, and will not inherit any new changes to that partial.
- 主要言語
- TypeScript
- スター
- 5
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NodeBB/nodebb-plugin-customize のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
NodeBB/nodebb-plugin-customize#19 · コメント 3 件 ·
NodeBB/nodebb-plugin-customize の issue をすべて見る
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100