Update: Working on FeedLand API, making change in how users table works
還沒有人認領這個 Issue。
評估
研究方向
The issue names database.setUserPrefs but no source file or test. Start by locating that entry point and its callers, including feedlandHome and the markTwain prototype; done would require a maintainer-defined regression check that omitted preferences do not overwrite existing user values.
由索引模型根據 Issue 內容生成。
描述
Hopefully there will be no breakage from this change, which I'm making very carefully.
First a bit of background.
- I'm working on a REST API for FeedLand, so we can build other UIs for the data in a feedland instance.
- I have a prototype app whose codename is markTwain. You will hear me refer to it from time to time.
- markTwain doesn't do everything feedlandHome does (that's the app that forms the UI for FeedLand as you use it now).
- So when you assign to the user's prefs, we don't have values for all the things we keep track of for users.
- As-written database.setUserPrefs will set the values of all columns, even if they weren't specified by the caller.
- This isn't a problem for feedlandHome because it always sends all the values.
- But it is a problem for markTwain. So I changed the functionality slightly so that if we don't have a value we don't change it to NULL which is what MySQL would substitute. (I investigate this thoroughly, hopefully.)
markTwain is a placeholder for "all future apps." I could have made MT supply all the values it doesn't do anything with, but this isn't very futuristic. I want to lay a good clean foundation here.
This change should not affect current FeedLand installations, but we should keep an eye out for problems.
I'll post a note in this thread when the changes are deployed.
- 主要語言
- HTML
- 星號
- 11
- 分支
- 4
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
scripting/feedlandInstall 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 55/100
scripting/feedlandInstall#79 · 4 則留言 · 2 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 55/100
scripting/feedlandInstall#77 · 3 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
scripting/feedlandInstall#76 · 3 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 20/100
scripting/feedlandInstall#74 · 3 則留言 ·
-
難度 4/5 3-5 天 新手友好度 20/100
scripting/feedlandInstall#73 · 1 則留言 ·
查看 scripting/feedlandInstall 的全部 Issue
相似的 Issue
-
0.2.1-rc.3 compatibility: 21 peer ranges enumerate exact versions, so rc.3 is rejected可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
NanmiCoder/dsh-agent-teams#277 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutover未關閉doc-audit enhancement
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆