npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rally-modern-sdk

v0.3.0

Published

An exploration of what a more modern SDK for Broadcom's Rally ALM could look like.

Downloads

31

Readme

rally-modern-sdk

An exploration of what a more modern SDK for Broadcom's Rally ALM could look like.

Rally's public SDK uses ExtJS 4, which is a crime against developers. Internally they're using a new React-based kit, which may never see the light of day for us.

This is an attempt to make something in Svelte that looks comparable to their React kit.

This is currently pre-beta software. Time and motivation come and go

Repo Structure

src/lib houses all of the SDK code

src/routes houses the testing app code

SDK Structure

Import the comoponents and utilities you need like so:

import { Grid, createFilter } from 'rally-modern-sdk

Available components

  • App
  • Button
  • Checkbox
  • Combobox
  • Dialog
  • Grid
  • Input
  • LoadingMask
  • Popover
  • ProgressBar
  • Toast

Available utilities

  • createArtifact
  • createDetailLink
  • createFilter
  • createSorter
  • deleteWorkspacePreference
  • getAllowedValues
  • getChildProjects
  • getContext
  • getCurrentProject
  • getDataContext
  • getFieldDisplayValue
  • getFlowStates
  • getHealthColorForObjective
  • getHealthColorForPortfolioItem
  • getModel
  • getObjectiveTypes
  • getPortfolioItemStates
  • getPortfolioItemTypes
  • getProjectHierarchy
  • getProjectTree
  • getScheduleStates
  • getScopedStateId
  • getState
  • getTopLevelProjects
  • getTypeAttributes
  • getTypeDefinition
  • getWorkspacePreference
  • getWorkspaceTimeZone
  • initRallyApp
  • parseError
  • promisify
  • query
  • queryLookback
  • saveAs
  • saveState
  • setLoading
  • showError
  • showMessage
  • showSuccess
  • showWarning
  • updateWorkspacePreference
  • urlRequest

TODO

  • Ability to pass data promise to components and show appropriate loading UI
    • Need to manage pageSize, paging, fetching more data
  • Factory for Combobox display values (e.g. Name should inlude formatted ID for artifacts)
  • Grid default sorters if type is string or for standard fields (e.g. Formatted ID, sort numerically by unformatted id)
  • Grid search component
  • Grid toolbar component
  • Grid row size parameter
  • Combobox displayField can handle Rally Model data (aka item.get(displayField))
  • Combobox add Generics to data paramater for typing
  • Component validation
  • Combobox improve keyboard navigation on pagination buttons
  • Combobox fix page count text when searching with local data (remote data, value clearing on expanding)
  • Charts?
  • Add DatePicker component (see aging wip app)
  • Combobox items aria-label isn't reactive when selecting/unselecting
  • Grid: Resizing column width triggers sort
  • Saved Views component
  • Component setValue (added to Combobox, but now value doesn't react to 2-way binding)
  • Review z-indexes in components
  • Filter Component (for Grid but also generic)
  • Combobox make bold item if it's current sprint or release
  • Package components for use in non-svelte projects?
  • Artifact details tooltip when hovering over FormattedID in grid
  • Field Picker Component
  • Keyboard accessibility on Buttons is broken
  • Grid add generic typing for Column interface
  • Open combobox upwards if at bottom of screen