Skip to content

resize card - #113

Merged
nitinmohan18 merged 1 commit into
mainfrom
uii-ux
Jul 25, 2026
Merged

resize card#113
nitinmohan18 merged 1 commit into
mainfrom
uii-ux

Conversation

@nitinmohan18

@nitinmohan18 nitinmohan18 commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Added a redesigned authentication overlay with updated visuals and frosted background effects.
    • Introduced refreshed onboarding timeline presentation, including a “Final Step” badge.
    • Added feature highlight chips to replace the previous personalization message.
    • Updated primary and preview actions with improved layout and styling.
  • Bug Fixes

    • Improved scroll-linked overlay animation timing for a smoother experience.

@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyper-learning-tech Ready Ready Preview, Comment Jul 25, 2026 2:50am

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Changes

The dashboard authentication overlay now uses updated scroll-linked animation timing, a fixed frosted card presentation, redesigned onboarding steps, revised authentication and preview actions, and feature-pill personalization details.

Dashboard authentication overlay

Layer / File(s) Summary
Overlay presentation and animation
components/dashboard/auth-overlay.tsx
The scroll offset, fixed card layout, backdrop layers, gradient accents, lock header, badge, title, and descriptive text are updated.
Onboarding timeline rendering
components/dashboard/auth-overlay.tsx
Step labels use dedicated rendering, and the final step displays conditional styling with a “Final Step” badge.
Actions and personalization footer
components/dashboard/auth-overlay.tsx
Sign-up, sign-in, preview, and personalization sections receive revised layouts, styles, and feature-pill chips.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

Suggested reviewers: imuniqueshiv

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is related to the PR, since the main change includes a substantial card/overlay layout redesign.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch uii-ux

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.

@nitinmohan18
nitinmohan18 merged commit 3ce8076 into main Jul 25, 2026
3 checks passed
@nitinmohan18
nitinmohan18 deleted the uii-ux branch July 25, 2026 02:51
@github-actions

Copy link
Copy Markdown

🎉 Congratulations @nitinmohan18!

Thank you for contributing to HyperLearningTech.

Your pull request has been successfully merged into main.

📦 Merge Summary

  • PR: resize card #113 - resize card
  • Status: ✅ Merged
  • Repository: HyperLearningTech

🚀 Keep Contributing

  • Follow the CONTRIBUTING.md guidelines.
  • Keep each Pull Request focused on a single feature or fix.
  • Run formatting, linting, type checking, and a production build before opening a PR.

Thank you for helping make HyperLearningTech better.

Happy Coding! 🚀

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🧹 Nitpick comments (1)
components/dashboard/auth-overlay.tsx (1)

85-116: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Infinite decorative animations don't respect reduced-motion preference.

The floating lock (y: [0, -5, 0]) and pulsing backlight (opacity/scale) run repeat: Infinity unconditionally. Framer Motion provides useReducedMotion/MotionConfig specifically to disable non-essential motion for users who set prefers-reduced-motion.

♻️ Suggested fix
+import { useReducedMotion } from "framer-motion";
...
+  const shouldReduceMotion = useReducedMotion();
...
   <motion.div
     className="relative mb-4 sm:mb-5"
-    animate={{ y: [0, -5, 0] }}
-    transition={{ duration: 4, repeat: Infinity, ease: "easeInOut" }}
+    animate={shouldReduceMotion ? undefined : { y: [0, -5, 0] }}
+    transition={{ duration: 4, repeat: shouldReduceMotion ? 0 : Infinity, ease: "easeInOut" }}
   >
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@components/dashboard/auth-overlay.tsx` around lines 85 - 116, Update the
floating lock and pulsing backlight motion blocks in the auth overlay to respect
the user’s reduced-motion preference via Framer Motion’s useReducedMotion or
MotionConfig. Disable the non-essential infinite y, opacity, and scale
animations when reduced motion is enabled while preserving the current
animations for other users.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@components/dashboard/auth-overlay.tsx`:
- Around line 50-54: Add pointer-events-none to the backdrop motion.div’s
className in the frosted backdrop section, ensuring the invisible overlay cannot
intercept dashboard clicks while preserving the card UI’s explicit pointer-event
behavior.

---

Nitpick comments:
In `@components/dashboard/auth-overlay.tsx`:
- Around line 85-116: Update the floating lock and pulsing backlight motion
blocks in the auth overlay to respect the user’s reduced-motion preference via
Framer Motion’s useReducedMotion or MotionConfig. Disable the non-essential
infinite y, opacity, and scale animations when reduced motion is enabled while
preserving the current animations for other users.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: cb604643-68a5-43a0-8cde-c4a516c728d3

📥 Commits

Reviewing files that changed from the base of the PR and between 40742cc and c001911.

📒 Files selected for processing (1)
  • components/dashboard/auth-overlay.tsx

Comment on lines +50 to 54
{/* Frosted Backdrop — covers dashboard section */}
<motion.div
style={{ opacity }}
className="absolute inset-0 bg-slate-200/50 backdrop-blur-[10px] dark:bg-[#0a0a12]/55 dark:backdrop-blur-[8px]"
className="absolute inset-0 bg-slate-900/20 backdrop-blur-[12px] dark:bg-[#0a0a12]/65 dark:backdrop-blur-[12px]"
/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Files:"
git ls-files | rg '(^|/)auth-overlay\.tsx$|package\.json$|tailwind\.config|postcss\.config' || true

echo
echo "auth-overlay outline:"
f=$(git ls-files | rg '(^|/)auth-overlay\.tsx$' | head -n1 || true)
if [ -n "${f:-}" ]; then
  wc -l "$f"
  ast-grep outline "$f" || true
  echo
  echo "auth-overlay relevant lines:"
  cat -n "$f" | sed -n '1,220p'
fi

echo
echo "Search pointer-events usage in dashboard auth-overlay:"
if [ -n "${f:-}" ]; then
  rg -n "pointer-events|auth-overlay|containerRef|Frosted Backdrop|Fixed Card Container" "$f" .
fi

Repository: imuniqueshiv/HyperLearningTech

Length of output: 26480


🌐 Web query:

MDN pointer-events none auto auto defaults click target element background CSS

💡 Result:

The CSS property pointer-events controls whether an element can be the target of pointer events, such as mouse clicks, hovers, or touch interactions [1][2]. Key behaviors: auto: This is the initial, default value [1][3]. It allows the element to behave as if the pointer-events property were not specified, meaning it will react to pointer events and can serve as a target [1]. none: This value instructs the browser to ignore the element as a target for pointer events [1][4]. Instead, the pointer event will pass through the element and target whatever is underneath it (e.g., an element positioned behind it in the Z-axis) [1][4][2]. Important nuances: 1. Subtree inheritance: While an element with pointer-events: none is ignored, its descendants can still receive events if they have pointer-events set to a different value (e.g., auto) [1][4]. 2. Event propagation: Even if an element is set to none, it may still trigger event listeners during the event capture and bubble phases if an event is targeting a child element that is pointer-event-active [1][4]. 3. Keyboard navigation: Elements with pointer-events: none remain focusable via sequential keyboard navigation (e.g., using the Tab key) [1][4]. 4. Pointer enter/leave events: The pointerenter and pointerleave events may still fire on an element with pointer-events: none when the pointer enters or leaves one of its descendants [4]. For general HTML elements, auto and none are the primary values used [2]. Other values exist (such as visiblePainted, fill, or stroke) but are primarily reserved for use within SVG content [1][2].

Citations:


Make the frosted backdrop passive while the overlay is invisible.

The absolute inset-0 backdrop has no pointer-events-none, so it receives hits at the same z-index as the container and can block dashboard clicks even when opacity is 0. Add pointer-events-none so only the card UI explicitly opts back into pointer events when needed.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@components/dashboard/auth-overlay.tsx` around lines 50 - 54, Add
pointer-events-none to the backdrop motion.div’s className in the frosted
backdrop section, ensuring the invisible overlay cannot intercept dashboard
clicks while preserving the card UI’s explicit pointer-event behavior.

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