adopted-ember-addons / ember-cli-flash

Simple, highly configurable flash messages for ember-cli
https://www.npmjs.com/package/ember-cli-flash
MIT License
356 stars 113 forks source link

Release planning #397

Open gilest opened 8 months ago

gilest commented 8 months ago

V5

V6

NullVoxPopuli commented 8 months ago

https://github.com/adopted-ember-addons/ember-cli-flash/blob/master/ember-cli-flash/src/test-support.js

does it make sense to make this automatic at all? rather than manually invoked?

gilest commented 8 months ago

does it make sense to make this automatic at all? rather than manually invoked?

I'm not sure I understand what you mean 🤨

There is an "automatic" default – the timeout behaviour is disabled during test runs.

The helper sets an option which overrides this default. Most users will never need to use the helper. It's a compatibility patch which allows for fine-grained control of test behaviour.

Implementation in FlashObject Upgrade guide

NullVoxPopuli commented 8 months ago

Oh ok, thanks for the link!

gilest commented 7 months ago

Today I have tested the dist build in two apps:

In both apps the test suite passes and I have manually verified that flash messages show as expected.

I think we're ready to cut a 5.0 major @NullVoxPopuli . Happy to help with this

vlascik commented 6 months ago

I also already converted this addon to native classes (typescript, really) in https://github.com/adopted-ember-addons/ember-cli-flash/pull/390. There's a problem there, with either lint or tests failing, but maybe someone could take a look at it for an hour or two and get it through the finish line.