Commit graph

39 commits

Author SHA1 Message Date
Paweł Orzech
9724bcbacb
Fix watchlist item mutation to update via copy
Refactored watchlist item updates to use value semantics by copying, modifying, and reassigning the item in the array. This prevents issues with direct mutation of value types in Swift arrays and ensures changes are properly reflected.
2026-01-20 13:18:42 +00:00
Paweł Orzech
8a4fb30cad
chore: Remove root .DS_Store from git tracking 2026-01-20 13:12:19 +00:00
Paweł Orzech
4414a2696a
chore: Remove .DS_Store from git tracking 2026-01-20 13:10:25 +00:00
Paweł Orzech
21ac399269
feat: Improve accessibility support and update README
- Fix Reduce Transparency mode in light mode (dark buttons issue)
- Lower opacity values for better readability when reduceTransparency is enabled
- Add Accessibility section to README documenting macOS accessibility support
- Update README with new light/dark mode screenshots
- Bump version to 1.4.4
2026-01-20 13:00:11 +00:00
Paweł Orzech
273fd31884
feat: Add Universal Binary support for Intel and Apple Silicon Macs
- Add ARCHS="arm64 x86_64" to Release configuration for universal builds
- Update Info.plist to use dynamic version variables (MARKETING_VERSION, CURRENT_PROJECT_VERSION)
- Update Makefile release target with proper universal build settings
- Add Universal Binary badge to README
2026-01-19 16:46:03 +00:00
Paweł Orzech
7f836a0bbd
feat: Display cooldown labels as text instead of icons
Show "Drug", "Medical", "Booster" text labels in cooldowns section
for better clarity. Bump version to 1.4.3.
2026-01-19 16:16:53 +00:00
Paweł Orzech
7cca5dd896
chore: Bump version to 1.4.2 2026-01-18 21:44:05 +00:00
Paweł Orzech
f9a2b63ab4
fix: Resolve Credits view height being cut off in MenuBarExtra
- Remove Spacer() that was compressing ScrollView
- Set fixed height (480) to ensure all sections are visible
2026-01-18 21:43:44 +00:00
Paweł Orzech
7c4059e59a
chore: Remove old MacTorn-v1.3.zip archive 2026-01-18 21:29:11 +00:00
Paweł Orzech
57be14f6c3
chore: Bump version to 1.4.1 2026-01-18 21:27:43 +00:00
Paweł Orzech
0764a38bb8
fix: Resolve SwiftUI constraint update loop in MenuBarExtra
- Add .transaction { $0.animation = nil } to prevent constraint recalculation loops
- Add CreditsView.swift to Xcode project (was missing after git pull)
- Fixes NSGenericException for Update Constraints in Window passes
2026-01-18 21:25:49 +00:00
Paweł Orzech
71db6d4db1
feat: Add Travel tab with live countdown timer and pre-arrival notifications
- New Travel tab with flight status, progress bar, and quick destination picker
- Live countdown timer in menu bar during flight (✈️🇺🇸 5:32 format)
- Pre-arrival notifications (configurable: 2min, 1min, 30sec, 10sec before landing)
- Country flag emojis for all 11 Torn destinations
- Live countdown updates every second in both menu bar and app views
- Bump version to 1.4
2026-01-18 21:22:50 +00:00
Paweł Orzech
2e485c05d1
Merge pull request #1 from pawelorzech/claude/add-credits-page-NhUe5
Add credits page with username linking
2026-01-18 19:47:08 +00:00
Claude
bab929df98
feat: Populate Credits page with real data
- Add bombel as developer/creator with highlighted section
- Add Special Thanks: kaszmir, dylanwishop, constanziagatta
- Add faction link: The Masters
- Add company link: Glory Holes Productions
- All entries link to respective Torn pages
2026-01-18 19:43:35 +00:00
Claude
14439f50ff
feat: Add Credits page accessible from Settings
- Create CreditsView with placeholder contributors
- Contributors can have Torn profile links (auto-generated from ID)
- Support for multiple sections (Special Thanks, Beta Testers)
- Navigate to Credits via heart icon button in Settings footer
2026-01-18 16:28:52 +00:00
Paweł Orzech
e781a767b3
Update .DS_Store 2026-01-18 12:50:13 +00:00
Paweł Orzech
33857f8cfe
feat: Add live countdown timers for cooldowns and bump version to 1.3
Replace static cooldown display with real-time countdown timers that update every second using TimelineView.
2026-01-18 03:30:43 +00:00
Paweł Orzech
3c53b046f8
docs: Add API data usage section to README. 2026-01-18 00:52:58 +00:00
Paweł Orzech
61235e78af
feat: Add API usage disclosure to settings and update 'Life' progress bar color to blue. 2026-01-18 00:37:31 +00:00
Paweł Orzech
8d4645c2a2
feat: Update application version to 1.2.5, add new release archive, and update gitignore to include build artifacts and archive folder. 2026-01-18 00:32:21 +00:00
Paweł Orzech
4f8772f986
feat: Add notification types to enable opening specific URLs upon interaction. 2026-01-18 00:23:38 +00:00
Paweł Orzech
1ce929bffa
feat: Implement comprehensive unit and UI tests for models and view models, including a new network session, mocks, fixtures, and a CI workflow. 2026-01-17 23:19:29 +00:00
Paweł Orzech
ca7d0dfe84
fix: Update Torn.com item market URLs to new format. 2026-01-17 22:32:42 +00:00
Paweł Orzech
b443ef3eeb
housekeeping 2026-01-17 21:59:39 +00:00
Paweł Orzech
4b4f1c15f7
feat: Improve API data fetching reliability with cache control, enhanced logging, and error handling, and update version to 1.2.2. 2026-01-17 21:58:12 +00:00
Paweł Orzech
c21057146d
refactor: Enhance API error handling with logging, introduce minimum loading time, update app version to 1.2.1, and ignore .DS_Store. 2026-01-17 21:34:47 +00:00
Paweł Orzech
1747bb110a
Improve refresh button hit area in StatusView
Added a fixed frame and content shape to the refresh button's image to make it easier to interact with. This enhances the usability of the refresh action in the StatusView.
2026-01-17 21:27:28 +00:00
Paweł Orzech
b298404791
Update README.md 2026-01-17 21:26:07 +00:00
Paweł Orzech
7814568b60
Update app.png 2026-01-17 21:23:55 +00:00
Paweł Orzech
10a441e557
Add automatic update checker and UI integration
Introduces an UpdateManager to check for new releases on GitHub and integrates update notifications into the app's state and SettingsView. Updates Info.plist to version 1.2, adds MacTorn-v1.2.zip, archives v1.0 zip, and revises README to document the new update checker and other improvements.
2026-01-17 21:17:57 +00:00
Paweł Orzech
e75131aa67
Add new views and models for money, attacks, faction, properties, and watchlist
Introduces MoneyView, AttacksView, FactionView, PropertiesView, and WatchlistView with corresponding models and state in AppState. Updates ContentView to use a tabbed interface for navigation between new sections. Extends TornModels.swift with new data structures for money, battle stats, attacks, faction, properties, and watchlist items. Adds logic in AppState for fetching, parsing, and managing new data, including watchlist price fetching. Updates project file to include new views.
2026-01-17 21:10:57 +00:00
Paweł Orzech
7f947b635c
Add app screenshot to README
Added app.png and updated README.md to include a screenshot of the MacTorn app for better visual context.
2026-01-17 19:57:24 +00:00
Paweł Orzech
4813da8c7f
Make Torn models more robust to missing API data
Updated TornModels.swift to make many properties optional, improving resilience to missing or incomplete API responses. Adjusted ChainView and StatusView to handle optional values safely. Refactored SettingsView for a cleaner layout and removed notification rules UI. Updated README to reflect notification changes and clarify features.
2026-01-17 19:53:28 +00:00
Paweł Orzech
53a234afcd
Add notification rules, status badges, and chain support
Introduces customizable notification rules with sound options and a UI for managing them in SettingsView. Adds support for displaying chain status, hospital/jail badges, unread messages, and recent events in StatusView. Makes the refresh interval configurable. Updates README with new features and installation instructions. Updates Xcode project to include new components and utilities.
2026-01-17 19:43:07 +00:00
Paweł Orzech
01b0b9a436
Add status, chain, events, and sound features
Introduces new models for status, chain, events, and messages in TornModels.swift, along with notification rules and sound options. Adds a SoundManager utility for playing notification sounds. Implements new SwiftUI components: ChainView, EventsView, and StatusBadgesView for displaying chain progress, recent events, and status badges. Updates app icon assets and Contents.json for proper macOS icon support.
2026-01-17 19:36:55 +00:00
Paweł Orzech
974556b24c
Add player info and support links to UI
Extended TornResponse to include player name and ID, and updated API selections to fetch basic info. StatusView now displays the player's name and ID if available. SettingsView adds a 'Tip Me' section for developer support and a GitHub source link.
2026-01-17 19:29:13 +00:00
Paweł Orzech
802fdfa1a3
Refactor TornResponse model and remove shortcuts editor
Updated TornResponse to use separate bar properties for energy, nerve, life, and happy, with a computed Bars property for internal use. Made Bar properties optional where appropriate and removed Codable conformance from Bars. Removed the Shortcuts Editor and related views from SettingsView. Adjusted StatusView to use fixedSize for better layout handling.
2026-01-17 18:05:37 +00:00
Paweł Orzech
455f9f3916
Add launch at login, shortcuts, and UI improvements
Introduces LaunchAtLoginManager and ShortcutsManager for launch at login and customizable quick links. Updates SettingsView with toggles and a shortcuts editor, enhances ContentView and StatusView with improved layout, travel status, and quick links grid. ProgressBarView now visually highlights full bars and improves appearance. Adds travel notifications and updates the README with new features and setup instructions.
2026-01-17 18:00:47 +00:00
Paweł Orzech
0a0f109fa1
Initial commit 2026-01-17 17:57:45 +00:00