tower-ui 0.61.10 — MigrateDrawer domain watcher tracks last suggestion

The MigrateDrawer's auto-suggest watcher compared form.value.domain
against staged.sourceCode (the *initial* suggestion from the bundle)
to decide whether the domain field had been hand-edited. Result: the
moment the operator typed past the initial suggestion (e.g. typed
'odoo16v' then 'odoo16v2'), every subsequent code edit was treated
as a hand-edit and the domain stuck at the previous suggestion.

Concrete failure caught live: typing 'odoo16v2' as the new code left
domain='odoo16v.tenants.4th.online' (missing the '2'). Argo App
annotation, instance row, and Cloudflare A record all carried the
truncated domain.

Match DeployInstanceDrawer's pattern: track the last value we
auto-suggested in a previousDerivedDomain ref, compare against that
on each watcher fire.
This commit is contained in:
Tower Bot
2026-04-30 12:25:02 +03:00
parent 816328b49d
commit eece448b6b

View File

@@ -29,7 +29,7 @@ frontend:
enabled: true enabled: true
image: image:
repository: registry.odoosky.cloud/odoosky/docker-mirror/tower-ui repository: registry.odoosky.cloud/odoosky/docker-mirror/tower-ui
tag: "0.61.9" tag: "0.61.10"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: imagePullSecrets:
- name: docker-mirror-pull - name: docker-mirror-pull