Skip to content

Commit

Permalink
Working on Reminders App
Browse files Browse the repository at this point in the history
seanchatmangpt committed Aug 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 0ec8495 commit f3f1f60
Showing 66 changed files with 11,226 additions and 16 deletions.
18 changes: 18 additions & 0 deletions .lh/features/reminder_app.feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"sourceFile": "features/reminder_app.feature",
"activeCommit": 0,
"commits": [
{
"activePatchIndex": 0,
"patches": [
{
"date": 1724784519315,
"content": "Index: \n===================================================================\n--- \n+++ \n"
}
],
"date": 1724784519315,
"name": "Commit-0",
"content": "Feature: Managing reminders in the ReminderApp\n\n Scenario: Creating a new reminder in a new list\n Given the ReminderApp is initialized\n And I have granted access to reminders\n And I create a new list named \"Test List\"\n When I add a reminder titled \"Test Reminder\" with due date \"2024-08-28 07:00\" to the \"Test List\"\n Then the reminder \"Test Reminder\" should exist in the \"Test List\"\n\n Scenario: Completing a reminder\n Given the ReminderApp is initialized\n And I have granted access to reminders\n And I create a new list named \"Test List\"\n And I add a reminder titled \"Complete Reminder\" with due date \"2024-08-28 07:00\" to the \"Test List\"\n When I mark the reminder \"Complete Reminder\" as completed\n Then the reminder \"Complete Reminder\" should be marked as completed in the \"Test List\"\n\n Scenario: Clearing completed reminders\n Given the ReminderApp is initialized\n And I have granted access to reminders\n And I create a new list named \"Test List\"\n And I add a reminder titled \"Clear Me\" with due date \"2024-08-28 07:00\" to the \"Test List\"\n And I mark the reminder \"Clear Me\" as completed\n When I clear completed reminders from \"Test List\"\n Then the reminder \"Clear Me\" should no longer exist in the \"Test List\""
}
]
}
42 changes: 42 additions & 0 deletions .lh/src/dspygen/__init__.py.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"sourceFile": "src/dspygen/__init__.py",
"activeCommit": 0,
"commits": [
{
"activePatchIndex": 6,
"patches": [
{
"date": 1724789562262,
"content": "Index: \n===================================================================\n--- \n+++ \n"
},
{
"date": 1724789900180,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -1,10 +1,9 @@\n-# import inject\n-# from dspygen.di_configure import configure\n-#\n-# inject.configure(configure)\n+import inject\n+import EventKit\n \n # Configure the injector\n def configure_injector(binder):\n binder.bind(EventKit.EKEventStore, EventKit.EKEventStore.alloc().init())\n+ binder.bind('reminder_factory', EventKit.EKReminder.reminderWithEventStore_)\n \n inject.configure(configure_injector)\n\\ No newline at end of file\n"
},
{
"date": 1724789938007,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -0,0 +1,9 @@\n+import inject\n+import EventKit\n+\n+# Configure the injector\n+def configure_injector(binder):\n+ binder.bind(EventKit.EKEventStore, EventKit.EKEventStore.alloc().init())\n+ binder.bind('EKReminder', EventKit.EKReminder)\n+\n+inject.configure(configure_injector)\n\\ No newline at end of file\n"
},
{
"date": 1724790009352,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -3,7 +3,7 @@\n \n # Configure the injector\n def configure_injector(binder):\n binder.bind(EventKit.EKEventStore, EventKit.EKEventStore.alloc().init())\n- binder.bind('EKReminder', EventKit.EKReminder)\n+ binder.bind(EventKit.EKReminder, EventKit.EKReminder)\n \n inject.configure(configure_injector)\n\\ No newline at end of file\n"
},
{
"date": 1724790091192,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -2,17 +2,9 @@\n import EventKit\n \n # Configure the injector\n def configure_injector(binder):\n+ event\n binder.bind(EventKit.EKEventStore, EventKit.EKEventStore.alloc().init())\n binder.bind(EventKit.EKReminder, EventKit.EKReminder)\n \n-inject.configure(configure_injector)\n-import inject\n-import EventKit\n-\n-# Configure the injector\n-def configure_injector(binder):\n- binder.bind(EventKit.EKEventStore, EventKit.EKEventStore.alloc().init())\n- binder.bind('reminder_factory', EventKit.EKReminder.reminderWithEventStore_)\n-\n inject.configure(configure_injector)\n\\ No newline at end of file\n"
},
{
"date": 1724790113776,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -1,7 +1,12 @@\n import inject\n import EventKit\n \n+# import inject\n+# from dspygen.di_configure import configure\n+#\n+# inject.configure(configure)\n+\n # Configure the injector\n def configure_injector(binder):\n event_store = EventKit.EKEventStore.alloc().init()\n binder.bind(EventKit.EKEventStore, event_store)\n"
},
{
"date": 1724790140639,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -9,7 +9,7 @@\n # Configure the injector\n def configure_injector(binder):\n event_store = EventKit.EKEventStore.alloc().init()\n binder.bind(EventKit.EKEventStore, event_store)\n- binder.bind(EventKit.EKReminder, )\n+ binder.bind(EventKit.EKReminder, EventK)\n \n inject.configure(configure_injector)\n\\ No newline at end of file\n"
}
],
"date": 1724789562262,
"name": "Commit-0",
"content": "# import inject\n# from dspygen.di_configure import configure\n#\n# inject.configure(configure)\n\n# Configure the injector\ndef configure_injector(binder):\n binder.bind(EventKit.EKEventStore, EventKit.EKEventStore.alloc().init())\n\ninject.configure(configure_injector)"
}
]
}
30 changes: 30 additions & 0 deletions .lh/src/dspygen/experiments/cal_apps/__init__.py.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"sourceFile": "src/dspygen/experiments/cal_apps/__init__.py",
"activeCommit": 0,
"commits": [
{
"activePatchIndex": 3,
"patches": [
{
"date": 1724784607061,
"content": "Index: \n===================================================================\n--- \n+++ \n"
},
{
"date": 1724784719629,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -1,5 +1,1 @@\n-from .reminder import Reminder\n-from .reminder_list import ReminderList\n-from .reminder_app import ReminderApp\n \n-__all__ = ['Reminder', 'ReminderList', 'ReminderApp']\n"
},
{
"date": 1724784726474,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -1,1 +1,5 @@\n+from .reminder import Reminder\n+from .reminder_list import ReminderList\n+from .reminder_app import ReminderApp\n \n+__all__ = ['Reminder', 'ReminderList', 'ReminderApp']\n\\ No newline at end of file\n"
},
{
"date": 1724789841592,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -1,5 +0,0 @@\n-from .reminder import Reminder\n-from .reminder_list import ReminderList\n-from .reminder_app import ReminderApp\n-\n-__all__ = ['Reminder', 'ReminderList', 'ReminderApp']\n\\ No newline at end of file\n"
}
],
"date": 1724784607061,
"name": "Commit-0",
"content": "from .reminder import Reminder\nfrom .reminder_list import ReminderList\nfrom .reminder_app import ReminderApp\n\n__all__ = ['Reminder', 'ReminderList', 'ReminderApp']\n"
}
]
}
Loading

0 comments on commit f3f1f60

Please sign in to comment.