Add server editing and deletion

This commit is contained in:
Georg Bauer
2026-08-03 20:34:39 +02:00
parent 0f1d109af7
commit 9a0b179a0e
10 changed files with 664 additions and 40 deletions

View File

@@ -117,6 +117,25 @@ answer before uploading it to App Store Connect.
still work without re-entry.
- [ ] Open the server picker from a repository list and switch between at least
two configured servers; every data tab changes to the selected server.
- [ ] Swipe a server row from the trailing edge; Delete and Edit use native
contextual actions with symbols. A full swipe invokes Delete, and both a
full swipe and a Delete tap still require the same destructive alert.
- [ ] Cancel the delete alert; the row, selected server, saved token, favorites,
and filters remain unchanged.
- [ ] Tap Edit; API provider, name, and URL show the saved values. The secure
token field is empty and says Leave unchanged so the stored token is not
exposed to the UI.
- [ ] Save edits with the token field empty; the existing token still works.
Then change the name, URL, provider, and token and save again; the server
is revalidated, provider discovery is applied, URL-scoped favorites and
filters follow the server, and all data tabs use the edited connection.
- [ ] Enter invalid edited credentials or an invalid URL; the editor stays open,
shows the error, and preserves the previously working configuration.
- [ ] Confirm Delete; the row and Keychain token are removed. If it was selected,
the next server is selected (or the previous last row); deleting the last
server returns server-dependent tabs to their empty Servers screen.
- [ ] Terminate and relaunch after editing and deleting; edited details persist,
deleted servers do not return, and remaining servers still authenticate.
## Native interaction and navigation