* Update dependency ember-cli-clipboard to v1
* update for changed public API
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
* get deprecation workflow up to date
* fix routing.transition-methods deprecation
* fix this-property-fallback deprecation
* fix implicit-injections deprecation
* argument-less-helper-paren-less-invocation
* remove unmaintained ember-transition-helper which triggers deprecated-run-loop-and-computed-dot-access deprecation
* reset to only log but not throw on errors to not block other development
* reset double quote to single quote changes in templates and fix Prettier config
* fix JS linting
* ugprade ember-template-lint to fix parser
* replace ember-cp-validations with custom validation logic for poll creation
* refactor poll participation to not use ember-cp-validations
* drop ember-cp-validations from create.settings route
* remove unused leftovers from ember-cp-validations
* fix potential leak
* assertion thrown in CI tests (Firefox) indicate that listener is cleaned up automatically
* synchronize translations
* mark string as html safe before passing to translation instead of bypassing HTML escape using {{{unsafe}}} syntax
* replace ember-i18n with ember-intl
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
Croodle shows a modal if saving a participation fails. The modal allows
a user to retry the save attempt. While it was always possible to close
the button by clicking on backdrop or using escape key, a button to do so
was missing. A user may not know about the user ways and may see reloading
the page as only possibilty to close the modal if he doesn't want to retry
again.
This adds the missing abort button and fixes some smaller bugs including:
- The modal was missing a title.
- If the modal was closed once it wasn't reopened on another failed saving
attemp unless the user has visit another page in between.
- Several arguments were passed to <BsModal> that weren't existing at all.
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.
* Adds a loading spinner to form buttons as long as submission is pending.
* Does some refactoring of form navigation buttons.
* Updates expected bundle size.
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.
- 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.