Skip to content
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

[Vertex AI] Align text and add close keyboard function in Sample Project #12887

Merged
merged 127 commits into from May 14, 2024

Conversation

1998code
Copy link
Contributor

@1998code 1998code commented May 2, 2024

Discussion

  • The keyboard should be hidden automatically in the Text and Multi-modal sections to prevent blocking content.
  • The text and input field are not aligned in Text section.
  • The input field sticks directly on the keyboard without any padding in Chat and ``Function Calling``` sections.

Testing

Just alignment and padding updated. Everything is working fine.

API Changes

N/A

andrewheard and others added 30 commits April 2, 2024 09:13
This reverts commit af7d783.

# Conflicts:
#	FirebaseVertexAI/Sources/VertexAI.swift
#	Package.swift
@1998code
Copy link
Contributor Author

1998code commented May 14, 2024

Rebased from main 🙏

@1998code
Copy link
Contributor Author

Screenshot 2024-05-14 at 10 25 18 AM

CLA checking seems failed.

@paulb777 paulb777 changed the base branch from vertex-ai to main May 14, 2024 03:19
@paulb777 paulb777 changed the base branch from main to vertex-ai May 14, 2024 03:19
@paulb777 paulb777 changed the base branch from vertex-ai to main May 14, 2024 03:20
@paulb777
Copy link
Member

Looks like we don't have a clean rebase

@1998code
Copy link
Contributor Author

🤔 Should we simply copy the updated code and open a new PR?

@paulb777
Copy link
Member

Maybe. There is a way to do it in git with git rebase --onto and another parameter, but either way is fine.

@1998code
Copy link
Contributor Author

Okay. Let me try again.

@1998code
Copy link
Contributor Author

Please see if everything is okay 🙏

Copy link
Contributor

@andrewheard andrewheard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @1998code! Other than the re-added GenerativeAISwift.swift file this LGTM.

FirebaseVertexAI/Sources/GenerativeAISwift.swift Outdated Show resolved Hide resolved
@paulb777 paulb777 requested a review from andrewheard May 14, 2024 17:09
Copy link
Contributor

@peterfriese peterfriese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contribution!

Copy link
Contributor

@andrewheard andrewheard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution (and patience with our reviews), @1998code!

@1998code
Copy link
Contributor Author

Thanks all. Happy GoogleIO day ♥️

@paulb777 paulb777 merged commit 5a1763b into firebase:main May 14, 2024
37 checks passed
@andrewheard
Copy link
Contributor

@1998code If you're interested in making a contribution in another repository, we have nearly the same sample app for the Google AI SDK: https://github.com/google-gemini/generative-ai-swift/tree/main/Examples/GenerativeAISample

No pressure though, I'd be happy to copy your improvements there.

@1998code
Copy link
Contributor Author

Updated 😊 @andrewheard
Please review google-gemini/generative-ai-swift#172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants