Skip to content

Conversation

@iloveuhyeon
Copy link
Collaborator

πŸ’‘ κ°œμš”

  • 배포 μ€€λΉ„ 쀑

πŸ“ƒ μž‘μ—…λ‚΄μš©

πŸ™‹β€β™‚οΈ μ§ˆλ¬Έμ‚¬ν•­

  • κ°œμ„ ν•  점, μ˜€νƒ€, μ½”λ“œμ— μ΄μƒν•œ 뢀뢄이 μžˆλ‹€λ©΄ Comment λ‹¬μ•„μ£Όμ„Έμš”.

🍴 μ‚¬μš©λ°©λ²•

Copy link
Contributor

Copilot AI left a comment

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 prepares the app for deployment by adjusting UI layouts, adding scrollable wrappers, implementing logout/withdraw flows, and updating navigation targets.

  • Wrapped several screens in scroll views and adjusted padding/spacing.
  • Introduced LogoutProfile and WithdrawProfile events with UI buttons and Bloc handling.
  • Updated navigation logic in login, home, and community detail screens.
  • Removed responsive .sp sizing and inserted fixed pixel values (potential regression).
  • Added debug print(e) statements in StageBloc.

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pubspec.yaml Removed trailing whitespace
lib/presentation/team_create/screen/team_place_screen.dart Made content scrollable and tweaked spacing/padding
lib/presentation/team_create/screen/team_create_screen.dart Added scroll container and adjusted bottom padding
lib/presentation/stage_create/widgets/stage_student_manage_popup.dart Wrapped popup content in SingleChildScrollView
lib/presentation/stage/bloc/stage_bloc.dart Added debug print(e) calls
lib/presentation/profile/screen/profile_screen.dart Added logout/withdraw buttons
lib/presentation/profile/bloc/profile/profile_event.dart Defined LogoutProfile and WithdrawProfile events
lib/presentation/profile/bloc/profile/profile_bloc.dart Handled logout/withdraw events
lib/presentation/logIn/screen/login_screen.dart Changed post-login route to stage
lib/presentation/logIn/bloc/login_bloc.dart Modified case logic for Authority.USER
lib/presentation/home/widgets/appbar/home_appbar.dart Hardcoded now date
lib/presentation/home/screen/home_screen.dart Updated context.pushNamed parameters
lib/presentation/community/screen/community_detail_screen.dart Refactored image loading and formatting
lib/presentation/match_detail/widget/match_state_widget.dart Replaced responsive .sp units with fixed pixels
lib/design_system/component/tag/gogo_borderless_tag_component.dart Centered tag content
Comments suppressed due to low confidence (3)

lib/presentation/logIn/bloc/login_bloc.dart:56

  • Dart case labels cannot use a boolean expression. Handle Authority.USER and Authority.STAFF in separate case statements or use a switch fall-through pattern.
case Authority.USER || Authority.STAFF:

lib/presentation/home/widgets/appbar/home_appbar.dart:26

  • The date is hardcoded to April 20, 2025. Replace with DateTime.now() to reflect the actual current date.
final now = DateTime(2025,04,20);

lib/presentation/match_detail/widget/match_state_widget.dart:49

  • Removing .sp responsive units in favor of fixed pixel values may break designs on different screen sizes. Consider restoring responsive sizing.
width: 16,

stream_transform: ^2.1.1 # stream의 concurrencyλ₯Ό λ„μ™€μ£ΌλŠ” 라이브러리

image_picker: ^1.1.2 # 이미지 선택 라이브러리

Copy link

Copilot AI May 29, 2025

Choose a reason for hiding this comment

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

Remove the extra blank line containing only whitespace to avoid trailing spaces in pubspec.yaml.

Suggested change

Copilot uses AI. Check for mistakes.
SearchStageResponse stage = await _stageRepository.getAllStages();
emit(StageLoaded(stage: stage));
} catch (e) {
print(e);
Copy link

Copilot AI May 29, 2025

Choose a reason for hiding this comment

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

Remove this debug print(e) statement or replace it with proper logging to avoid printing exceptions in production.

Suggested change
print(e);
log(e.toString());

Copilot uses AI. Check for mistakes.
try {
await _stageRepository.joinStage(event.stageId, event.body);
} catch (e) {
print(e);
Copy link

Copilot AI May 29, 2025

Choose a reason for hiding this comment

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

Remove this debug print(e) statement or replace it with proper logging to avoid printing exceptions in production.

Suggested change
print(e);
log(e.toString(), name: 'StageBloc');

Copilot uses AI. Check for mistakes.
Future<void> _withdrawProfile(
WithdrawProfile event, Emitter<ProfileState> emit) async {
try {
await authRepository.logOut();
Copy link

Copilot AI May 29, 2025

Choose a reason for hiding this comment

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

In _withdrawProfile, calling logOut() likely should be a withdrawal or account deletion API, not a logout. Update to call the correct repository method.

Suggested change
await authRepository.logOut();
await authRepository.withdrawAccount();

Copilot uses AI. Check for mistakes.
@iloveuhyeon iloveuhyeon merged commit dcad1fc into develop May 29, 2025
1 check passed
@iloveuhyeon iloveuhyeon deleted the feature/#176-ready-for-deployment branch May 29, 2025 14:44
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.

λ‘œκ·Έμ•„μ›ƒ κΈ°λŠ₯ κ΅¬ν˜„ 밎 배포 μ€€λΉ„

2 participants