splits/Splits/ChangeLogData.swift
2022-08-08 17:41:07 -04:00

378 lines
12 KiB
Swift

//
// ChangeLogData.swift
// Splits
//
// Created by Isaac Greene on 2022-04-03.
//
import SwiftUI
struct July2022: View {
var body: some View {
ScrollView {
//2022-07-19
HStack {
VStack (alignment: .leading) {
Text("2022-07-19")
.font(.title2)
Text("Version 1.0.0\n")
.font(.footnote)
Text("\u{2022} Added required software licenses for the libraries I use, and changed the app's license from proprietary to 4-clause BSD")
}
Spacer()
}
.padding(30)
//2022-07-06
HStack {
VStack (alignment: .leading) {
Text("2022-07-06")
.font(.title2)
Text("Version Prerelease Build LVSXT10a.4\n")
.font(.footnote)
Text("\u{2022} Stored the logins as cryptographically-secure hashes\n\u{2022} Fixed a few small formatting issues")
}
Spacer()
}
.padding(30)
}
}
}
struct June2022: View {
var body: some View {
ScrollView {
//2022-06-17
HStack {
VStack (alignment: .leading) {
Text("2022-06-17")
.font(.title2)
Text("Version Release Candidate 4\n")
.font(.footnote)
Text("\u{2022} Added km/hr and mi/hr\n\u{2022} Did some formatting with the stuff\n\u{2022} Added Back and Next buttons")
}
Spacer()
}
.padding(30)
//2022-06-16
HStack {
VStack (alignment: .leading) {
Text("2022-06-16")
.font(.title2)
Text("Version Release Candidate 3\n")
.font(.footnote)
Text("\u{2022} You can now enter any distance you want without the app crashing\n\u{2022} Formatted the primary distance to three decimal places")
}
Spacer()
}
.padding(30)
// has ten days of logs
VStack {
//2022-06-15
HStack {
VStack (alignment: .leading) {
Text("2022-06-15")
.font(.title2)
Text("Version Prerelease Build LVSXT10a.3\n")
.font(.footnote)
Text("\u{2022} Fixed an issue where typing zero for the distance caused the app to crash\n\u{2022} Implemented a way to navigate between text fields and redid the Done button to make it fit better")
}
Spacer()
}
.padding(30)
//2022-06-14
HStack {
VStack (alignment: .leading) {
Text("2022-06-14")
.font(.title2)
Text("Version Prerelease Build LVSXT10a.3\n")
.font(.footnote)
Text("\u{2022} Optimized some code to allow for future development\n\u{2022} Starting on fixing an issue where putting a zero as the first number in the Distance field causes the app to crash\n\u{2022} Started work on more robust app documentation")
}
Spacer()
}
.padding(30)
//2022-06-11
// LVSXT10a.2
HStack {
VStack (alignment: .leading) {
Text("2022-06-11")
.font(.title2)
Text("Version Release Candidate 2\n")
.font(.footnote)
Text("\u{2022} Added biometrics to sign in along with option for username/password")
}
Spacer()
}
.padding(30)
//2022-06-10
// LVSXT10a
HStack {
VStack (alignment: .leading) {
Text("2022-06-10")
.font(.title2)
Text("Version Release Candidate\n")
.font(.footnote)
Text("\u{2022} Got the conversion of paces to work, so a 5:00/km pace will also show as 8:03/mi\n\u{2022} This app is now considered \"Finished\" and will transition to Version Numbers\n\u{2022} FINALLY MADE A WAY TO DISMISS THE KEYBOARD\n\t\u{2022} (as with most of the other solutions I've had to use for other problems in this app, the fix was remarkably easy)\n\u{2022} Made several small quality-of-life improvements")
}
Spacer()
}
.padding(30)
//2022-06-09
HStack {
VStack (alignment: .leading) {
Text("2022-06-09")
.font(.title2)
Text("Version Prerelease Build LVSXT10c.2\n")
.font(.footnote)
Text("\u{2022} Worked on a simple login page to view contact info\n\t\u{2022} Spent *way* too long on it")
}
Spacer()
}
.padding(30)
//2022-06-08
HStack {
VStack (alignment: .leading) {
Text("2022-06-08")
.font(.title2)
Text("Version Prerelease Build LVSXT10c\n")
.font(.footnote)
Text("\u{2022} Finished with a conversion of the pace to be a more readable format (i.e. 5:45 instead of 5.75)!\n\t\u{2022} This is probably one of the biggest things to increase readability in the app\n\u{2022} Installed a Software License")
}
Spacer()
}
.padding(30)
//2022-06-05
HStack {
VStack (alignment: .leading) {
Text("2022-06-05")
.font(.title2)
Text("Version Prerelease Build LVSXT10d.3\n")
.font(.footnote)
Text("\u{2022} Started work on converting the pace to a more understandable format")
}
Spacer()
}
.padding(30)
//2022-06-04
HStack {
VStack (alignment: .leading) {
Text("2022-06-04")
.font(.title2)
Text("Version Prerelease Build LVSXT10d.2\n")
.font(.footnote)
Text("\u{2022} Reformatted some tabs, and added the Recently Resolved issues tab\n\u{2022} Moved the Help tab into Docs")
}
Spacer()
}
.padding(30)
//2022-06-03
HStack {
VStack (alignment: .leading) {
Text("2022-06-03")
.font(.title2)
Text("Version Prerelease Build LVSXT10d\n")
.font(.footnote)
Text("\u{2022} Finished hours input.\n\u{2022} Moved some things around and the \"Change log\" tab is now \"Docs\" which holds info on features, the change log, and known issues, with a few other things.")
}
Spacer()
}
.padding(30)
//2022-06-01
//gay
HStack {
VStack (alignment: .leading) {
Text("2022-06-01")
.font(.title2)
Text("Version Prerelease Build LVSXT10g.3\n")
.font(.footnote)
Text("\u{2022} Partially implemented an easier way to input hours. Mostly working on formatting issues, but it shows up somewhat like it's supposed to.")
}
Spacer()
}
.padding(30)
}
}
.navigationTitle("June 2022 Log")
.navigationBarTitleDisplayMode(.inline)
}
}
// done adding content to these
struct May2022: View {
var body: some View {
ScrollView {
//2022-05-25
HStack {
VStack (alignment: .leading) {
Text("2022-05-25")
.font(.title2)
Text("Version Prerelease Build LVSXT10g.2\n")
.font(.footnote)
Text("\u{2022} I'm at a stalemate with Swift")
}
Spacer()
}
.padding(30)
//2022-05-22
HStack {
VStack (alignment: .leading) {
Text("2022-05-22")
.font(.title2)
Text("Version Prerelease Build LVSXT10g\n")
.font(.footnote)
Text("\u{2022} Undid changes made in Build LVSXT10j.\n\u{2022} Failed to implement a way to dismiss the keyboard.\n\u{2022} Started work on a conversion process of paces to the opposite selected system of measurement. (does not currently work)")
}
Spacer()
}
.padding(30)
}
.navigationTitle("May 2022 Log")
.navigationBarTitleDisplayMode(.inline)
}
}
struct April2022: View {
var body: some View {
ScrollView {
//2022-04-13
HStack {
VStack (alignment: .leading) {
Text("2022-04-13")
.font(.title2)
Text("Version Prerelease Build LVSXT10j\n")
.font(.footnote)
Text("\u{2022} Started work on optimizing code. Made no other changes and left the code with errors.")
}
Spacer()
}
.padding(30)
//2022-04-11
HStack {
VStack (alignment: .leading) {
Text("2022-04-11")
.font(.title2)
Text("Version Prerelease Build LVSXT10k\n")
.font(.footnote)
Text("\u{2022} Fixed total time display so now 300 seconds properly wraps to 5 minutes and minutes now also wrap when seconds equates to an amount that equals more than 60 minutes\n\u{2022} Forced all text in change log to left side of screen")
}
Spacer()
}
.padding(30)
//2022-04-10
HStack {
VStack (alignment: .leading) {
Text("2022-04-10")
.font(.title2)
Text("Version Prerelease Build LVSXT10m\n")
.font(.footnote)
Text("\u{2022} Added known issues view\n\t\u{2022} Might add this to the change log navigation at the bottom in the future\n\u{2022} Reverted to a different commit in Git so that the app can be used")
}
Spacer()
}
.padding(30)
//2022-04-09
HStack {
VStack (alignment: .leading) {
Text("2022-04-09")
.font(.title2)
Text("Version Prerelease Build LVSXT10n\n")
.font(.footnote)
Text("\u{2022} Fixed the math with seconds so now you can actually use them! YEAH BABY!\n\u{2022} Rounded pace so that you don't get values like 4.999999999999996 minutes per km\n\t\u{2022} Working on getting the seconds to change into minutes like 340 seconds will show as 5 minutes 40 seconds or \"0:05:40\"\n\u{2022} Removed warning about not using seconds (because they work now!)\n\u{2022} Got math color right. Issue was I had my colors switched so it showed black text in dark mode, and white text in light mode.\n\u{2022} Fixed distance between time boxes\n\u{2022} Removed text about not using seconds greater than 59 in text field\n\u{2022} Properly implemented tab view so that each view gets ONE (1) tab\n\u{2022} Added Git which I should've done long ago\n\u{2022} Tweaked various visual elements. For some reason, SF Symbols doesn't have a calculator??? So instead I'm using \"candybarphone\" but \"building\" looked good, too\n\u{2022} Got overflow of minutes working so now 100 minutes will show as 1 hour 40 minutes.\n\t\u{2022} Seconds overflow does not work (see known issues)")
}
Spacer()
}
.padding(30)
//2022-04-08
HStack {
VStack (alignment: .leading) {
Text("2022-04-08")
.font(.title2)
Text("Version Prerelease Build LVSXT10r\n")
.font(.footnote)
Text("\u{2022} Added bullet points to change log\n\u{2022} Changed text in \"Help\" section about using seconds (ended up not working)\n\u{2022} Tried unsuccessfully to dynamically change the color of the pace formula whether in dark or light mode\n\u{2022} Temporarily removed change log in Build t\n\u{2022} Fixed positioning of minutes and seconds text boxes\n\u{2022} Total time now shows correct minute/hour time (minutes and hours are no longer equal)\n\t\u{2022} Seconds still don't work properly")
}
Spacer()
}
.padding(30)
//2022-04-05
HStack {
VStack (alignment: .leading) {
Text("2022-04-05")
.font(.title2)
Text("Version Prerelease Build LVSXT10u.2\n")
.font(.footnote)
Text("\u{2022} Reformatted change log to include better navigation and clearer notice of changes")
}
Spacer()
}
.padding(30)
//2022-04-03
HStack {
VStack (alignment: .leading) {
Text("2022-04-03")
.font(.title2)
Text("Version Prerelease Build LVSXT10u\n")
.font(.footnote)
Text("\u{2022} Moved app production over from Swift Playgrounds on iPad to Xcode on Mac\n\u{2022} Fixed math\n\u{2022} Implemented change log view\n\u{2022} Restructured code so it gave fewer errors\n\u{2022} Added correct pace data\n\t\u{2022} At this time, the seconds functionality is entirely broken\n\u{2022} Implemented total time view\n\t\u{2022} For some reason, the view for the minutes automatically fills in for the hours as well")
}
Spacer()
}
.padding(30)
}
.navigationTitle("April 2022 Log")
.navigationBarTitleDisplayMode(.inline)
}
}
struct March2022: View {
var body: some View {
ScrollView {
//2022-03-26
HStack {
VStack (alignment: .leading) {
Text("2022-03-26:2022-03-31")
.font(.title2)
Text("Version [UNNAMED]\n")
.font(.footnote)
Text("Things were made, fixed, broken, removed, etc. I don't know what happened because I had no system in place to track changes")
}
Spacer()
}
.padding(30)
//2022-03-25
HStack {
VStack (alignment: .leading) {
Text("2022-03-25")
.font(.title2)
Text("Version [UNNAMED]\n")
.font(.footnote)
Text("App production started. Textfields were mostly implemented but didn't do anything. Also started on the help page.")
}
Spacer()
}
.padding(30)
}
.navigationTitle("March 2022 Log")
.navigationBarTitleDisplayMode(.inline)
}
}