Skip to content

Commit

Permalink
Updated What's New sheet for 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xan-m committed Oct 3, 2021
1 parent 651ab90 commit e52f4f5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 26 deletions.
33 changes: 9 additions & 24 deletions Infini-iOS/View Components/Sheets/What's New/WhatsNewBody.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,15 @@ struct WhatsNewBody: View {

var body: some View {
ScrollView{
Text("UI Changes")
.font(.title2)
.padding()
Text("Tons of UI changes: New 'Home' view features some stats about your watch and the connect/disconnect button. DFU page was cleaned up a little. Color scheme changes were made to improve clarity for light mode users.")
.padding()
Text("Chart Persistence")
.font(.title2)
.padding()
Text("Infini-iOS is now capable of saving chart data as it is generated, and chart data can now be filtered by time. I've set the watch to prune data older than a week for now, but am open to suggestions!")
Text("Device Naming")
.font(.title2)
.padding()
Text("Devices can now be named in Infini-iOS! While this name has no effect on the watch, setting a name for the device in Infini-iOS associates the UUID of the watch with the new name. Any time this watch would appear on screen (Home screen, Connect screen, etc), your chosen name will display instead of 'InfiniTime'. Hopefully this will be helpful for those of you that have more than one watch!")
.padding()
Text("Arbitrary Notifications")
.font(.title2)
.padding()
Text("Now you can send arbitrary notifications to your PineTime from the Settings Menu. Have a short list of stuff to get at the store? Send the list as a notification and it will be on your wrist as you shop!")
.padding()
Text("Firmware Updates")
.font(.title2)
.padding()
Text("Updated DFU process: DFU downloads are now available! Now, when you tap the 'Select Firmware File' button, you're given the option to select a local file or download a firmware file. Tapping the download button uses the GitHub API to bring up a list of firmware files available on GitHub. Selecting a file from that list will download it and prepare it for flashing. After flashing, the file is deleted. Also, when a watch is connected, Infini-iOS will compare the firmware version number on the watch to this list, and notify you of any updates on the Home screen.")
.padding()
Text("UI Changes:\n- Widened side menu to accommodate larger fonts for accessibility.\n- Added device renaming button to home page.\n- Removed 'status' area from side menu. This section has been redundant for a while, as the whole UI updates when a device is connected, and the whole app doesn't do anything if Bluetooth is turned off.\n- Moved giant disconnect/connect button from the Home screen to side menu. Between InfiniTime 1.6.0's Bluetooth fixes and autoconnect enabled, there are very few reasons to manually disconnect or connect anymore. Let me know if this is a problem or pain point and I can make adjustments.\n- Changed giant 'Select Firmware' button on DFU screen to a button where the selected firmware file goes.\n- Added a small pop-up text bubble if autoconnect is enabled to show when the device is scanning and when it connects.")
.padding()
Text("Debug mode:\n- I have been tinkering with a debug mode to see app logs for a while, but decided to leave it out a month or so ago. It ended up being instrumental in solving a tricky bug that occurred when setting the time on the PineTime (thanks again for helping me troubleshoot that @bhibb!). With that in mind, I decided to add it to the app for everyone. To access the logs, enable Debug Mode in the Settings view, and you'll see a link appear that will take you to the log pages.\n- The logs are not persistent, so if you experience a crash, please report it through TestFlight.\n- Bear in mind that the log entries you'll see under the 'App' log section are all for bugs I've found or error messages generated by Swift APIs, so it's not a complete list of every possible scenario.")
.padding()
Text("Behind the Scenes:\n- I refactored the whole bluetooth system behind Infini-iOS. This has been a long time coming; the BLE implementation was the very first part of this app and was where I first started learning Swift, so it was a hot mess. I've tidied it up now, and optimized some of the more bloated functions that I had created.")
.padding()

Text("Bug Fixes:\n- Added some checks to the notification sending function to prevent that from crashing.\n- Established some functions to more accurately determine how buttons should appear and when they should be disabled. There were a couple of edge cases where you could create some unexpected button behavior.\n- Made some changes to the GitHub API calling mechanism in the app to drastically reduce the chances of anyone hitting GitHub's API request rate limit.")
.padding()
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ struct WhatsNew: View {
SheetCloseButton()
ScrollView{
VStack {
Text(String("What's New in \(appVersion!)"))
Text(String("What's New in v\(appVersion!)"))
.font(.largeTitle)
.padding(.horizontal)
Text("Welcome to the new version of Infini-iOS! I hope you enjoy the features I've added to the app for this version. Please feel free to get in touch with me about any issues you experience or changes you'd like to see!")
Text("Welcome to version \(appVersion!) of Infini-iOS! I hope you enjoy the features I've added to the app for this version. Please feel free to get in touch with me about any issues you experience or changes you'd like to see!")
.padding()

WhatsNewBody()
Expand Down

0 comments on commit e52f4f5

Please sign in to comment.