Commit graph

20 commits

Author SHA1 Message Date
Paweł Orzech
0819a06e3b
Release v1.6.0: Cooldown quick action buttons
- Cooldown cells become clickable buttons when Ready, opening Torn Items page
- New Booster cooldown link setting (Boosters/Alcohol)
- Accessibility support for action buttons
2026-03-14 23:00:59 +01:00
Paweł Orzech
c11d657fba
Improve code quality: network DI, deduplicate logic, parallelize fetches
- Add NetworkMonitor with NetworkConnectivity protocol for DI and testability
- Deduplicate flag mapping (MenuBarLabel now uses TornDestination.flag(for:))
- Centralize logger subsystem string in TornConstants.logSubsystem
- Fold API error check into parseDataInBackground, removing double JSON parse
- Fix fetchFactionData double JSON parse (single parse with early error check)
- Parallelize user data parse and faction fetch with async let
- Deduplicate refreshNow() by delegating to startPolling()
- Remove redundant showLoginError state in SettingsView (use computed Binding)
- Batch watchlist saves after concurrent price fetches (N saves → 1 save)
- Add change detection for offline errorMsg to avoid no-op @Published updates
- Remove unused ObservableObject conformance from NetworkMonitor
- Fix tokens CodingKey (company_funds → donator)
- Replace print() calls with os.log Logger
- Remove stub UI tests that only asserted window.exists
2026-03-14 22:50:47 +01:00
Paweł Orzech
c46da1e13f
Release version 1.5.1 2026-02-04 14:15:28 +01:00
Paweł Orzech
d1166d3218
Release version 1.5.0
- Add preferred browser support for opening Torn links
- Add GitHub Actions integration with Claude Code
- Add BrowserManager utility for managing browser preferences
2026-02-04 13:47:56 +01:00
Paweł Orzech
cd2f6ce653 Add BrowserManager to app target 2026-02-04 13:25:19 +01:00
Paweł Orzech
3e214a0b19
Add feedback prompt and release v1.4.7
Add in-app feedback prompt with progressive timing thresholds
(1 hour, 1 week, 1 month) and 5-minute cooldown. Includes
FeedbackPromptView, AppFeedbackState model, and comprehensive
test coverage.
2026-01-27 23:43:17 +01:00
Paweł Orzech
b1804e5a69
fix: Prevent incorrect "Released" notification on travel arrival
The "Released! 🎉 - You are now free" notification was incorrectly
triggering when landing from airplane travel. Changed condition to
only fire when transitioning from Hospital or Jail status, not any
non-Okay state like Traveling.

Bumps version to 1.4.6.
2026-01-25 15:57:49 +01:00
Paweł Orzech
e4c8f6927b
fix: Improve travel timer accuracy with direct timestamp usage
- Use API timestamp directly for travel countdown calculations
- Add fallback to timeLeft for backward compatibility
- Add comprehensive test coverage for remainingSeconds method
- Bump version to 1.4.5
- Add CHANGELOG.md
2026-01-25 12:02:56 +01: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
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
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
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
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
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