ecamp / ecamp/ecamp3

ApiWrapper dirty flag handling

Open
#2,578 1 comment 0 reactions 1 assignee Claimed by @manuelmeister View on GitHub
agents:ignore
Dominant language
PHP
Stars
156
Forks
72
Avg merge
12h 43m
Merged PRs (30d)
203

Description

Vorschlag:
```js
this.dirty = this.dirty || this.localValue !== this.apiValue
```

_Originally posted by @pmattmann in https://github.com/ecamp/ecamp3/pull/2572#discussion_r848768966_

1. Specify how ApiWrapper should handle beeing dirty
- Proposal by @usu: similar behaviour like the drag and drop of contentnodes and waiting for the last request
2. Adapt the tests (maybe refactoring) that they reflect the specification
3. Implement the behaviour specified in the tests
4. Test in the frontend that the specified behaviour matches the needs of the users
5. Maybe adapt the tests
6. Implement
7. Repeat from 4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.