client: discard drafts that are just the default state #182

Manually merged
norm merged 2 commits from delete-default-drafts into main 2022-10-03 06:56:24 +00:00
Owner

This takes the initial/default data that would be saved in a draft and before saving checks that the draft data is different from the initial data. If it is the same, the data is not stored or deleted if it existed.

This takes the initial/default data that would be saved in a draft and before saving checks that the draft data is different from the initial data. If it is the same, the data is not stored or deleted if it existed.
Johann150 added 1 commit 2022-10-02 14:02:17 +00:00
client: discard drafts that are just the default state
Some checks failed
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2e07477398
Changelog: Changed
Johann150 added 1 commit 2022-10-02 14:14:13 +00:00
fixup: simplify check because there is never an initial poll
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
def1e6396c
norm approved these changes 2022-10-03 06:53:50 +00:00
norm manually merged commit 0b26d96776 into main 2022-10-03 06:56:24 +00:00
norm deleted branch delete-default-drafts 2022-10-03 07:01:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#182
No description provided.