- 24 Apr, 2022 3 commits
-
-
Konrad Mohrfeldt authored
The currently prevalent API response handling is based on a callback pattern. This has at least two major drawbacks: 1. More broadly it facilitates the use of nested callbacks, which make the code harder to read and clutter stack traces. 2. Our specific callback solution does not follow the traditional node callback pattern that looks like `function (err, data) { ... }`. Instead we have `callback` and `callbackCancel`, none of which are meant to handle actual error/exception objects. The latter makes it hard to write code that is executed irrespective of the specific code path, like in a try-finally clause. In practice it’s also a violation of the separation-of-concerns design principle as it forces error handling to happen in the store function instead of the caller that is best suited to handle error states. This change attempts to facilitate a gradual migration to a Promise-based result handling by it to co-exist with the currently used callback pattern. Callers that don’t provide any callback functions are assumed to handle promises whereas callers that do provide callback functions will see no change in behaviour. This allows us to transition one API-call at a time instead of doing one large and time-consuming refactoring. refs #55
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
* replace all `var` declarations and use `const` where appropriate * strip unnecessary temporary variables * replace single character variable names * replace multiline variable declarations * simplify expressions * replace invalid uses of parseInt
-
- 23 Apr, 2022 1 commit
-
-
Konrad Mohrfeldt authored
-
- 22 Apr, 2022 3 commits
-
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
-
Konrad Mohrfeldt authored
This updates the build toolchain to Vue CLI v5 and Tailwind 3.x along with some other changes in tooling.
-
- 21 Apr, 2022 1 commit
-
-
Konrad Mohrfeldt authored
@tailwindcss/ui seems to be unused and has a peer dependency on tailwind^1.0 that has been silently ignored.
-
- 29 Mar, 2022 4 commits
-
-
EorlBruder authored
-
EorlBruder authored
-
EorlBruder authored
-
EorlBruder authored
-
- 28 Mar, 2022 5 commits
-
-
EorlBruder authored
-
EorlBruder authored
-
EorlBruder authored
-
EorlBruder authored
-
EorlBruder authored
-
- 25 Mar, 2022 7 commits
-
-
-
-
-
-
-
-
Roman Brendler authored
-
- 18 Mar, 2022 4 commits
-
-
Roman Brendler authored
- Add Gitlab pipeline with release stage - Add docker build and push job - Add create release job
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
- 17 Mar, 2022 1 commit
-
-
Roman Brendler authored
-
- 14 Jan, 2022 6 commits
-
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
Develop See merge request !8
-
- 09 Dec, 2021 1 commit
-
-
David Trattnig authored
-
- 03 Dec, 2021 3 commits
-
-
David Trattnig authored
-
David Trattnig authored
-
David Trattnig authored
-
- 25 Nov, 2021 1 commit
-
-
Richard Blechinger authored
-