Update: Working on FeedLand API, making change in how users table works
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 15/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- HTML
- Star
- 11
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của scripting/feedlandInstall
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
scripting/feedlandInstall#79 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
scripting/feedlandInstall#77 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
scripting/feedlandInstall#76 · 3 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
scripting/feedlandInstall#74 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
scripting/feedlandInstall#73 · 1 bình luận ·
Tất cả issue của scripting/feedlandInstall
Issue tương tự
-
tool-calling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
vllm-project/vllm#59838 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
raullenchai/Rapid-MLX#4037 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
diegosouzapw/OmniRoute#15401 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
company delete fails with 500 on any company that has activity (cost events, inbox dismissals)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
paperclipai/paperclip#14982 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày