desktopJS

desktopJS provides a common API across multiple HTML5 containers. By programming to a common API, applications can target multiple HTML5 containers without change.

APACHE-2.0 License

Downloads
83
Stars
76
Committers
15
desktopJS - desktopJS 2.2.0

Published by bingenito over 6 years ago

Features

  • Shim window.open to allow for container to know about the windows (#129)

Development

  • chore(package): update typedoc to version 0.10.0 (#111)
  • chore(package): update gulp-typescript to version 4.0.1 (#130)

Special thanks to all contributors to this release:

@bingenito
@psmulovics

desktopJS - desktopJS 2.1.0

Published by bingenito over 6 years ago

Features

  • Change type of ContainerNotification.permission from string to type alias NotificationPermission which is defined as "default" | "denied" | "granted". This fixes dev time type check issue on callback from requestPermission. (#122)
  • Add ContainerNotification and ObjectTransform to default exports. This will allow for easier custom container implementations from class reuse. (#123)
  • Add support for flashing window in OpenFin and Electron. Not supported in default/browser. #127

Fixes

  • Ignore notification windows when persisting OpenFin layouts #125

Special thanks to all contributors to this release:

@bingenito
@psmulovics

desktopJS - desktopJS 2.0.1

Published by bingenito over 6 years ago

All Commits

Fixes

  • Fix issues with persisting OpenFin layouts and groupings #120

Special thanks to all contributors to this release:

  • @bingenito
  • @psmulovics
desktopJS - desktopJS 2.0.0

Published by bingenito over 6 years ago

All Commits

Features

  • Add ContainerWindow static event framework (events are passed via ipc/messagebus to other windows so events are emitted in each renderer as though they are local) (#67)
  • Remove confusing "container" global export. The singleton can always be retrieved via resolveContainer() (#68)
  • Add getWindowById and getWindowByName (#70)
  • Add version property to default export (eg: desktopJS.version) (#78)
  • Add API for window grouping (#91)
  • Basic window snapping assist (#99)
  • Refactor SnapAssistWindowManager move handler (#103)
  • Add support for auto window grouping upon completion of snap docking (#106)
  • Persist window grouping in window layouts (#110)

snapdock

Fixes

  • On ElectronMessageBus publish, if the current ipc has no send (eg: main process) then invoke the listeners directly (#90)
  • Fix issue where origin check was breaking out of entire loop instead of continuing to next window (#80)
  • Fix ElectronContainer getMainWindow() (#88)
  • Change default export from an instance variable to a class with static members (#112)
  • Move public dependent types openfin and node from devDependencies to dependencies (#114)

Breaking Changes

  • createWindow was changed from synchronous to promise based (#110)

Development

  • Update dependencies to enable Greenkeeper 🌴 (#58)
  • Fix spacing in package.json and ignore package-lock (#69)
  • Change relative examples link to absolute to ensure it works when viewing the readme under npmjs and github.io (#77)
  • Add lcov format to coverage output allowing for more diverse tooling integration (#81)
  • Ignore OSX .DS_Store files (#85)
  • Overhaul gulpfile to allow for a watch task that doesn't clean build output which negatively impacts some tooling) (#86)
  • Gulp watch enhancements (#92)
  • chore(package): update gulp-jasmine to version 3.0.0 (#94)
  • chore(package): update @types/node to version 9.3.0 (#96)
  • chore(package): update gulp-clean to version 0.4.0 (#97)
  • chore(package): update remap-istanbul to version 0.10.0 (#98)

Example App

  • electron.js error on startup (#66)
  • Change notification example to use traditional callback rather than new promise based api (#73)
  • Apply simple bootstrap theme to example application (#79)
  • Use Electron FAQ documented workaround for using jQuery (#84)
  • Change window icon to be ico instead of png. Update favicon that is shared with OpenFin to have a 32x32 image type in addition to the existing 16x16 (#83)
  • Add fps display via simple requestAnimationFrame based calculation to status bar on example application (#93)

Special thanks to all contributors to this release:

  • @psmulovics
  • @satlus
desktopJS - desktopJS

Published by bingenito almost 7 years ago

Initial release

Package Rankings
Top 7.83% on Npmjs.org
Badges
Extracted from project README
npm version Build Status OpenSSF Scorecard codecov
Related Projects