Git Product home page Git Product logo

ember-dialog's People

Contributors

ajile avatar ivandokov avatar toiletpatrol avatar waleedq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ember-dialog's Issues

Closing events doesn't fire

Hi,

I'm trying to use ember-dialog in my project, but when dialog is appearing at screen I can't close it (using OK button or X icon or clicking outside dialog).
In Event Listeners tab there is no click event on OK button
screen shot 2017-03-01 at 9 24 22 pm

Environment data:

Ember             : 2.11.2
jQuery            : 3.1.1
Ember Dialog      : 3.0.0-rc.8

It's depends on Ember version or this is a bug somewhere in plugin?

Doesn't work with ember-cli 2.13

Hi,

I'm upgrading ember-cli to 2.13, but it seems that ember-dialog does't work with the latest version of ember-cli, there is an error:

[email protected] requires the host to use ember-cli-babel@5. To use ember-cli-babel@6 please upgrade ember-cli-htmlbars-inline-precompile to 0.4.

The ember-cli-htmlbars-inline-precompileis conflicted. I saw the package.json has been updated and fixed this issue, would you mind to publish this change?

Page: Tutorial: Customizing dialog

  • How to include styles to the project
  • What classes dialog has and for what they're responsible
  • How to animate dialog behaviour
  • How to add and use new dialog layouts

Fix addon to work with ember 2.10.0 and above

I've ran into the problem of using ember-dialog with [email protected]. Seems the Ember Component does not have template property anymore, and the dialogs show up without body. While with the previous version of [email protected] it works fine.

You may reproduce the problem so:

app/components/foo-bar.js

import Ember from "ember";
import hbs from 'htmlbars-inline-precompile';

Ember.Component.extend({
  template: hbs`A TEMPLATE`
})

app/components/foo-bar.hbs

BEGIN {{yield}} END

Ember v2.9.1 will output: BEGIN A TEMPLATE END, but Ember v2.10.10 will output: BEGIN END

Page: Cookbook: Working with forms

  • Include ember-validation to the project as devDependency
  • Creating page and link for it
  • Add example of data binding
  • Add example of closing interruption if form is not valid

Translate site to english

  • #46 - Tutorial: Customizing dialog
  • #47 - Tutorial: Presenter and Dialog Manager
  • #49 - Tutorial: Creating Your First Dialog
  • #50 - Tutorial: Creating Dialog Templates
  • #51 - Tutorial: Listening Events
  • #52 - Tutorial: Interrupt Closing
  • #45 - Cookbook: Working with forms
  • #55 - Cookbook: Creating Notices
  • #56 - Cookbook: Showing Server Errors
  • #58 - Cookbook: Animation

Documentation about testing

Do you have documentation how to test component/controllers which use your dialog service?
And also do you have documentation how to test a templates/component/forms inside a dialog?
Can you provide some test helpers for integration and acceptance tests?

Add keyboard support

  • Escape button should close dialog window.
    • For alert dialog it should be accept closing
    • For confirm dialog it should be decline closing
    • For blank dialog it shouldn't close it
  • Enter button should close dialog window
    • For alert dialog it should be accept closing
    • For confirm dialog it should be accept closing
    • For blank dialog it shouldn't close it
  • Make tests for it
  • Add tutorial page "Hotkeys"

ember-cli-dialog does not load correctly... ember-template-compiler.js needed

Disclaimer: I am posting this issue here becaus the project ember-cli-dialog does not have an issue tracker.

I installed ember-cli-dialog, build my project, and immediately I get the following error in my console:

Error: Cannot call `compile` without the template compiler loaded. Please load `ember-template-compiler.js` prior to calling `compile`.

And no modules can be loaded (it's broken). There is no way to use this project!

The above is using ember install ember-cli-dialog and it installed version 0.0.6.

I then tried against the latest commit in ember-cli-dialog beta1 and the latest commit in ember-dialog beta. With this configuration, there is no immediate error, but this error comes up as soon as I call this.get('dialogManager').confirm(message):

Error: You have to include `ember-template-compiler.js` file to compile templates on fly. If you don't want to, you should provide a view instead or template name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.