Jeldrik Hanschke
77afc0d9fa
remove implicit this usage in templates ( #352 )
...
This refactors references to values in templates from `{{foo}}` to either `{{this.foo}}` if it's a property of backing JavaScript class or `{{@foo}}` if it's passed in on invocation.
You could find more details on this change in Ember docs:
- [required `this` in templates](https://guides.emberjs.com/release/upgrading/current-edition/templates/#toc_required-this-in-templates )
- [named arguments](https://guides.emberjs.com/release/upgrading/current-edition/templates/#toc_named-arguments )
While doing this I noticed that `<PollEvaluationSummaryOption>` component could be easily refactored to a template-only component. Done it as part of this pull request even so it's technically not related.
2020-01-18 12:17:06 +01:00
Jeldrik Hanschke
c9482786c1
refactor to native ECMAScript classes ( #344 )
...
Replaces Ember's old object model by native ECMAScript classes. Mostly automated with ember-native-class-codemod.
2020-01-18 10:13:50 +01:00
Jeldrik Hanschke
18ba1b6bbc
convert component invocation to angle brackets ( #339 )
2020-01-08 15:58:10 +01:00
Jeldrik Hanschke
0da3dc8b02
next/save button should get focus before back button ( #298 )
2019-11-12 21:56:47 +01:00
Jeldrik Hanschke
c55beabcfe
scroll first invalid input into view port on invalid submission ( #282 )
2019-11-02 21:57:59 +01:00
jelhan
7688d468e4
improve form buttons ( #211 )
...
* Adds a loading spinner to form buttons as long as submission is pending.
* Does some refactoring of form navigation buttons.
* Updates expected bundle size.
2019-06-12 09:07:48 +02:00
sappor0
c23ba1f6fb
Using bootstrap 4 and related UI refresh ( #205 )
...
Changes at a glance:
- Switch from BS3 to BS4
- Polishing of some UI elements (low-hanging fruit for UX)
- Mobile-friendly layout.
2019-06-07 11:22:13 +02:00
Jeldrik Hanschke
bcd4bc7ac6
upgrade to ember 3.4
2018-12-31 10:17:03 +01:00
jelhan
9c4bd9e669
upgrade ember-bootstrap and ember-bootstrap-cp-validations to latest versions ( #146 )
...
Ember Bootstrap has changed a lot since the very outdated pre 1.0 release
which was used here. Changes are mostly about using composable components
and closure actions.
Also replaces PhantomJS with Chrome in CI cause PhantomJS is also very
outdated and causing test failure not related to any real world issues.
Ember CLI has replaced PhantomJS with Chrome in v2.15.1, which is the
upfollowing minor release to the version currently used.
2018-10-28 22:54:14 +01:00
jelhan
d76783c9cf
refactor form navigation to use a component
2016-09-23 19:39:31 +02:00
jelhan
17b7f81dea
UX: next and back buttons in create wizzard in xs and sm
2016-09-18 20:44:22 +02:00
jelhan
d8db29ecd9
adds back button to create wizard
...
Part of #76
2016-08-21 00:38:44 +02:00
jelhan
9a33e08ac4
browser should not mess around with our validation logic
2016-08-20 23:41:27 +02:00
jelhan
17d4a3feda
save button should have suitable text
2016-08-20 23:35:54 +02:00
jelhan
4a31aaa616
use ember-bootstrap in create/options
...
ToDo:
Label validation state should not be bound to validation state of first element (option)
but to validation state of all elements. If any element has an error label validation state
should be error. Only if all elements are fine, label validation state should also be fine.
2016-06-06 01:19:24 +02:00
jelhan
c9ef942c79
Fixes #84
2016-05-21 17:17:08 +02:00
jelhan
70f7879ee7
Fixes #55
2016-05-20 21:49:29 +02:00
jelhan
08e9f68197
remove polls isDateTime attribute
2016-05-18 13:18:36 -07:00
jelhan
0fd12adf65
move time selection to separate page again
2016-02-16 02:26:27 +01:00
jelhan
c53593d2cf
options must be unique
2016-02-08 23:46:30 +01:00
jelhan
74691ef508
Turn checkbox to toggle switch by Bootstrap Switch
2016-02-02 10:20:44 +01:00
jelhan
ec3999bbc9
input datetimes
...
ToDo:
* integration test for options-create-datetime
* acceptance tests for poll find a date with times
* some translations
* ...
2016-01-20 02:52:21 +01:00
jelhan
ce2a8c8e1f
done most things except date with times
...
also validation messages are missing
2016-01-19 04:56:51 +01:00