Jeldrik Hanschke
58144bbf62
address deprecated arguments in Ember Bootstrap ( #468 )
2020-10-31 08:17:32 +01:00
Jeldrik Hanschke
4fd4333c3c
simplify autofocus implementation using a modifier ( #465 )
2020-10-27 22:34:08 +01:00
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
18ba1b6bbc
convert component invocation to angle brackets ( #339 )
2020-01-08 15:58:10 +01:00
Jeldrik Hanschke
3d48c221a0
use specialised button for saving ( #331 )
...
Adds a <SaveButton> component that renders a save button similar to
<NextButton> but using a special icon that helps to distinguish both.
Also removes the block mode for <NextButton> component and some arguments
that aren't needed anymore.
Closes #294
2020-01-02 17:13:36 +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
jelhan
bb160cc503
refactor participants table ( #164 )
...
- Drops floatthead and additional scrollbar
- Makes header and first column sticky
- Refactors code for readability
Sticky header is only working in Firefox. Chrome and Edge does not support `position: sticky` for `<thead>`. Haven't tested Safari.
2019-04-20 23:29:59 +02:00
jelhan
95d53baae9
refactor: remove route actions ( #166 )
2019-02-24 00:32:37 +01:00
Jeldrik Hanschke
af4fe70f72
refactor: drop ember-simple-select
2019-01-02 23:48:36 +01:00
Jeldrik Hanschke
174b6d493c
refactor create/settings to avoid observer
...
This also fix a bug if user creates more than one croodle without reloading window
in between. In that case a data fragment is reused which throws.
It's also the first step in dropping {{simple-select}} which is very outdated.
2018-12-31 12:09:17 +01: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
545f3b0664
autofocus first form element
...
currently not working for date selection (calendar) since this one did not
support keyboard navigation
part of #94
2016-08-26 00:10: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
8d9278a9ee
show validation immediately after change for select and radio buttons
...
Introduced this feature by https://github.com/kaliber5/ember-bootstrap/pull/127
2016-08-20 22:51:21 +02:00
jelhan
5521b29409
Fix: feedback icons are only supported for input elements by bootstrap
2016-07-27 15:17:10 +02:00
jelhan
2c11fe41bf
perserve validation state in create/options-datetime by avoiding rerender
2016-06-08 13:56:06 +02:00
jelhan
32f9c3e633
use ember-bootstrap in create/index, create/meta, create/settings
2016-06-06 01:19:23 +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
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
jelhan
0531c94643
missing translation
2015-11-26 12:26:22 +01:00
jelhan
4c597352ad
update ember-from-master-2000
2015-11-20 23:02:35 +01:00
jelhan
c1dfa16eed
update ember-i18n
2015-11-20 02:18:19 +01:00
jelhan
f67381c6b9
remove ember-easy-form-extensions, finally
2015-11-19 21:51:49 +01:00
jelhan
3563e41913
time input as normal form instead of table
...
part of #76
replaces ember-easy-form-extensions and ember-validations by
ember-cp-validations and ember-form-master-2000
dropped webshim for input type time; should be readded to improve
user experience in browser which does not support this input field
yes (e.g. Internet Explorer, Edge, Firefox)
2015-11-19 21:16:32 +01:00
jelhan
335dfd8ff2
validate each input field on it's own
2015-11-17 00:30:24 +01:00
jelhan
6f6cc8b61d
rewritten create/index and create/meta with ember-cp-validations and ember-form-master-2000
2015-11-16 14:28:00 +01:00
jelhan
ca387848ed
create/options input fields for make a poll with add / delete buttons
...
also rewritten using ember-cp-validations and ember-form-master-2000
2015-11-16 13:09:13 +01:00
jelhan
3690a60496
[FEATURE] add expiration date for polls
2015-07-26 19:41:59 +02:00
jelhan
2a3acf31ce
Fix: webshim inputs were not updated
2015-07-23 23:49:23 +02:00
jelhan
67cc41973f
Ember.ObjectController is deprecated since ember 1.11
...
Ember.ObjectController was proxying model properties to controller. Ember.Controller which should be used is not.
Therefore we have to define if it's a property of controller or model.
Also added two more tests:
* anonymous participation
* do not force an answer for all options
2015-07-01 16:21:18 +02:00
jelhan
b1dc1b5bac
use ember-cli-boostrap-datepicker
2015-04-04 02:43:59 +02:00
jelhan
b2db75221a
fix
2015-04-02 21:16:31 +02:00
jelhan
caba42a853
using ember-cli-easyform-extensions as it support ember >= 1.10
2015-04-02 20:28:35 +02:00
jelhan
8af5a9df09
Integration Test for creation of a default poll
2014-11-26 13:15:05 +01:00
jelhan
016ccfc31c
rewritten option and input field relationship
...
keep inputs while setting up poll and update options based on inputs by observer
2014-11-21 12:24:24 +01:00
jelhan
3db1dee801
better translations
2014-11-06 00:48:56 +01:00
jelhan
2b3e4f2fa3
improve translations
2014-11-01 15:28:57 +01:00
jelhan
fe4e6cd275
fix: formatedDate helper syntax
2014-10-25 01:42:42 +02:00
jelhan
14a298ea6c
translate next buttons
2014-10-24 01:13:44 +02:00
jelhan
57b46a03f1
translate poll types and predefined answers
2014-10-24 00:39:07 +02:00