• Joined on 2025-01-01
han approved shoko/jigaido#26 2026-04-03 13:50:45 +02:00
feat(core): implement services for issue #8

lgtm

han suggested changes for shoko/jigaido#27 2026-04-03 13:22:40 +02:00
feat(adapter): implement JSON file storage adapter for issue #9

lets add unit tests as well. I'd like to see if its possible to track the same bounty multiple times. if possible, should we handle the logic here or somewhere else?

han commented on pull request shoko/jigaido#27 2026-04-03 13:22:40 +02:00
feat(adapter): implement JSON file storage adapter for issue #9

can we store both of the data under data folder instead of separating them?

han suggested changes for shoko/jigaido#26 2026-04-03 13:16:06 +02:00
feat(core): implement services for issue #8

don't we need unit tests for this services? in a way to make sure that everything we defined in this service are working as expected even if with faulty input

han approved shoko/jigaido#26 2026-04-03 13:14:56 +02:00
feat(core): implement services for issue #8

lgtm

han approved shoko/jigaido#20 2026-04-03 08:57:48 +02:00
Add core/ports.py - Storage interfaces

lgtm

han commented on pull request shoko/jigaido#20 2026-04-03 08:52:45 +02:00
Add core/ports.py - Storage interfaces

Conclusion: ensure_room() and ensure_tracking() are NOT needed as public Protocol methods.

I think we should remove ensure_room() and ensure_tracking() then since its adding unnecessary…

han commented on pull request shoko/jigaido#20 2026-04-03 08:43:03 +02:00
Add core/ports.py - Storage interfaces

can we add a test where we have a very simple mock storage to check or verify if we really need an ensure_room function? basically the goal is to see do we need the ensure_room() or we can safely remove it and expect things also works without it.

han commented on pull request shoko/jigaido#20 2026-04-03 01:54:26 +02:00
Add core/ports.py - Storage interfaces

is it possible to create unit tests in this PR?

han commented on pull request shoko/jigaido#20 2026-04-03 01:53:48 +02:00
Add core/ports.py - Storage interfaces

why do we need personal storage when we now doesnt really separate which one is personal and which one is group? I think its somehow already covered in the tracking storage and room storage.

what…

han suggested changes for shoko/jigaido#19 2026-04-03 00:31:24 +02:00
feat(core): implement domain dataclasses for issue #5
han commented on pull request shoko/jigaido#19 2026-04-03 00:31:24 +02:00
feat(core): implement domain dataclasses for issue #5

I think we should rename it into room_id to make it works and makes sense for both group and DM

han commented on pull request shoko/jigaido#19 2026-04-03 00:31:24 +02:00
feat(core): implement domain dataclasses for issue #5

we can remove room_id from here since TrackedBounty is just a relation, while we store the actual data in the TrackingData

han suggested changes for shoko/jigaido#19 2026-04-03 00:20:52 +02:00
feat(core): implement domain dataclasses for issue #5
han commented on pull request shoko/jigaido#19 2026-04-03 00:20:52 +02:00
feat(core): implement domain dataclasses for issue #5

I dont understand the difference of TrackingData and TrackedBounty. when to use which?

han commented on pull request shoko/jigaido#19 2026-04-03 00:20:52 +02:00
feat(core): implement domain dataclasses for issue #5

since room_id can be negative in RoomData, I don't think we need is_group anymore. if its negative, its group, that should be clear enough

han commented on pull request shoko/jigaido#19 2026-04-03 00:20:52 +02:00
feat(core): implement domain dataclasses for issue #5

we should also add room_id in this trackedbounty to know where the user is tracking the bounty from. to show their list track bounties depends on the room

han commented on pull request shoko/jigaido#19 2026-04-03 00:20:52 +02:00
feat(core): implement domain dataclasses for issue #5

created_by_user_id by default will refer to the user who created it, so I think its not none and not optional. but created_by_user_id doesnt reflect if its a group or not. Bounty doesn't need to know if its a group or not. because we have list of bounties in the RoomData and that is enough