2
3
Fork
You've already forked PsyLog-android
7

feat: Add support for delayed release administration in ingestion process for methylphenidate only #6

Open
luc2112 wants to merge 1 commit from luc2112/PsyLog-android:main into main
pull from: luc2112/PsyLog-android:main
merge into: PsyLog:main
PsyLog:main
First-time contributor
Copy link

Warning : this is AI Slop, i made this for myself, i checked it it seems fine but i suck so dont merge it blindly.

  • Introduced a new ingestion method for delayed release, allowing two doses to be taken 4 hours apart.
  • Updated ExperienceRepository to include a method for inserting ingestions.
  • Modified FinishIngestionScreenViewModel to handle delayed release logic, creating two ingestions with half doses.
  • Added DELAYED_RELEASE option to AdministrationRoute with appropriate descriptions and properties.
Warning : this is AI Slop, i made this for myself, i checked it it seems fine but i suck so dont merge it blindly. - Introduced a new ingestion method for delayed release, allowing two doses to be taken 4 hours apart. - Updated ExperienceRepository to include a method for inserting ingestions. - Modified FinishIngestionScreenViewModel to handle delayed release logic, creating two ingestions with half doses. - Added DELAYED_RELEASE option to AdministrationRoute with appropriate descriptions and properties.
Author
First-time contributor
Copy link

this implementation sucks balls

this implementation sucks balls
luc2112 closed this pull request 2026年03月06日 20:16:41 +01:00
Member
Copy link

@luc2112 i'm confused, what issue are you refering to

@luc2112 i'm confused, what issue are you refering to
Author
First-time contributor
Copy link

sorry, i wanted to add a ROA to methylphenidate that reflects the dual spikes experienced with delayed release methylphenidate like ritalin LP , in order to track my medication easily, the codebase doesnt support doing dual spikes so i had to hack something together that uses two hidden ROAs so the quick log would work as expected
,this should'nt mess with any other systems but still check it because i am very inexperienced.

originally i did it in a way that sucked and that used the original Oral methylphenidate ROA but it was shit it created issues, so i just did it again, in a better way.

sorry, i wanted to add a ROA to methylphenidate that reflects the dual spikes experienced with delayed release methylphenidate like ritalin LP , in order to track my medication easily, the codebase doesnt support doing dual spikes so i had to hack something together that uses two hidden ROAs so the quick log would work as expected ,this should'nt mess with any other systems but still check it because i am very inexperienced. originally i did it in a way that sucked and that used the original Oral methylphenidate ROA but it was shit it created issues, so i just did it again, in a better way.
luc2112 reopened this pull request 2026年03月06日 22:05:03 +01:00
Member
Copy link

please mark this PR as a draft until it is ready to be reviewed

please mark this PR as a draft until it is ready to be reviewed
luc2112 changed title from (削除) feat: Add support for delayed release administration in ingestion process for methylphenidate only (削除ここまで) to WIP feat: Add support for delayed release administration in ingestion process for methylphenidate only 2026年03月06日 22:22:47 +01:00
luc2112 changed title from (削除) WIP feat: Add support for delayed release administration in ingestion process for methylphenidate only (削除ここまで) to eat: Add support for delayed release administration in ingestion process for methylphenidate only 2026年03月06日 22:42:01 +01:00
luc2112 changed title from (削除) eat: Add support for delayed release administration in ingestion process for methylphenidate only (削除ここまで) to feature: Add support for delayed release administration in ingestion process for methylphenidate only 2026年03月06日 22:42:13 +01:00
luc2112 changed title from (削除) feature: Add support for delayed release administration in ingestion process for methylphenidate only (削除ここまで) to feat: Add support for delayed release administration in ingestion process for methylphenidate only 2026年03月06日 22:42:28 +01:00
Author
First-time contributor
Copy link

its ready for review sorry for the mess

its ready for review sorry for the mess
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u main:luc2112-main
git switch luc2112-main

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff luc2112-main
git switch luc2112-main
git rebase main
git switch main
git merge --ff-only luc2112-main
git switch luc2112-main
git rebase main
git switch main
git merge --no-ff luc2112-main
git switch main
git merge --squash luc2112-main
git switch main
git merge --ff-only luc2112-main
git switch main
git merge luc2112-main
git push origin main
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PsyLog/PsyLog-android!6
Reference in a new issue
PsyLog/PsyLog-android
No description provided.
Delete branch "luc2112/PsyLog-android:main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?