Skip to content

3.3 Changes

CHenrie edited this page Apr 15, 2015 · 5 revisions

The argos-saleslogix 3.3 change list can be found here: https://github.com/Saleslogix/argos-saleslogix/wiki/3.3-Changes

All diffs from 3.2.x to 3.3 can be found here: https://github.com/Saleslogix/argos-sdk/compare/3.2.x...develop

Changes

  • Added library Chart.js

  • Added bundler to tools

  • Dojo updated to 1.10.3

  • Added a _PullToRefresh mixin that can be applied to any view with a scroller element (any element with overflow: scroll/auto)

  • Added a _ConfigureBase mixin that can be applied to a list view to provide re-ordering and hiding/showing of items on that list

  • Added a ConfigureQuickActions view that uses the new _ConfigureBase mixin

  • _ListBase now uses _PullToRefresh mixin

  • _ListBase now persists preferences for quick actions

    • _ListBase adds a "Configure" system quick action
    • Configuration quick actions allows the user to re-order and hide/show quick actions
  • Added new App.supportsTouch() method that returns true if the current devices supports touch events

  • Removed overthrow library

  • SData client library updated, now supports timeout option

  • AMD modules renamed from "Sage/Platform/Mobile" to "argos"

    • The old module name can be used by specifying an AMD map configuration
  • Added a new _ErrorHandleMixin which the base View extends

    • Adds a new handleError(error) method to handle errors
    • Adds a createErrorHandlers method to return this.errorHandlers array or a new array of error handlers
    • Adds a new errorText object that can be extended for different error types, getErrorMessage returns the proper error message from this object
    • See createErrorHandlers in _EditBase, _ListBase, and _DetailBase for an example on how to register and create error handler function chains
    • Added a customization hook for error handlers, see this changeset on argos-sample
  • Hashtag query functions are now executed every refresh instead of using the cached query. This prevents issues where the date/time needed to be dynamic and should not have been cached.

  • Added a promise based application state loader

    • Call App.registerAppStatePromise(promise); to register a promise that will load when initAppState is invoked
    • See argos-saleslogix/Application.js for a real implementation
  • Added a _RelatedViewWidgetDetailMixin mixin that is applied to _DetailBase view to add the ability to add ReladedView type widgets to the layout.

  • Added a _RelatedViewWidgetEditMixin mixin that is applied to _EditBase view to add the ability to add ReladedView widgets to the layout.

  • Added a _RelatedViewWidgetListMixin mixin that is applied to _ListBase view to add the ability to add ReladedView widgets to the RelatedView layout.

  • Added _RelatedViewWidgetBase that all related view widgets are based on.

  • Several defect fixes