generated from StanfordSpezi/SpeziTemplateApplication
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Finalize SurgeryView UI and refactor HomeView ## ♻️ Current situation & Problem The SurgeryView previously did not have room for the "chat" button in the toolbar to bring up the LLM chat assistant. Also, the HomeView code was extremely messy and used disable swiftlint commands to avoid warnings. ## ⚙️ Release Notes Got rid of the "edit" button in SurgeryView. Added a "delete" button to the InspectSurgeryView (it is not shown when adding a new surgery). Now, if a user wants to delete a surgery, they can either swipe left on the surgery in SurgeryView or click on it to edit and select the "delete" button. SurgeryView now has a "chat" button in the toolbar to activate the LLM assistant. ## 📚 Documentation This is what the new views look like: <img width="327" alt="Screenshot 2024-03-11 at 12 01 06 AM" src="https://github.com/CS342/2024-Intake/assets/108841122/8b91723d-96bb-4aee-be94-9b34337458ab"> <img width="323" alt="Screenshot 2024-03-11 at 12 00 39 AM" src="https://github.com/CS342/2024-Intake/assets/108841122/863224df-69f2-4b41-b70d-028d135ac4d4"> <img width="322" alt="Screenshot 2024-03-11 at 12 00 55 AM" src="https://github.com/CS342/2024-Intake/assets/108841122/cfdec751-66a7-467a-8ef0-50375429ef6e"> ## ✅ Testing This code will be thoroughly tested along with the rest of the codebase. ## 📝 Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md): - [X] I agree to follow the [Code of Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md).
- Loading branch information
Showing
4 changed files
with
106 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters