Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ui events #217

Merged
merged 10 commits into from
Apr 11, 2018
Merged

feat: ui events #217

merged 10 commits into from
Apr 11, 2018

Conversation

dan-ziv
Copy link
Contributor

@dan-ziv dan-ziv commented Apr 10, 2018

Description of the Changes

Add event framework for the ui manager.

  • Created an event middleware
  • Added notifyClick and notifyChange to the BaseComponent.

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@dan-ziv dan-ziv self-assigned this Apr 10, 2018
@@ -2,6 +2,7 @@
import {Component} from 'preact';
import Player from 'playkit-js';
import getLogger from '../utils/logger';
import {types} from '../middlewars/event-dispacher';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

middlewars ➡️ middlewares

@@ -23,6 +23,8 @@ import {PlayerGUI} from './player-gui';
// ui presets
import * as presets from './ui-presets';

import {middleware} from './middlewars'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

middlewars ➡️ middlewares

@dan-ziv dan-ziv merged commit 8471296 into master Apr 11, 2018
@dan-ziv dan-ziv deleted the ui-events branch April 11, 2018 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants