Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • webapp webapp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 714
    • Issues 714
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 27
    • Merge requests 27
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • gitter
  • webappwebapp
  • Issues
  • #2236
Closed
Open
Created Aug 03, 2019 by Eric Eastwood@MadLittleModsOwner

Persist left-menu pinned state

Persist left-menu pinned state

Relevant code

Add the following API call to toggleLeftMenuPinnedState -> public/js/vue/store/actions.js

There is already a API endpoint for this from the previous left-menus, https://gitlab.com/gitlab-org/gitter/webapp/blob/9faaf438b8ff1df66bbf644ce74044a33ea00db9/public/js/models/room-menu-model.js#L302-307

apiClient.user.put('/settings/leftRoomMenu', { roomMenuIsPinned: false, hasDismissedSuggestions: false }, {
      // No need to get the JSON back from the server...
      dataType: 'text'
    });
Edited Sep 02, 2020 by 🤖 GitLab Bot 🤖
Assignee
Assign to
Time tracking