Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow renaming & reordering of labels #65

Open
tsumaru720 opened this issue Apr 15, 2019 · 1 comment
Open

Allow renaming & reordering of labels #65

tsumaru720 opened this issue Apr 15, 2019 · 1 comment

Comments

@tsumaru720
Copy link

tsumaru720 commented Apr 15, 2019

Off the back of #56 it would be nice to rename a label from the UI and that'd in turn change the label for all domains it applies to - this would be useful if you have a load of domains under a customer label and needed to change the name it displays, for example.

As a side note, it'd be nice to dictate ordering of labels without having to use prefixes such as z_ to define their placement (user-configurable weight maybe?)

@ShaneMcC
Copy link
Member

Labels are a weird construct - the backend doesn't really know they exist. It knows that a bunch of domains have a customdata value for the key "uk.co.mydnshost.www/domain/label" or so.

The frontend can probably fake a rename by finding all the domains with a given label value then changing them one by one. Or maybe a way to bulk set a customdata value for a bunch of domains in one go.

Not sure how weights would work without labels being a top-level construct, so probably won't do that bit at least not initially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants