Skip to content

Fix Social tab rendering: broken emoji display and missing CSS styles#270

Merged
netkeep80 merged 3 commits intonetkeep80:mainfrom
konard:issue-269-5d06a50ee25a
Feb 6, 2026
Merged

Fix Social tab rendering: broken emoji display and missing CSS styles#270
netkeep80 merged 3 commits intonetkeep80:mainfrom
konard:issue-269-5d06a50ee25a

Conversation

@konard
Copy link
Contributor

@konard konard commented Feb 6, 2026

Summary

Fixes the incorrect display of the Social tab (Community Gallery) on mobile devices as reported in #269.

Root Causes Found

  1. Invalid Unicode escape sequences in Vue templates — Characters like \U0001F90D (invalid uppercase \U), \uD83D\uDC41, and \u2B07 were used as raw HTML text in template sections (outside {{ }}), so they rendered as literal escape code text instead of emoji characters
  2. Missing CSS styles — The CommunityGallery, SharePanel, NotificationPanel, and CommentsSection components used BEM class names (e.g., .community-gallery__grid, .share-panel__button) but had no corresponding CSS rules in App.css, causing everything to render as unstyled plain text

Changes

  • src/components/CommunityGallery.vue: Replace broken Unicode escapes with actual emoji characters (🤍, 👁, ⬇)
  • src/components/CommentsSection.vue: Replace broken Unicode escapes with actual emoji characters (❤️, 🤍, 💬, ✏️, 🗑️)
  • src/App.css: Add complete CSS styles for 4 components:
    • .community-gallery__* — Grid layout, card styling, badges, thumbnails, stats, pagination, responsive breakpoints
    • .share-panel__* — Form fields, buttons, link management, QR display
    • .notification-panel__* — Notification list, unread indicators, filters, action buttons
    • .comments-section__* — Comment threads, replies, avatars, forms, action buttons

Before (from issue #269)

Before

After

After

Test Plan

  • ESLint passes with no errors
  • Prettier formatting check passes
  • TypeScript type checking passes (vue-tsc --noEmit)
  • All 3585 tests pass (114 test files)
  • Visual verification on mobile viewport (375x812) — emojis render correctly, grid layout works, badges display, all three social tab sections (Gallery, Share, Notifications) are properly styled

🤖 Generated with Claude Code

Fixes #269

konard and others added 2 commits February 6, 2026 18:20
Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: netkeep80#269
- Replace invalid Unicode escape sequences (\U0001F90D, \uD83D\uDC41, \u2B07)
  in CommunityGallery.vue and CommentsSection.vue with actual emoji characters,
  fixing raw escape codes rendering as text in HTML templates
- Add missing CSS styles for CommunityGallery, SharePanel, NotificationPanel,
  and CommentsSection components to App.css, enabling proper grid layout,
  card styling, badges, pagination, and responsive mobile design

Fixes netkeep80#269

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@konard konard changed the title [WIP] Окно/таб соцсетей галереей сообщества отображается некорректно Fix Social tab rendering: broken emoji display and missing CSS styles Feb 6, 2026
@konard konard marked this pull request as ready for review February 6, 2026 17:36
@konard
Copy link
Contributor Author

konard commented Feb 6, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Public pricing estimate: $6.689664 USD
  • Calculated by Anthropic: $4.733510 USD
  • Difference: $-1.956153 (-29.24%)
    📎 Log file uploaded as Gist (1957KB)
    🔗 View complete solution draft log

Now working session is ended, feel free to review and add any feedback on the solution draft.

@netkeep80 netkeep80 merged commit f87dcb9 into netkeep80:main Feb 6, 2026
7 checks passed
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