Jeldrik Hanschke
6571a07ca5
show validation error if time input is partially filled ( #279 )
2019-11-02 16:51:47 +01:00
renovate[bot]
7e189ab83c
Update dependency ember-power-calendar to ^0.14.0 ( #239 )
2019-10-29 10:43:06 +01:00
Jeldrik Hanschke
b421d19601
refactor step management and do not allow going forward with invalid state ( #263 )
...
Also removes an observer that causes a "You modified 'disabled' twice in a single render" and executes the logic in the next run loop to prevent that error. That's not ideal but it's not time for a major refactoring of that part.
2019-10-29 08:42:00 +01:00
Jeldrik Hanschke
6e26789b8b
improve positioning of validation feedback
...
Also refactors the template to use Octance features.
2019-10-28 13:18:53 +01:00
Jeldrik Hanschke
6b0bb68919
fix invisible validation error message for date selection ( #257 )
2019-10-20 12:43:27 +02:00
jelhan
07da863520
fix typo resulting in missing translation strings ( #224 )
2019-06-15 00:04:32 +02: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
08f2a81ac1
Drop jQuery ( #196 )
...
Drops ember-radio-buttons addon and uses a plain input element instead. ember-radio-buttons doesn't seem to be maintained anymore and required jQuery. Also plain input element seems to be much easier to maintain.
Replaces ember-ajax by ember-fetch as ember-ajax is build on top of jQuery.ajax().
This reduces the bundle size by 25 KB (JavaScript) after gzip. Updating the size limit accordingly.
2019-05-22 12:29:29 +02:00
jelhan
17cfb4ab6d
Meaningful error pages ( #177 )
...
Adds meaningful error pages if
- poll does not exist
- encryption key is wrong.
2019-04-23 17:37:42 +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
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
96f1990542
fix: label should reflect validation state of all times of a day
2019-01-03 00:46:36 +01:00
Jeldrik Hanschke
af4fe70f72
refactor: drop ember-simple-select
2019-01-02 23:48:36 +01:00
Jeldrik Hanschke
3091f9ac5e
deps: upgrade ember-page-title
...
Current page title is put before generic one, e.g. "Create a poll | Croodle"
instead of "Croodle | Create a poll". This was an upstream change with
could reasoning. Have a look here:
https://github.com/adopted-ember-addons/ember-page-title/releases/tag/5.0.0
Version 4.0.0 required the `{{head-layout}}` component in application's
template:
https://github.com/adopted-ember-addons/ember-page-title/releases/tag/4.0.0
2018-12-31 14:12:21 +01:00
Jeldrik Hanschke
3330151156
refactor: drop unnecessary dynamic component usage
2018-12-31 12:09:23 +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
b7e63ed83b
refactor: replace ember-object-at-helper by ember-composable-helpers
2018-12-30 10:06:49 +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
ee8c64e031
show expiration date and warn if poll will expire in next days ( #140 )
...
Closes #121
2017-08-26 02:14:09 +02:00
jelhan
fc342b6c05
Fix: poll creation time is not displayed as formatted
...
Also fixes #122
2017-08-13 20:32:23 +02:00
jelhan
64a9dea5e7
refactor dates handling ( #137 )
...
* Remove dates ArrayProxy.
* Use moment template helpers.
* Pass timezone and locale directly to moment template helper to avoid issues.
2017-08-11 16:39:36 +02:00
jelhan
e99a2f13b8
Fix: chart options are overriden by poll options
...
Bug introduced by 1df562b352
.
2017-08-03 16:44:38 +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
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
8441c92295
use poll title as page title
...
Part of #76
2016-08-20 23:28:39 +02:00
jelhan
afb06e4f12
Fix: novalidate
option of {{bs-form}}
should be true (and not string 'true')
...
This had been fixed in ember-bootstrap 0.9.0
2016-08-20 22:59:50 +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
5613dfdd43
add button for copying poll link
...
closes #95
2016-08-20 22:02:53 +02:00
jelhan
3d251bc9fb
provide status bar to indicate steps of poll creation wizard
...
part of #76
2016-08-14 22:57:10 +02:00
jelhan
2a75db5304
Update to chartjs 2.x
...
enhancements:
* responsive charts
* native support for stacked bars
* CSP: script-src: unsafe-inline is not needed anymore #90
2016-08-12 23:09:43 +02:00
jelhan
3cb05ca5b3
adds test that user is notified if poll can't be saved
...
related to #78
2016-08-12 13:00:18 +02:00
jelhan
92c2c353d8
Fix view deprecation by refactoring to component
2016-08-11 23:37:14 +02:00
jelhan
66b89456d3
Fix: feedback if participation can't be saved
...
adresses #78
2016-08-04 22:24:53 +02:00
jelhan
d8a014b677
Label (day) validation state should reflect validation states of all related input fields (times)
2016-08-01 21:35:06 +02:00
jelhan
6158a0afe0
Only show "copy and paste times of first day to all other days" if there
...
is more than one day
2016-07-28 01:22:09 +02:00
jelhan
0627d409b5
Fix: adblock plus blocks every element having class .share-link
2016-07-27 21:49:12 +02:00
jelhan
5521b29409
Fix: feedback icons are only supported for input elements by bootstrap
2016-07-27 15:17:10 +02:00
jelhan
724a995372
Fixes: invalid times should not be adopted on other days
2016-07-05 11:26:03 +02:00
jelhan
01bd5a6466
remove formatted-date helper (not in use anymore)
2016-06-21 01:44:50 +02:00
jelhan
7b2a9672f4
Fixes: Date in poll evaluation summary does not observe locale changes.
2016-06-20 20:48:48 +02:00
jelhan
9d9121c04e
all outstanding PRs for ember-bootstrap got merged
2016-06-14 13:53:22 +02:00