Add display name field #331

Merged
tobru merged 18 commits from 290-display-name into main 2025-12-11 15:33:00 +00:00
Member

ref #290

ref #290
rixx added 7 commits 2025-12-09 09:00:09 +00:00
rixx added 1 commit 2025-12-09 15:16:37 +00:00
Fix custom form config
All checks were successful
Tests / test (push) Successful in 29s
ce92f6f29e
rixx added 1 commit 2025-12-09 15:17:09 +00:00
Fix FQDN generation
All checks were successful
Tests / test (push) Successful in 29s
7a88b2b83a
requested review from tobru 2025-12-09 15:37:41 +00:00
Owner

Editing a service fails with:

TypeError: VSHNForgejo() got unexpected keyword arguments: 'name'

Other than that, I think LGTM. Needs a bit more testing I guess, now that the dev cluster is there again...

Editing a service fails with: ``` TypeError: VSHNForgejo() got unexpected keyword arguments: 'name' ``` Other than that, I think LGTM. Needs a bit more testing I guess, now that the dev cluster is there again...
rixx force-pushed 290-display-name from 7a88b2b83a to 848e5162bc 2025-12-10 09:21:15 +00:00 Compare
Author
Member

Fixed the broken update page. I think atm we do not immediately sync the display name annotation if it changes (sync would be part of the billing annotation sync, though). Should I add an annotation sync on display name change?

Fixed the broken update page. I think atm we do not immediately sync the display name annotation if it changes (sync would be part of the billing annotation sync, though). Should I add an annotation sync on display name change?
Owner

Should I add an annotation sync on display name change?

Yes, I think that makes sense to have.

> Should I add an annotation sync on display name change? Yes, I think that makes sense to have.
rixx force-pushed 290-display-name from 848e5162bc to 392653aace 2025-12-10 12:01:52 +00:00 Compare
Owner

In general, it works. Some things need refinement:

  • Generating the FQDN from the display name needs to make sure it's a valid FQDN, for example when entering a space, it would also add a space to the FQDN which is invalid. Let's sanitize it, for example a space might become a -. Maybe there is a generic "sanitization" approach?
  • Let's rename "Resource Name" into "Instance ID"

Other than that, I'd say LGTM

In general, it works. Some things need refinement: * Generating the FQDN from the display name needs to make sure it's a valid FQDN, for example when entering a space, it would also add a space to the FQDN which is invalid. Let's sanitize it, for example a space might become a `-`. Maybe there is a generic "sanitization" approach? * Let's rename "Resource Name" into "Instance ID" Other than that, I'd say LGTM
rixx added 2 commits 2025-12-11 12:14:25 +00:00
Rename Resource Name to Instance ID
All checks were successful
Tests / test (push) Successful in 35s
f3986a875a
Author
Member

FQDN is now getting basic sanitizing, and the field is called "Instance ID" in all places.

FQDN is now getting basic sanitizing, and the field is called "Instance ID" in all places.
tobru approved these changes 2025-12-11 15:32:31 +00:00
tobru added the
UI/UX
label 2025-12-11 15:32:40 +00:00
tobru merged commit cee4b2a8bc into main 2025-12-11 15:33:00 +00:00
tobru deleted branch 290-display-name 2025-12-11 15:33:00 +00:00
Sign in to join this conversation.
No description provided.