Skip to content

fix: sidebar misalignment issue.#1017

Merged
coodos merged 1 commit into
mainfrom
fix/sidebarAlignmentIssue
Jun 10, 2026
Merged

fix: sidebar misalignment issue.#1017
coodos merged 1 commit into
mainfrom
fix/sidebarAlignmentIssue

Conversation

@Sahil2004

@Sahil2004 Sahil2004 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description of change

Fixes the sidebar issue on mobile interface so now the unexpected gap should not appear on the left side of all the screens in blabsy.

Issue Number

Closes #1014

Type of change

  • Fix (a change which fixes an issue)

How the change has been tested

Manually.

Change checklist

  • I have ensured that the CI Checks pass locally
  • I have removed any unnecessary logic
  • My code is well documented
  • I have signed my commits
  • My code follows the pattern of the application
  • I have self reviewed my code

Summary by CodeRabbit

  • Style
    • Updated sidebar's initial width configuration.

@Sahil2004 Sahil2004 requested a review from coodos as a code owner June 10, 2026 05:27
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b5ae45f2-5c89-41fb-8c15-d36f1aa4697e

📥 Commits

Reviewing files that changed from the base of the PR and between b1174a9 and 5a3ac3d.

📒 Files selected for processing (1)
  • platforms/blabsy/client/src/components/sidebar/sidebar.tsx

📝 Walkthrough

Walkthrough

The sidebar component's root header element has its initial width utility changed from w-16 to w-0, eliminating the default width gap. The class string is reflowed across multiple lines while preserving all responsive width and positioning classes.

Changes

Sidebar Layout Fix

Layer / File(s) Summary
Sidebar width initialization
platforms/blabsy/client/src/components/sidebar/sidebar.tsx
The root <header id="sidebar"> element's base width utility changes from w-16 to w-0, with the className reflowed across two lines while maintaining responsive md:w-16 and positioning classes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • MetaState-Prototype-Project/prototype#727: Both PRs modify the Blabsy sidebar styling by changing the root/sidebar className width/layout utilities (main PR switches w-16w-0, while #727 adjusts bottom nav positioning with added left-0/right-0).
  • MetaState-Prototype-Project/prototype#744: Both PRs modify the Blabsy Sidebar header className, changing the sidebar's width utility (e.g., w-16/w-0) in the same sidebar.tsx component to adjust layout on small screens.

Suggested reviewers

  • coodos

Poem

🐰 The sidebar shrinks from sixteen wide,
To zero—flush against the side,
No gap shall greet the logo's place,
As pixels hug the corner's grace!

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR addresses the home logo alignment objective from issue #1014 by changing the sidebar width, but does not address the notification button functionality requirement. This PR only partially resolves issue #1014. Implement the notification bell button functionality to open the notifications screen/panel as required by issue #1014.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: fixing a sidebar misalignment issue, which directly corresponds to the sidebar width utility change from w-16 to w-0.
Description check ✅ Passed The description follows the required template with all sections completed: clear description of the change, linked issue (#1014), type of change (Fix), testing method (Manual), and all checklist items checked.
Out of Scope Changes check ✅ Passed The changes are narrowly focused on fixing the sidebar width, which is directly related to the home logo alignment objective from issue #1014 and within the defined scope.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 fix/sidebarAlignmentIssue

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.

@coodos coodos merged commit 5f08b54 into main Jun 10, 2026
4 checks passed
@coodos coodos deleted the fix/sidebarAlignmentIssue branch June 10, 2026 11:56
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.

Blabsy (eID Wallet): Home logo misaligned & notification button non-functional

2 participants