Coder Social home page Coder Social logo

isunilsv / collapseallvisualstudioonline Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1 KB

When viewing Sprint Backlog Board in VisualStudio.com (Visual Studio Online), there is no option of Collapsing all open work items. This short Javascript snippet gives the ability to Collapse all workitems or Expand all workitems

collapseallvisualstudioonline's Introduction

When viewing Sprint Board in Visual Studio Online, we don't have an option of Collapsing all work items or Expanding all work items. The below code help you achieve that using a short Javascript code!

Javascript code for Collpasing All

javascript: function f() 
{ 
  for (var i = 0; i <= 100; i++) { 
    (document.querySelectorAll('[title="Collapse this row"]')[i]).click(); 
  } 
}; f();

Create Bookmark for Collpasing All workitems

  1. Open your browser and on the bookmarks bar, click on 'Add Page' (Chrome) or 'New bookmark' (firefox)
  2. In 'Name', write 'Collapse All'
  3. In 'URL' or 'Location' copy the Javascript code from above section and paste
  4. That's it! Now, you have 'Collapse All' feature which you can use to collapse all open workitems in your sprint backlog board!

Javascript code for Expanding All

javascript: function f() 
{ 
  for (var i = 0; i <= 100; i++) { 
    (document.querySelectorAll('[title="Expand this row"]')[i]).click(); 
  } 
}; f();

Create Bookmark for Collpasing All workitems

  1. Open your browser and on the bookmarks bar, click on 'Add Page' (Chrome) or 'New bookmark' (firefox)
  2. In 'Name', write 'Expand All'
  3. In 'URL' or 'Location' copy the Javascript code from above section and paste
  4. That's it! Now, you have 'Expand All' feature which you can use to expand all open workitems in your sprint backlog board!

collapseallvisualstudioonline's People

Stargazers

Sunil Kumar SV avatar

Watchers

Sunil Kumar SV avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.