Fixed issue where entering a distance of less than .1 crashed the app. Formatted the primary distance to three decimal paces. Added a "Clear" button which sets all text fields to "". Moved app back to Release Candidate.

This commit is contained in:
Isaac Greene 2022-06-16 23:37:45 -04:00
parent 7aa899ca7d
commit af513b8c05
4 changed files with 155 additions and 118 deletions

View file

@ -10,137 +10,153 @@ import SwiftUI
struct June2022: View {
var body: some View {
ScrollView {
//2022-06-15
//2022-06-16
HStack {
VStack (alignment: .leading) {
Text("2022-06-15")
Text("2022-06-16")
.font(.title2)
Text("Version Prerelease Build LVSXT10a.3\n")
Text("Version Release Candidate 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")
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)
//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")
// 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()
}
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")
.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()
}
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")
.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()
}
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")
.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()
}
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")
.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()
}
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")
.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-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")
.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-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.")
.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()
}
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.")
.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()
}
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)
}
.padding(30)
}
.navigationTitle("June 2022 Log")
.navigationBarTitleDisplayMode(.inline)