Skip to content

תיקון אודות ופר ספר#211

Open
DeveShlomo wants to merge 35 commits intoOtzaria:migrationDB_V2from
DeveShlomo:migrationDB_V2
Open

תיקון אודות ופר ספר#211
DeveShlomo wants to merge 35 commits intoOtzaria:migrationDB_V2from
DeveShlomo:migrationDB_V2

Conversation

@DeveShlomo
Copy link

No description provided.

@gemini-code-assist
Copy link

Summary of Changes

Hello, 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 focuses on refining the settings and appearance of the application. It includes changes to default settings values and updates to the 'AboutDevTab' screen, enhancing the user experience and providing a more polished interface. Additionally, the lists of contributors have been updated to reflect current information.

Highlights

  • Default Value Change: The default value for 'enablePerBookSettings' was changed from true to false in multiple locations.
  • UI Updates: Updated the 'AboutDevTab' screen to improve the look and feel, including adjustments to styles and the use of new UI components.
  • Contributor List Modifications: The lists of developers and book editors were updated with name changes and URL adjustments.

🧠 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
  • lib/settings/engine/settings_repository.dart
    • Changed the default value of 'enablePerBookSettings' to false.
    • Updated the initial settings values to reflect the new default.
  • lib/settings/engine/settings_state.dart
    • Modified the default state to disable 'enablePerBookSettings'.
  • lib/settings/tabs/about_dev_tab.dart
    • Updated the UI of the 'AboutDevTab' screen with new styles and components.
    • Modified the lists of developers and book editors with updated names and URLs.
Activity
  • The pull request involves changes to default settings and UI enhancements.
  • The 'enablePerBookSettings' default value was changed from true to false.
  • The 'AboutDevTab' screen was updated with new styles and components.
  • Contributor lists were modified to reflect current information.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

בסך הכל, מדובר בשינוי חיובי שמטרתו לשפר את עקביות הממשק והקוד. השינוי המרכזי הוא ריפקטור של לשונית 'אודות' לשימוש ברכיבים משותפים וערכות נושא, מה שמקל על התחזוקה ומשפר את איכות הקוד. בנוסף, שונה ערך ברירת המחדל של enablePerBookSettings. מצאתי הערה קטנה לגבי פרמטר מיותר בפונקציה.


Widget _editorCategory(String label, List<Map<String, String>> editors) {
Widget _editorCategory(
BuildContext context, String label, List<Map<String, String>> editors) {

Choose a reason for hiding this comment

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

medium

הפרמטר context שהוסף לחתימת הפונקציה _editorCategory אינו בשימוש בגוף הפונקציה. מומלץ להסירו כדי לשמור על קוד נקי וברור, ולעדכן את הקריאות לפונקציה בהתאם.

@DeveShlomo DeveShlomo force-pushed the migrationDB_V2 branch 2 times, most recently from 0da7112 to 87b24d5 Compare March 11, 2026 14:08
@DeveShlomo
Copy link
Author

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

בסך הכל, מדובר בשינוי משמעותי וחיובי מאוד. ה-refactoring של מערכת העיצוב (Theming) ומערכת ההתראות (UiSnack) הוא צעד מצוין לשיפור איכות הקוד, התחזוקתיות והעקביות של הממשק. השימוש בקבצים מרכזיים כמו AppThemeData ו-AppTokens הוא פרקטיקה מומלצת. גם החלפת ScaffoldMessenger ב-UiSnack החדש בכל האפליקציה מפשטת את הקוד. השיפורים במסכי האודות וההגדרות תורמים גם הם למראה אחיד יותר. מצאתי שתי הזדמנויות לשיפור קל בחווית המשתמש.

Comment on lines +248 to +251
Text(
'מאגר תורני חינמי, רחב ומהיר לשימוש בכל מקום.',
style: kSettingsSubtitleStyle,
),

Choose a reason for hiding this comment

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

medium

השימוש ב-kSettingsSubtitleStyle מקטין משמעותית את גודל הגופן של תיאור האפליקציה (מ-18 ל-13). מכיוון שזהו תיאור מרכזי ולא כותרת משנה של הגדרה, מומלץ להשתמש בסגנון בולט יותר, למשל Theme.of(context).textTheme.bodyLarge עם צבע מתאים, כדי לשמור על קריאות והיררכיה ויזואלית.

Suggested change
Text(
'מאגר תורני חינמי, רחב ומהיר לשימוש בכל מקום.',
style: kSettingsSubtitleStyle,
),
Text(
'מאגר תורני חינמי, רחב ומהיר לשימוש בכל מקום.',
style: Theme.of(context).textTheme.bodyLarge?.copyWith(color: Theme.of(context).colorScheme.onSurfaceVariant),
),

Copy link
Author

Choose a reason for hiding this comment

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

צריך לבדוק את זה
שלחתי כבר תמונה להבל הבלים

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.

1 participant