add custom brush data layer for brush designer#50
Conversation
New files: - developer/brushdesigner/data/CustomBrushEntity.kt - developer/brushdesigner/data/CustomBrushDao.kt - developer/brushdesigner/data/BrushDesignerRepository.kt Build config: - settings.gradle.kts: include :ink-proto module - build.gradle.kts: add ink-proto + protobuf-javalite deps - libs.versions.toml: add protobufJavalite version - ink-proto: add build.gradle.kts + proto source files for Brush Family
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the application's brush designer functionality by introducing a robust data persistence layer for custom brushes. It establishes the necessary database entities, data access objects, and a repository to manage custom brush configurations. Furthermore, it integrates Protobuf for defining complex brush properties, ensuring a structured and extensible way to store and retrieve brush data. These changes lay the groundwork for users to create, save, and manage their own unique brush styles within the application. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request sets up the data layer for a new brush designer feature, including a new ink-proto module for protobuf definitions, database entities, DAOs, and migrations. The changes are well-structured. I've identified a few issues: a critical one with a Gradle plugin version that will likely break the build, a couple of high-severity issues related to dependency versioning and data class correctness that could lead to build or runtime problems, and a medium-severity issue regarding state management in the new repository. Addressing these will improve the robustness and maintainability of the new feature.
New files:
Build config: