-
Notifications
You must be signed in to change notification settings - Fork 0
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
π :: (#128) - change icon file elements #129
Conversation
Walkthroughμ΄ λ³κ²½ μ¬νμ Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? πͺ§ TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 2
π§Ή Outside diff range and nitpick comments (3)
core/design-system/src/main/res/drawable/ic_drop_down.xml (1)
1-9
: μ κ·Όμ±μ μν contentDescription μΆκ° νμμκ° μ₯μ μΈμ μν TalkBack μ§μμ μν΄ contentDescriptionμ μΆκ°νλ κ²μ΄ μ’μ΅λλ€.
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" - android:viewportHeight="24"> + android:viewportHeight="24" + android:contentDescription="@string/dropdown_icon_description">strings.xmlμ λ€μ λ¬Έμμ΄λ μΆκ°ν΄ μ£ΌμΈμ:
<string name="dropdown_icon_description">λλ‘λ€μ΄ λ©λ΄ μμ΄μ½</string>core/design-system/src/main/res/drawable/ic_long_content.xml (1)
6-8
: μ κ·Όμ±κ³Ό ν λ§ μ§μμ μν κ°μ μ¬νμ μ μλ립λλ€.νμ¬ κ΅¬νμ κΈ°λ₯μ μΌλ‘λ λ¬Έμ κ° μμΌλ, λ€μκ³Ό κ°μ κ°μ μ¬νμ κ³ λ €ν΄λ³΄μκΈ° λ°λλλ€:
- λ€ν¬ λͺ¨λ μ§μμ μν΄ νλμ½λ©λ μμ λμ ν λ§ μμ±μ μ¬μ©
- μμ΄μ½μ μλ―Έλ₯Ό λ λͺ ννκ² μ λ¬νκΈ° μν contentDescription μμ± μΆκ°
λ€μκ³Ό κ°μ΄ μμ ν΄λ³΄μλ κ²μ μ΄λ¨κΉμ:
<path android:pathData="M3,6.8a0.8,0.8 0,0 1,0.8 -0.8h16.4a0.7,0.7 0,1 1,0 1.5L3.9,7.5a0.8,0.8 0,0 1,-0.8 -0.8ZM20.3,9.8L3.6,9.8a0.8,0.8 0,0 0,0 1.4h16.6a0.7,0.7 0,1 0,0 -1.4ZM20.3,13.5L3.6,13.5a0.7,0.7 0,1 0,0 1.5h16.6a0.7,0.7 0,1 0,0 -1.5ZM15.7,17.3h-12a0.7,0.7 0,1 0,0 1.4h12a0.7,0.7 0,1 0,0 -1.4Z" - android:fillColor="#121212"/> + android:fillColor="?attr/colorOnSurface"/>μΆκ°λ‘ λ²‘ν° μμμ λ€μ μμ±μ μΆκ°νλ κ²μ μΆμ²λ립λλ€:
<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:contentDescription="@string/long_content_description" android:width="24dp"
core/design-system/src/main/res/values/strings.xml (1)
23-27
: λ¬Έμμ΄ μ λ ¬ μμ κ°μ μ μκ°λ μ±κ³Ό μ μ§λ³΄μλ₯Ό μν΄ νκΈ μμ μμλλ‘ μ λ ¬νλ κ²μ μ μλ립λλ€.
λ€μκ³Ό κ°μ΄ μ λ ¬νλ©΄ μ’μ κ² κ°μ΅λλ€:
<string name="setting_description">μΈν μμ΄μ½</string> - <string name="checkbox_description">체ν¬λ°μ€ μμ΄μ½</string> - <string name="drop_down_description">λλ‘λ€μ΄ μμ΄μ½</string> - <string name="two_circle_description">μ§λ¬Έ μμ΄μ½</string> - <string name="long_content_description">μ₯λ¬Έ μμ΄μ½</string> - <string name="short_content_description">λ¨λ¬Έ μμ΄μ½</string> + <string name="drop_down_description">λλ‘λ€μ΄ μμ΄μ½</string> + <string name="long_content_description">μ₯λ¬Έ μμ΄μ½</string> + <string name="short_content_description">λ¨λ¬Έ μμ΄μ½</string> + <string name="checkbox_description">체ν¬λ°μ€ μμ΄μ½</string> + <string name="two_circle_description">μ§λ¬Έ μμ΄μ½</string> </resources>
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
β Files ignored due to path filters (1)
core/design-system/src/main/res/drawable/logo_expo.png
is excluded by!**/*.png
π Files selected for processing (7)
- core/design-system/src/main/java/com/school_of_company/design_system/icon/ExpoIcon.kt (2 hunks)
- core/design-system/src/main/res/drawable/ic_check_box.xml (1 hunks)
- core/design-system/src/main/res/drawable/ic_drop_down.xml (1 hunks)
- core/design-system/src/main/res/drawable/ic_long_content.xml (1 hunks)
- core/design-system/src/main/res/drawable/ic_short_content.xml (1 hunks)
- core/design-system/src/main/res/drawable/ic_two_circle.xml (1 hunks)
- core/design-system/src/main/res/values/strings.xml (1 hunks)
β Files skipped from review due to trivial changes (2)
- core/design-system/src/main/res/drawable/ic_short_content.xml
- core/design-system/src/main/res/drawable/ic_two_circle.xml
π§° Additional context used
π Additional comments (7)
core/design-system/src/main/res/drawable/ic_drop_down.xml (1)
1-5
: λ²‘ν° λλ‘μ΄λΈμ ν¬κΈ°μ κ΅¬μ‘°κ° μ μ ν©λλ€.24dp ν¬κΈ°μ λ·°ν¬νΈ μ€μ μ΄ λ¨Έν°λ¦¬μΌ λμμΈ κ°μ΄λλΌμΈμ μ λ°λ₯΄κ³ μμ΅λλ€.
core/design-system/src/main/res/drawable/ic_check_box.xml (1)
1-5
: λ²‘ν° λλ‘μ΄λΈ κ΅¬μ‘°κ° μ μ ν©λλ€.Material Design κ°μ΄λλΌμΈμ λ§λ 24dp ν¬κΈ°μ μ¬λ°λ₯Έ λ·°ν¬νΈ μ€μ μ΄ λμ΄μμ΅λλ€.
core/design-system/src/main/res/drawable/ic_long_content.xml (2)
1-5
: λ²‘ν° μ μΈμ΄ Material Design κ°μ΄λλΌμΈμ μ λ°λ₯΄κ³ μμ΅λλ€.24dp x 24dp ν¬κΈ°μ λμΌν λ·°ν¬νΈ λΉμ¨μ μ¬μ©νμ¬ μ μ νκ² κ΅¬μ±λμμ΅λλ€.
1-9
: λμμΈ μμ€ν λ΄μ λ€λ₯Έ μμ΄μ½λ€κ³Όμ μΌκ΄μ±μ νμΈν΄μ£ΌμΈμ.μλ‘ μΆκ°λ μμ΄μ½μ μ€νμΌμ΄ κΈ°μ‘΄ λμμΈ μμ€ν μ μμ΄μ½λ€κ³Ό μΌκ΄μ±μ΄ μλμ§ νμΈμ΄ νμν©λλ€.
β Verification successful
μλ‘ μΆκ°λ
ic_long_content.xml
μμ΄μ½μ λΆμν κ²°κ³Ό, λμμΈ μμ€ν μ λ€λ₯Έ μμ΄μ½λ€κ³Ό μΌκ΄μ±μ΄ μμμ νμΈνμ΅λλ€.κ²μ¦ κ²°κ³Ό:
- μμ΄μ½ ν¬κΈ°: λλΆλΆμ μμ΄μ½λ€μ΄ 24dp x 24dp ν¬κΈ°λ₯Ό μ¬μ©νκ³ μμΌλ©°,
ic_long_content.xml
λ λμΌν ν¬κΈ°(24dp x 24dp)λ₯Ό μ¬μ©ν©λλ€. (μμΈ:ic_main_expo_logo.xml
μ λ‘κ³ μ© νΉμ ν¬κΈ°)- μμ: λλΆλΆμ μμ΄μ½λ€μ΄
#121212
μμμ μ¬μ©νκ³ μμΌλ©°,ic_long_content.xml
λ λμΌν μμμ μ¬μ©ν©λλ€. (μμΈ:ic_main_expo_logo.xml
μ λΈλλ μμ,ic_copy.xml
μ#000
)π Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # λμμΈ μμ€ν μ λ€λ₯Έ μμ΄μ½λ€κ³Ό μ€νμΌ μΌκ΄μ± νμΈ # λ€λ₯Έ μμ΄μ½ νμΌλ€μ μμ κ° νμΈ echo "λ€λ₯Έ μμ΄μ½ νμΌλ€μ μμ κ° νμΈ:" rg "android:fillColor" "core/design-system/src/main/res/drawable/" # μμ΄μ½ ν¬κΈ° μΌκ΄μ± νμΈ echo -e "\nμμ΄μ½ ν¬κΈ° μΌκ΄μ± νμΈ:" rg "android:width|android:height" "core/design-system/src/main/res/drawable/"Length of output: 6753
core/design-system/src/main/res/values/strings.xml (1)
23-27
: μλ‘μ΄ μμ΄μ½ λ¬Έμμ΄μ΄ μ μΆκ°λμμ΅λλ€!μλ‘ μΆκ°λ μμ΄μ½ μ€λͺ λ€μ΄ κΈ°μ‘΄ ν¨ν΄μ μ λ°λ₯΄κ³ μμΌλ©°, λͺ νν μλ―Έλ₯Ό μ λ¬νκ³ μμ΅λλ€.
core/design-system/src/main/java/com/school_of_company/design_system/icon/ExpoIcon.kt (2)
13-13
: 리μμ€ ID λ³κ²½ κ²μ¦ νμ리μμ€ IDκ°
ic_main_expo_logo
μμlogo_expo
λ‘ λ³κ²½λμμ΅λλ€. μλ‘μ΄ λ¦¬μμ€κ° μ¬λ°λ₯΄κ² μΆκ°λμλμ§ νμΈμ΄ νμν©λλ€.#!/bin/bash # μλ‘μ΄ λ‘κ³ λ¦¬μμ€ νμΌ μ‘΄μ¬ μ¬λΆ νμΈ fd "logo_expo.xml" -t f
190-232
: μλ‘μ΄ μμ΄μ½ μ»΄ν¬μ λΈ κ΅¬νμ΄ μΌκ΄μ± μκ² μμ±λμμ΅λλ€.κ° μμ΄μ½ μ»΄ν¬μ λΈμ΄ κΈ°μ‘΄ ν¨ν΄μ μ λ°λ₯΄κ³ μμΌλ©°, μ½λ κ΅¬μ‘°κ° μΌκ΄μ± μκ² μμ±λμμ΅λλ€.
리μμ€ νμΌ κ²μ¦μ΄ νμν©λλ€.
μλ‘ μΆκ°λ μμ΄μ½λ€μ 리μμ€ νμΌκ³Ό λ¬Έμμ΄μ΄ μ¬λ°λ₯΄κ² μΆκ°λμλμ§ νμΈμ΄ νμν©λλ€:
- λλ‘μ΄λΈ: ic_check_box, ic_drop_down, ic_two_circle, ic_long_content, ic_short_content
- λ¬Έμμ΄: checkbox_description, drop_down_description, two_circle_description, long_content_description, short_content_description
β Verification successful
Let me try a different approach to verify the resources:
리μμ€ νμΌμ΄ λͺ¨λ μ¬λ°λ₯΄κ² ꡬνλμ΄ μμμ νμΈνμ΅λλ€.
κ²μ¦ κ²°κ³Ό:
- λͺ¨λ λλ‘μ΄λΈ 리μμ€κ°
core/design-system/src/main/res/drawable/
κ²½λ‘μ μ μμ μΌλ‘ μ‘΄μ¬ν©λλ€:
- ic_check_box.xml
- ic_drop_down.xml
- ic_two_circle.xml
- ic_long_content.xml
- ic_short_content.xml
- λͺ¨λ λ¬Έμμ΄ λ¦¬μμ€κ°
core/design-system/src/main/res/values/strings.xml
μ μ μ ν μ μλμ΄ μμ΅λλ€:
- checkbox_description: "체ν¬λ°μ€ μμ΄μ½"
- drop_down_description: "λλ‘λ€μ΄ μμ΄μ½"
- two_circle_description: "μ§λ¬Έ μμ΄μ½"
- long_content_description: "μ₯λ¬Έ μμ΄μ½"
- short_content_description: "λ¨λ¬Έ μμ΄μ½"
μ½λμ 리μμ€ λͺ¨λ μΌκ΄λ λ€μ΄λ° ν¨ν΄μ λ°λ₯΄κ³ μμΌλ©°, λλ½λ 리μμ€ μμ΄ μλ²½νκ² κ΅¬νλμ΄ μμ΅λλ€.
π Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash echo "λλ‘μ΄λΈ 리μμ€ νμΈ:" fd "ic_(check_box|drop_down|two_circle|long_content|short_content).xml" -t f echo "\nλ¬Έμμ΄ λ¦¬μμ€ νμΈ:" rg "(checkbox|drop_down|two_circle|long_content|short_content)_description" -t xmlLength of output: 194
Script:
#!/bin/bash # Check drawable resources echo "=== Drawable Resources ===" fd "ic_check_box" --type f fd "ic_drop_down" --type f fd "ic_two_circle" --type f fd "ic_long_content" --type f fd "ic_short_content" --type f # Check string resources echo -e "\n=== String Resources ===" rg -t xml "checkbox_description" rg -t xml "drop_down_description" rg -t xml "two_circle_description" rg -t xml "long_content_description" rg -t xml "short_content_description" # Check if there are any similar resources with different naming patterns echo -e "\n=== Similar Resources ===" fd "check.*box" --type f fd "drop.*down" --type f fd "two.*circle" --type f fd "(long|short).*content" --type fLength of output: 1781
π‘ κ°μ
π μμ λ΄μ©
π λ³κ²½μ¬ν
πββοΈ μ§λ¬Έμ¬ν
π΄ μ¬μ©λ°©λ²
πΈ κΈ°ν
Summary by CodeRabbit