Get unlimited public & private packages + team-based management with npm Teams.Learn more »

@agile-central-technical-services/utils-ancestor-pi-inline-filter

1.0.16 • Public • Published

@agile-central-technical-services/utils-ancestor-pi-inline-filter

Overrides that adds a ancestor portfolio item filter to the rallygridboardinlinefiltercontrol for each portfolio item type supplied to the quickFilterPanelConfig.

The plugin will:

  • add a filter field for each portfolio level into the quick filter chooser
  • render that field as a artifact search combobox quick filter
  • apply the quick filter to the current advanced filters
  • fix the PreliminaryEstimate in-line editor to sort by item value

Screenshot

Installation

  1. Install using npm (or yarn) npm install '@agile-central-technical-services/utils-ancestor-pi-inline-filter' -D
  2. Add the file to the javascript section of config.json
     "javascript": [
        "node_modules/@agile-central-technical-services/utils-ancestor-pi-inline-filter/index.js",
        ...
    

Example usage

    addGridboard: function() {
        this.add({
            xtype: 'rallygridboard',
            ...
            plugins: [
                {
                    ptype: 'rallygridboardinlinefiltercontrol',
                    inlineFilterButtonConfig: {
                        ...
                        inlineFilterPanelConfig: {
                            quickFilterPanelConfig: {
                                // Supply a list of Portfolio Item Types. For example `Rally.data.util.PortfolioItemHelper.getPortfolioItemTypes()`
                                portfolioItemTypes: this.portfolioItemTypes,
                                // Set the TypePath of the model item that is being filtered. For example: 'PortfolioItem/Feature' or 'Defect'
                                modelName: this.modelNames[0],
                                ...
                            }
                        }
                    }
                }
            ...
    }

Developer Notes

To Update

  1. npm version patch - This will update the package.json to a new version and create a git tag (e.g. v1.0.1). It will also run the postversion script to push the changes and tag to GitHub.
  2. npm publish --access public - This will publish the new version to npmjs.org
  3. Create the new release in `utils-ancestor-pi-inline-filter/releases'

Install

npm i @agile-central-technical-services/utils-ancestor-pi-inline-filter

DownloadsWeekly Downloads

3

Version

1.0.16

License

ISC

Unpacked Size

12 kB

Total Files

3

Last publish

Collaborators

  • avatar