0.3.0 • Published 6 months ago

rally-modern-sdk v0.3.0

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
6 months ago

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
0.3.0

6 months ago

0.2.0

9 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago