Skip to content

chore: visual update#156

Merged
hmbanan666 merged 1 commit into
mainfrom
visual
Sep 15, 2025
Merged

chore: visual update#156
hmbanan666 merged 1 commit into
mainfrom
visual

Conversation

@hmbanan666
Copy link
Copy Markdown
Collaborator

@hmbanan666 hmbanan666 commented Sep 15, 2025

Summary by CodeRabbit

  • Style
    • Updated main page button animation to slide up with a longer duration for smoother interaction.
    • Increased spacing and enlarged avatars in the staff list for improved readability.
    • Refined status text in the Kitchens Online flow from “работает/работают/работают” to “открыта/открыты/открыто” for clearer phrasing.

@hmbanan666 hmbanan666 self-assigned this Sep 15, 2025
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Sep 15, 2025

Walkthrough

Minor presentation updates across three Vue components: adjusted a button’s animation timing/direction, tweaked spacing and avatar size in a staff block, and replaced a status verb in a kitchens flow message. No logic, data flow, or public API changes.

Changes

Cohort / File(s) Summary of changes
Navigation button animation
apps/atrium-telegram/app/components/Navigation.vue
Changed UButton transition from slide-down 200ms to slide-up 1000ms; no other markup/logic changes.
Staff block spacing and avatar size
apps/atrium-telegram/app/components/StaffBlock.vue
Increased container gap from gap-1 to gap-2; avatar size from size-14 to size-16; no functional changes.
Kitchens status wording
apps/atrium-telegram/app/components/flow/KitchensOnline.vue
Replaced status verb from “работает/…“ to “открыта/…“ after “сейчас”; structure and logic unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I twitch my ears at tweaks so fine,
A button floats up, taking its time.
Staff smiles larger, gaps aligned—
Kitchens now “open,” clearly signed.
Thump-thump! Small shifts, design refined. 🥕✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The PR title "chore: visual update" accurately and concisely reflects the changes, which are presentation-only UI tweaks across components (animation timing/direction, spacing and avatar size, and a status wording change), and it is not misleading.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch visual

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (6)
apps/atrium-telegram/app/components/Navigation.vue (3)

9-9: Add an accessible label for the icon-only primary button.

The plus-only UButton lacks a text label; add an aria-label to keep it screen‑reader friendly.

-        class="transition-all duration-200 ease-in-out motion-preset-slide-up motion-duration-1000"
+        aria-label="Добавить"
+        class="transition-all duration-200 ease-in-out motion-preset-slide-up motion-duration-1000"

9-9: Respect reduced‑motion preferences.

Gate the long entrance motion behind prefers‑reduced‑motion to avoid motion sickness.

-        class="transition-all duration-200 ease-in-out motion-preset-slide-up motion-duration-1000"
+        class="transition-all duration-200 ease-in-out motion-safe:motion-preset-slide-up motion-safe:motion-duration-1000 motion-reduce:transition-none motion-reduce:motion-duration-0"

9-9: 1s entrance feels slow for a primary action; verify spec.

Consider shortening to improve perceived responsiveness.

-        class="transition-all duration-200 ease-in-out motion-preset-slide-up motion-duration-1000"
+        class="transition-all duration-200 ease-in-out motion-preset-slide-up motion-duration-300"
apps/atrium-telegram/app/components/StaffBlock.vue (2)

3-3: Make spacing responsive to avoid early wrapping on narrow screens.

The larger gap can cause premature wraps in the horizontal scroller; consider responsive gaps.

-    <div class="w-max flex flex-row flex-wrap gap-2">
+    <div class="w-max flex flex-row flex-wrap gap-1 sm:gap-2">

13-13: Provide alt text (or mark decorative) for the avatar.

Improve a11y by setting an alt; if decorative, use empty alt or aria-hidden.

-          <UAvatar
+          <UAvatar
             :src="user?.avatarUrl ?? undefined"
-            class="size-16 border-2 border-default"
+            :alt="`${user.name} ${user.surname}`"
+            class="size-16 border-2 border-default"
apps/atrium-telegram/app/components/flow/KitchensOnline.vue (1)

18-19: Confirm Russian pluralization edge cases (0, 11–14, 111–114).

If pluralizationRu already handles RU rules, great; if not, outputs like “11 Кухонь сейчас открыты” will be wrong. Consider Intl.PluralRules('ru') or vue‑i18n ICU.

Example (non-breaking refactor later):

const pr = new Intl.PluralRules('ru')
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fefb28e and 2f351b6.

📒 Files selected for processing (3)
  • apps/atrium-telegram/app/components/Navigation.vue (1 hunks)
  • apps/atrium-telegram/app/components/StaffBlock.vue (2 hunks)
  • apps/atrium-telegram/app/components/flow/KitchensOnline.vue (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build

@hmbanan666 hmbanan666 merged commit 8898b57 into main Sep 15, 2025
8 checks passed
@hmbanan666 hmbanan666 deleted the visual branch September 15, 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.

1 participant