NXEnhanced icon indicating copy to clipboard operation
NXEnhanced copied to clipboard

Add Ability To "Edit" A Domain

Open quantumpacket opened this issue 4 years ago • 1 comments

Suppose I have an allowed domain such as example.com.

However, later I decide I want to be less restrictive and allow per subdomain. If I wanted to do secure.example.com instead, under the current setup I would need to create a new entry called secure.example.com and then delete example.com to prevent overriding. The same can be said if I wanted to be more restrictive and change a subdomain to a root domain.

My proposal is to make this transparent through the extension, where you can click an "Edit" button. It will allow you to edit the current domain name to a new name, by doing the following actions in the background. Adding the "new name" as a new entry, and then deleting the old entry. It would appear that the entry was edited, but it was really just replaced.

quantumpacket avatar May 26 '21 18:05 quantumpacket

Good suggestion! It wouldn't be completely transparent as after editing and refreshing the page the saved domain would get moved to the top of the list, and also it wouldn't be as simple to implement as it may seem, but can definitely be implemented.

hjk789 avatar May 26 '21 23:05 hjk789