Skip to content

Refactor/1.7.3/carrel widget modification#102

Merged
doyoonkim3312 merged 6 commits into
developmentfrom
REFACTOR/1.7.3/carrel-widget-modification
Apr 7, 2026
Merged

Refactor/1.7.3/carrel widget modification#102
doyoonkim3312 merged 6 commits into
developmentfrom
REFACTOR/1.7.3/carrel-widget-modification

Conversation

@doyoonkim3312

@doyoonkim3312 doyoonkim3312 commented Apr 7, 2026

Copy link
Copy Markdown
Member

πŸ“ Summary (κ°œμš”)

  • Enable Carrel Room Widget for upcoming 1.7.3 release.
  • Modify Widget Presentation method.

πŸ”— Related Issue (κ΄€λ ¨ 이슈)

  • Resolves (if applicable) #
  • Jira Ticket: KAN-103

πŸ›  Type of Change (λ³€κ²½ 사항)

  • FEAT: New feature (μƒˆλ‘œμš΄ κΈ°λŠ₯)
  • FIX: Bug fix (버그 μˆ˜μ •)
  • REFACTOR: Code refactoring (no functional change) (μ½”λ“œ λ¦¬νŒ©ν† λ§)
  • DESIGN: UI/UX changes (λ””μžμΈ λ³€κ²½)
  • !HOTFIX: Critical fix (치λͺ…적인 버그 μˆ˜μ •)
  • CHORE: Build/Config/CI (λΉŒλ“œ/μ„€μ •/CI)

✨ Key Changes (핡심 λ³€κ²½ 사항)

  • Enable CarrelRoomWidget for upcoming 1.7.3 release. Corresponding WidgetReceiver and Lifecycle (ProcessLifecycle) reflected widget update logic have been revoked.
  • Modify Widget Presentation: Display Remaining Seats count, instead of occupied seats over total available seats.
  • Minor Cosmetic update (Apply a dynamic color resource for the track of Ring-Graph.
  • Replace hard-coded String to fully localized string resources (if applicable)

πŸ“Έ Screenshots / Video (μŠ€ν¬λ¦°μƒ· λ˜λŠ” λ™μ˜μƒ)

Light Theme (라이트 λͺ¨λ“œ)

Before (이전) After (이후)

Dark Theme (닀크 λͺ¨λ“œ)

Before (이전) After (이후)

πŸ§ͺ Test Plan (ν…ŒμŠ€νŠΈ κ³„νš)

  • Device: Android Emulator (Google Pixel 9 Pro, SDK 36)
  • Scenario: Open Widget Selector from the HomeScreen -> Check the CarrelRoomWidget is correctly listed.
  • Scenario: Add CarrelRoomWidget to the HomeScreen -> Check updated resources are correctly applied.

βœ… Checklist (체크리슀트)

  • My code follows the style guidelines of this project (μ½”λ“œ μŠ€νƒ€μΌμ„ μ€€μˆ˜ν–ˆμŠ΅λ‹ˆλ‹€).
  • I have performed a self-review of my own code (슀슀둜 μ½”λ“œλ₯Ό κ²€ν† ν–ˆμŠ΅λ‹ˆλ‹€).
  • I have commented my code, particularly in hard-to-understand areas (μ΄ν•΄ν•˜κΈ° μ–΄λ €μš΄ 뢀뢄에 주석을 μž‘μ„±ν–ˆμŠ΅λ‹ˆλ‹€).

  * Enable Study-Room Widget, starting from 1.7.3 release.

    - Revoke WidgetReceiver registration
    - Revoke Immediate Widget Update logic, reflecting Process Lifecycle.
  - Change method of displaying Carrel Room status metrics on Widget.
  - Replace hardcoded string to fully localized string resource (if applicable)

    - Before: Display current occupied seat and total seats available. (Occupied Seats / Total Seats)
    - After: Display current remaining seats.
  - Apply appropriate track color of the Ring graph to be generated by CarrelStatusBitmapGenerator.
  - Apply New Study Room Status Widget color scheme to Preview Layout and necessary preview Ring Graphs.
  - Define Theme-aware Color Resource for Widget Preview.
  - Define necessary localized String resource.
  - Feature Delivered (KAN-103; μ—΄λžŒμ‹€ μœ„μ ―)
  - Build configuraiton has been updated.
    * Version Code: 41
    * Version Name: 1.7.3 alpha-01
@doyoonkim3312 doyoonkim3312 requested a review from jeongHunE April 7, 2026 05:15
@doyoonkim3312 doyoonkim3312 self-assigned this Apr 7, 2026
@doyoonkim3312 doyoonkim3312 added Improvement Structural or Functional Improvement enhancement New feature or request labels Apr 7, 2026

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request re-enables the Carrel Room Status widget, updates the application versioning to 1.7.3 alpha-01, and introduces theme-aware UI components for the widget. The reviewer recommended using localized format strings for seat counts to prevent spacing issues across different languages and noted a filename inconsistency that should be corrected for better maintainability.

Comment thread app/src/main/AndroidManifest.xml
Comment thread common/src/main/res/values/strings.xml Outdated
Comment thread common/src/main/res/values-ko-rKR/strings.xml Outdated
Comment thread common/src/main/res/values-ja/strings.xml Outdated
  - Allow String Resource would take integer as part of the resource definition. (Apply dynamic space between string resource and non-static value combined.)
  - Change the Filename to match with the defined class name.
@doyoonkim3312 doyoonkim3312 merged commit 1f8ec75 into development Apr 7, 2026
1 check passed
@doyoonkim3312 doyoonkim3312 deleted the REFACTOR/1.7.3/carrel-widget-modification branch April 7, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Improvement Structural or Functional Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants