Skip to content

Shorten the profile badge so project names stay readable - #4

Merged
hami9 merged 1 commit into
mainfrom
fix/profile-badge-width
Sep 30, 2026
Merged

hami9 merged 1 commit into
mainfrom
fix/profile-badge-width

Conversation

@hami9

@hami9 hami9 commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #2. With the badge no longer wrapping, it took enough of a 360dp card that the project name was truncated instead: Tasks SQ… next to SQLite Database App.

ProjectProfile gains a shortName (Python, Telegram, HTTP API, Static Web, SQLite) used only by the badge, so the card shows Tasks SQLite App + SQLite. displayName is unchanged and still used for the card description, the settings dialog and the entry-point message.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • UI Improvements
    • Profile badges now display concise labels such as “Python,” “Telegram,” and “Static Web,” rather than longer profile names. This makes the project type easier to scan in the home screen. Existing profile names and identifiers remain unchanged.

On a 360dp phone the badge took so much of the card that names were cut
to "Tasks SQ..." and "Local Web Da...". The badge now carries a short
label — Python, Telegram, HTTP API, Static Web, SQLite — and the full
profile name stays where there is room for it, in the card description
and in the project settings.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 2d563975-ac28-4bd4-a4ef-e751296c9dbc

📥 Commits

Reviewing files that changed from the base of the PR and between f5cce4e and 8980911.

📒 Files selected for processing (2)
  • app/src/main/java/com/runcode/app/domain/models/Models.kt
  • app/src/main/java/com/runcode/app/ui/screens/HomeScreen.kt
 ________________________________________________________
< Why so serious? Let's put a smile on that code's face. >
 --------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@hami9
hami9 merged commit 4056aa2 into main Sep 30, 2026
1 of 2 checks passed
@hami9
hami9 deleted the fix/profile-badge-width branch September 30, 2026 10:35
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