Skip to content

Align sidebar with Penpot design (#630)#691

Merged
SoulKa merged 2 commits intoEXXETA:mainfrom
Roshan-Singh-07:fix/align-sidebar-penpot
Mar 17, 2026
Merged

Align sidebar with Penpot design (#630)#691
SoulKa merged 2 commits intoEXXETA:mainfrom
Roshan-Singh-07:fix/align-sidebar-penpot

Conversation

@Roshan-Singh-07
Copy link
Copy Markdown
Contributor

This PR aligns the sidebar with the official Penpot design to improve visual consistency and UX.

Changes

  • Updated sidebar typography to use Lato and secondary text color
  • Set HTTP method labels to font-weight 400
  • Made request and folder context menus (three dots) visible only on hover
  • Fixed text truncation to prevent overlap with context menu
  • Ensured consistent hover behavior between requests and folders
  • Fixed a TypeScript issue where a non-renderable URL object could be passed as a React child (fallback now uses url.base)

Result

  • Sidebar now visually matches the Penpot design
  • Cleaner UI with less visual noise
  • Improved readability for long request and folder names

Demo: short screen recording attached showing hover behavior and text truncation.

Screen.Recording.2026-02-07.144348.mp4

Closes #630

@SoulKa
Copy link
Copy Markdown
Collaborator

SoulKa commented Feb 17, 2026

This is currently blocked by #693. Will review and merge after that PR

@SoulKa
Copy link
Copy Markdown
Collaborator

SoulKa commented Feb 18, 2026

The PR #693 is merged now. There are two conflicting changes (see NavFolder and NavRequest). You will need to rebase on the develop branch.

@SoulKa SoulKa self-assigned this Feb 18, 2026
@Roshan-Singh-07 Roshan-Singh-07 force-pushed the fix/align-sidebar-penpot branch from 1bf9b66 to e234991 Compare February 21, 2026 10:42
@Roshan-Singh-07
Copy link
Copy Markdown
Contributor Author

Rebased on the latest main branch and resolved the conflicts in NavFolder and NavRequest.

The sidebar now preserves the recent collapsible and drag-and-drop changes while aligning the styling and behavior with the Penpot design. Please let me know if any further adjustments are needed.

Thanks!

@SoulKa
Copy link
Copy Markdown
Collaborator

SoulKa commented Mar 10, 2026

I rebased locally, the long name cutoff is still there, the other issues seem resolved for me. So another rebase and I think the work is done

@Roshan-Singh-07 Roshan-Singh-07 force-pushed the fix/align-sidebar-penpot branch from e234991 to 621a4c3 Compare March 12, 2026 18:24
@Roshan-Singh-07
Copy link
Copy Markdown
Contributor Author

Fixed the truncation issue for request titles and folder titles by adjusting the flex layout and ensuring the context menu does not overlap the text.
Screenshot 2026-03-12 235315
Screenshot 2026-03-12 235332

Comment on lines 46 to 51
<Collapsible
asChild
open={isFolderOpen}
onOpenChange={(open) => (open ? setFolderOpen(folderId) : setFolderClose(folderId))}
className="group/collapsible"
>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think there went something wrong in the rebase. The collapsible is not needed in its current form of implementation (see line 94 where CollapsibleContent is empty.

You can remove the collapsible and only keep the SidebarMenuSubButton as it's implemented on the main branch. This PR should likely only modify CSS class names

@Roshan-Singh-07 Roshan-Singh-07 force-pushed the fix/align-sidebar-penpot branch from 621a4c3 to b211c80 Compare March 13, 2026 17:34
@Roshan-Singh-07
Copy link
Copy Markdown
Contributor Author

Removed the Collapsible implementation as suggested and kept the structure consistent with the main branch by using only SidebarMenuSubButton. Thanks

@SoulKa SoulKa enabled auto-merge (squash) March 17, 2026 19:30
@SoulKa SoulKa merged commit ed93f95 into EXXETA:main Mar 17, 2026
2 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.

Align sidebar with penpot design

2 participants