Update: Working on FeedLand API, making change in how users table works
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 15/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- HTML
- Stars
- 11
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from scripting/feedlandInstall
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
scripting/feedlandInstall#75 · 3 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
scripting/feedlandInstall#79 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
scripting/feedlandInstall#77 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
scripting/feedlandInstall#76 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 20/100
scripting/feedlandInstall#74 · 3 comments ·
All issues in scripting/feedlandInstall
Similar issues
-
area/sessions comp/agent P2 tool/skills type/perf
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NousResearch/hermes-agent#117788 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·