-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Export Chat
functionality.
#150
Conversation
Build complete! Here's the debug APK: https://github.com/Taewan-P/gpt_mobile/actions/runs/12632048596/artifacts/2389974685 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi. Thanks for the contribution!
Just commented a few things before merging it :)
app/src/main/kotlin/dev/chungjungsoo/gptmobile/presentation/ui/chat/ChatScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/kotlin/dev/chungjungsoo/gptmobile/presentation/ui/chat/ChatViewModel.kt
Outdated
Show resolved
Hide resolved
…bile#150) by sister project GPT-Mobile developer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! You did a great job on your first Android App PR. I'll handle the minor changes. Thank you for the contribution!
@Taewan-P - Amazing work on this project! Thank you for sharing 🐧
For #141
I find this works well for me, so I'd thought you might like :)
(That last screenshot was from my final testing so the messaging is off from the first screenshot)
CoPilot Generated
This pull request introduces several new features and improvements to the
gpt_mobile
project, primarily focusing on adding chat export functionality and updating dependencies. The most important changes include modifications to theChatScreen
andChatViewModel
to support exporting chat history, as well as updates to the project configuration files.Chat Export Functionality:
app/src/main/AndroidManifest.xml
: Added aFileProvider
to support sharing files between apps.app/src/main/kotlin/dev/chungjungsoo/gptmobile/presentation/ui/chat/ChatScreen.kt
: Added a new menu item to export chat history and updated theChatTopBar
andChatDropdownMenu
functions to include the export option. [1] [2] [3] [4] [5]app/src/main/kotlin/dev/chungjungsoo/gptmobile/presentation/ui/chat/ChatViewModel.kt
: Implemented theexportChat
function to generate and share a Markdown file of the chat history. [1] [2] [3]app/src/main/res/values/strings.xml
: Added a new string resource for the export chat menu item.Project Configuration:
.idea/vcs.xml
: Added a new directory mapping for thegpt_mobile
project to use Git version control.gradle/libs.versions.toml
: Updated the Android Gradle Plugin (AGP) version to 8.7.3.