Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • libadwaita libadwaita
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 161
    • Issues 161
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • libadwaitalibadwaita
  • Issues
  • #248
Closed
Open
Issue created Jan 09, 2021 by Tobias Bernard@bertob🌱Developer

Sidebar widget

A number of our apps have custom (and mostly not very good) sidebar implementations, would be cool to have a proper widget that supports the most common use cases.

Features I think we'd need (though maybe not all of them from the start):

  • Icons
  • Action buttons (e.g. unmount drive)
  • Status icons (e.g. git status)
  • Sections with and without headers
  • Counter bubbles (e.g. message counters)
  • Secondary click/long press context menu
  • Collapsible sections
  • Drag and drop re-ordering within sections
  • Drag and drop moving between sections
  • Nested sub-sections

I'm not sure about/needs more thought:

  • Selection mode
  • Controls other than buttons on the right (e.g. switches)

Potential use cases include:

  • Nautilus (needs sections w/o headers, icons, action buttons)
  • Geary (needs sections, nested sub-sections, icons, counters)
  • Fractal (needs icons/avatars, DnD moving between sections)
  • Libadwaita demo (needs sections, icons)
  • New mode in HdyPreferencesWindow for apps with a ton of preferences (needs sections, icons)

In terms of visuals, these mockups are a start: https://gitlab.gnome.org/Teams/Design/app-mockups/-/raw/master/patterns/patterns.png

Assignee
Assign to
Time tracking