Jeldrik Hanschke
4fd4333c3c
simplify autofocus implementation using a modifier ( #465 )
2020-10-27 22:34:08 +01:00
Jeldrik Hanschke
87d7b5d36d
Add Norwegian language and other updates from Weblate ( #446 )
...
* Translated using Weblate (Catalan)
Currently translated at 94.3% (133 of 141 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (German)
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (Catalan)
Currently translated at 100.0% (141 of 141 strings)
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/ca/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/
Translation: Croodle/client
* Translated using Weblate (Italian)
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (French)
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (Spanish)
Currently translated at 95.7% (135 of 141 strings)
Translated using Weblate (German)
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (French)
Currently translated at 100.0% (141 of 141 strings)
Translated using Weblate (German)
Currently translated at 100.0% (141 of 141 strings)
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/fr/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/
Translation: Croodle/client
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 75.8% (107 of 141 strings)
Translated using Weblate (English)
Currently translated at 100.0% (141 of 141 strings)
Added translation using Weblate (Norwegian Bokmål)
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/en/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/nb_NO/
Translation: Croodle/client
* Translated using Weblate (Spanish)
Currently translated at 95.7% (135 of 141 strings)
Translated using Weblate (German)
Currently translated at 100.0% (141 of 141 strings)
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
Translation: Croodle/client
* Translated using Weblate (English)
Currently translated at 100.0% (141 of 141 strings)
Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/en/
* Translated using Weblate (Catalan)
Currently translated at 94.3% (133 of 141 strings)
Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/ca/
* Translated using Weblate (German)
Currently translated at 100.0% (141 of 141 strings)
Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/de/
* Translated using Weblate (Spanish)
Currently translated at 95.7% (135 of 141 strings)
Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/es/
* Translated using Weblate (French)
Currently translated at 100.0% (141 of 141 strings)
Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/fr/
* Translated using Weblate (Italian)
Currently translated at 100.0% (141 of 141 strings)
Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/it/
* Translated using Weblate (Norwegian Bokmål)
Currently translated at 75.8% (107 of 141 strings)
Translation: Croodle/client
Translate-URL: https://hosted.weblate.org/projects/croodle/client/nb_NO/
* integrate norwegian locale
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2020-10-18 22:11:19 +02:00
Jeldrik Hanschke
8a62662e6e
migrate from ember-i18n to ember-intl ( #358 )
...
* mark string as html safe before passing to translation instead of bypassing HTML escape using {{{unsafe}}} syntax
* replace ember-i18n with ember-intl
2020-01-30 00:23:12 +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
c55beabcfe
scroll first invalid input into view port on invalid submission ( #282 )
2019-11-02 21:57:59 +01:00
Jeldrik Hanschke
6571a07ca5
show validation error if time input is partially filled ( #279 )
2019-11-02 16:51:47 +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
90e842e45b
upgrade dependencies ( #178 )
2019-04-24 21:43:02 +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
b8c02ca579
Replace SauceLabs with BrowserStack ( #171 )
2019-03-14 21:30:48 +01:00
jelhan
215d980033
run tests against Firefox in CI ( #168 )
...
* run tests against Firefox in CI
* fix test for Firefox 56
2019-03-07 23:11:03 +01:00
Jeldrik Hanschke
06a92b947f
refactor: replace bootstrap-datepicker by ember-power-calendar
...
Also renders two linked calendars if there is enough space.
Closes #143
2019-01-20 17:08:16 +01:00
Jeldrik Hanschke
5b34199f41
refactor: drop jQuery from tests except for jQuery plugin bootstrap-datepicker
2019-01-18 20:42:21 +01:00
Jeldrik Hanschke
96f1990542
fix: label should reflect validation state of all times of a day
2019-01-03 00:46: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
Jeldrik Hanschke
11265cb82d
deps: upgrade ember to 2.18
2018-12-29 20:23:19 +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
0407d28260
remove tests which just duplicates some tests allready done at tests/acceptance/create-a-poll-test.js
2017-08-01 16:24:10 +02:00
jelhan
5575629fb6
Legacy support is an acceptance test atleast since it's using a mocked api.
2017-08-01 16:23:35 +02:00
jelhan
87ad9b0506
use ember-cli-mirage to mock api
2017-08-01 09:49:02 +02:00
jelhan
1df562b352
refactor {{poll-evaluation-chart}} and {{poll-evaluation-participants-table}} interfaces to make them less complex
2017-08-01 09:48:48 +02:00
jelhan
632c36eb12
updates dependencies and fixes property modified twice in a single render deprecations
2017-08-01 09:48:48 +02:00
jelhan
d76783c9cf
refactor form navigation to use a component
2016-09-23 19:39:31 +02:00
jelhan
6852d6ce27
more suitable page object action for save
2016-08-26 18:29:02 +02:00
jelhan
0e446c19fe
add tests for autofocus first form element
...
introduced by last commit (545f3b0664
)
2016-08-26 01:30:46 +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
94b4dc6f82
use localStorage instead of cookie to save locale setting
...
there is no need to tell the server which locale is prefered by client
2016-08-21 14:31:39 +02:00
jelhan
bbea5265fe
update ember-i18n to latest (4.2.2)
2016-08-17 23:56:14 +02:00
jelhan
01bd5a6466
remove formatted-date helper (not in use anymore)
2016-06-21 01:44:50 +02:00
jelhan
a7e141828d
Fixes #89
2016-06-20 19:28:10 +02:00
jelhan
acc05d68c5
remove webshim polyfills
...
UX in browser which does not support time input type should be okay know by
validation messages and placeholder. Wasn't even used anymore in latest release.
Affects #90 but does not resolve 'unsafe-inline' requirement cause to
ember-bootstrap (https://github.com/kaliber5/ember-bootstrap/pull/98#discussion_r66586065 ).
2016-06-10 11:35:55 +02:00
jelhan
327d6cd737
object-at helper as addon
2016-06-08 18:42:26 +02:00
jelhan
2c11fe41bf
perserve validation state in create/options-datetime by avoiding rerender
2016-06-08 13:56:06 +02:00
jelhan
72513bf893
remove ember-form-master-2000
2016-06-06 01:19:24 +02:00
jelhan
5b8d59c00b
rewrite create/options-datetime with ember-bootstrap
...
ToDo left:
refactor `datetimes` property of `create-options-datetime` component to
not cause whole list to be updated. This is not only a performance issue
but also UX: e.g. validation state is lost when another item is added.
2016-06-06 01:19:24 +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
194f00b7d6
Rewritten (some) acceptance tests with ember-cli-page-objects
2016-04-08 21:48:22 +02:00
jelhan
c240b712b6
Fixes #88
...
Also fixes test which was false positive and added some other tests.
2016-03-21 22:06:08 +01:00
jelhan
aa6483c4d1
Fixes #81
2016-03-20 15:31:24 +01:00
jelhan
277d51e650
poll evaluation as stacked bar chart
2016-03-17 13:32:53 +01:00
jelhan
b921632465
reimplement adopt times of first day (was: copy first line)
2016-02-16 04:02:59 +01:00
jelhan
e906fbd09d
fix failing test due to input polyfill
2016-02-16 04:01:17 +01:00
jelhan
0fd12adf65
move time selection to separate page again
2016-02-16 02:26:27 +01:00
jelhan
0e4fd114cb
some improvement on validations
2016-02-09 01:16:18 +01:00
jelhan
c53593d2cf
options must be unique
2016-02-08 23:46:30 +01:00