Skip to content

🔀 :: (#6) Add Images#7

Merged
iloveuhyeon merged 6 commits into
developfrom
refactor/#6-add-images
Jun 11, 2025
Merged

🔀 :: (#6) Add Images#7
iloveuhyeon merged 6 commits into
developfrom
refactor/#6-add-images

Conversation

@iloveuhyeon

Copy link
Copy Markdown
Collaborator

💡 개요

이미지들 추가

📃 작업내용

  • Jusicool Logo 추가
  • Card 추가
  • Cloud 추가
  • Check Coin 추가
  • Graphic 추가
  • Image 컴포넌트 추가

🔀 변경사항

🙋‍♂️ 질문사항

🍴 사용방법

🎸 기타

@iloveuhyeon iloveuhyeon self-assigned this Jun 10, 2025
@iloveuhyeon iloveuhyeon linked an issue Jun 10, 2025 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new image component and related assets to the design system, bumps the package version, and updates icon handling to align with the new image patterns.

  • Bumps version to 1.0.1 and registers assets/images/ in pubspec
  • Introduces JusicoolImage with static methods for each new image and exports it in the theme
  • Renames JusicoolIcons to JusicoolIcon, removes redundant methods, and updates the send icon asset name

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pubspec.yaml Version bumped; added assets/images/
lib/src/ui/widgets/.../comments.dart Updated icon reference from JusicoolIcons to JusicoolIcon
lib/src/core/theme/images/images.dart Added JusicoolImage class with factory methods
lib/src/core/theme/images.dart Export entrypoint for images
lib/src/core/theme/icons/icons.dart Renamed class to JusicoolIcon, removed old icons, updated send asset
lib/src/core/theme.dart Exported theme/images.dart
example/lib/main.dart Demonstrated JusicoolImage.cloud usage
CHANGELOG.md Added 1.0.1 entry for image additions
Comments suppressed due to low confidence (4)

lib/src/core/theme/icons/icons.dart:4

  • [nitpick] The file is named icons.dart but defines a singular JusicoolIcon class. Consider renaming the file to icon.dart or reverting the class name to JusicoolIcons for consistency.
class JusicoolIcon {

lib/src/core/theme/icons/icons.dart:122

  • Renaming send.svg to send_button.svg is a breaking change for consumers of JusicoolIcon.send. Ensure the changelog highlights this, or add an alias for backward compatibility.
_buildIcon('send_button.svg',

lib/src/core/theme/images/images.dart:1

  • New JusicoolImage methods are not covered by any unit or widget tests. Consider adding tests to verify asset loading and tap callbacks.
import 'package:flutter/material.dart';

lib/src/core/theme/images/images.dart:3

  • JusicoolImage is a public API but lacks Dart doc comments. Consider adding documentation for the class and its methods to aid consumers.
class JusicoolImage {

double height = 24,
VoidCallback? onTap,
}) =>
_buildImage('JUSICOOL_LOGO.png',

Copilot AI Jun 10, 2025

Copy link

Choose a reason for hiding this comment

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

[nitpick] Asset file name uses uppercase letters, which can cause issues on case-sensitive filesystems. Consider renaming to lowercase (e.g., jusicool_logo.png) for consistency.

Suggested change
_buildImage('JUSICOOL_LOGO.png',
_buildImage('jusicool_logo.png',

Copilot uses AI. Check for mistakes.

@DAMNyul DAMNyul left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

확인했습니다!

@iloveuhyeon iloveuhyeon merged commit 2312ffc into develop Jun 11, 2025
1 check passed
@iloveuhyeon iloveuhyeon deleted the refactor/#6-add-images branch June 18, 2025 11:34
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.

이미지 추가

3 participants