Commit Graph

31 Commits

Author SHA1 Message Date
Trey t
316513e516 Fix widget Mood type inference errors
- Use explicit Mood.missing and Mood.placeholder instead of shorthand
- Replace non-existent getAllData() with getData() using full date range

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 23:09:12 -06:00
Trey t
f2c510de50 Refactor StoreKit 2 subscription system and add interactive vote widget
## StoreKit 2 Refactor
- Rewrote IAPManager with clean enum-based state model (SubscriptionState)
- Added native SubscriptionStoreView for iOS 17+ purchase UI
- Subscription status now checked on every app launch
- Synced subscription status to UserDefaults for widget access
- Simplified PurchaseButtonView and IAPWarningView
- Removed unused StatusInfoView

## Interactive Vote Widget
- New FeelsVoteWidget with App Intents for mood voting
- Subscribers can vote directly from widget, shows stats after voting
- Non-subscribers see "Tap to subscribe" which opens subscription store
- Added feels:// URL scheme for deep linking

## Firebase Removal
- Commented out Firebase imports and initialization
- EventLogger now prints to console in DEBUG mode only

## Other Changes
- Added fallback for Core Data when App Group unavailable
- Added new localization strings for subscription UI
- Updated entitlements and Info.plist

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 23:07:16 -06:00
Trey t
ef0cfbd2cf Bug: widget showing X when its not missing a rating
closed #129
2022-07-17 10:58:07 -05:00
Trey t
6fa4e2db26 change a bunch of shit to get importing / adding new vote have the right weekday 2022-04-05 22:33:12 -05:00
Trey t
8f4ee493d8 add missing image back 2022-03-28 09:55:55 -05:00
Trey t
544d4821be add back in 1x images for widgets 2022-03-24 15:40:10 -05:00
Trey t
c5651ab4dd add single scale pdf instead of pngs 2022-03-24 14:30:02 -05:00
Trey t
f4e307bfbd put 1x images in widget image assets 2022-03-24 11:37:23 -05:00
Trey t
8d3e9a7c6e export to png for memory 2022-03-12 19:21:50 -06:00
Trey t
f41b1866a6 create random icons and save to documents dir 2022-03-05 12:10:03 -06:00
Trey t
d56e74053e hopefully fix issue where voting is filled in with missing when its time to vote 2022-03-05 11:28:29 -06:00
Trey t
09e1e96a0a fix widget / icon view layout 2022-02-26 11:50:51 -06:00
Trey t
520119de85 can have / save multiple custom widgets 2022-02-22 22:59:08 -06:00
Trey t
83060e8353 closed #89 make custom widgets codable 2022-02-21 11:36:45 -06:00
Trey t
0035f61204 everything changed 2022-02-20 14:33:58 -06:00
Trey t
649180dbb5 WIP - custom widget icon 2022-02-13 22:15:53 -06:00
Trey t
3ece2c27a1 add large widget 2022-01-28 10:40:04 -06:00
Trey t
0109aee8f8 switch db between debug and release
on widgets if its before the voting time show yesterdays vote, if after either show no vote or current vote

user shared user defaults
2022-01-28 10:27:33 -06:00
Trey t
70f29199bb create app group to share database
fix widget layouts / calls
i think widgets work
2022-01-26 17:11:41 -06:00
Trey t
af19d57a62 play with widgets
add different widgets for large icon and last day
made images smaller to avoid memory issues
2022-01-23 19:09:26 -06:00
Trey t
d68db75f87 closed #27 2022-01-19 09:54:52 -06:00
Trey t
c5be6e0cc9 update missing entry icon 2022-01-17 09:51:12 -06:00
Trey t
434dc33584 icon switcher
close #13
2022-01-16 12:55:04 -06:00
Trey t
8bbd9fb6c4 update app icon 2022-01-16 12:25:47 -06:00
Trey t
cd50230ba0 complete #4 2022-01-16 11:54:49 -06:00
Trey t
499d07dd09 placeholder app icon 2022-01-16 11:42:07 -06:00
Trey t
7c2de764b4 work around widgets ... not sure if they work 2022-01-15 18:05:48 -06:00
Trey t
64dd1855ac WIP - a lot of uncommitted work 2022-01-15 12:03:31 -06:00
Trey t
80690e4a8c try to get widget working, but no ... 2022-01-10 15:27:34 -06:00
Trey t
056d7e8097 fix warning 2022-01-10 09:06:43 -06:00
Trey t
58697bf965 init commit - bring project over from Mood 2022-01-10 09:04:38 -06:00