bisakhmondal commented on issue #1482:
URL: 
https://github.com/apache/apisix-dashboard/issues/1482#issuecomment-802620825


   > Hi, after discuss with @nic-chen @starsz @LiteSun, we have a new way to 
support this feature.
   > 
   > How about only adding one extra message that tells users: `APISIX Node 
List will get updated in 2 hours by default.`, then we don't have necessary to 
remove nodes by hand & calling APIs.
   
   Yeah, that's the default we have right now except for the displaying message 
part. We can definitely go for it. But looking at the current progress that has 
been made on this issue, I think it would be a better trade off to integrate 
the functionality since it'll help the pro peeps to have more customised & 
fine-grained control through the dashboard instead of waiting for 2 long hours.
   
   Now coming to the implementation of the UI
   
   >Where should we put the Delete button on this page?
   >If users delete nodes by mistake, they have to wait for APISIX to report 
its status, though it doesn't take a long time, users like me will get scared 
if we are not familiar with this logic (Only delete metrics from ETCD).
   
   I have prepared a mock-up for the same, which I think should address these 
concerns :)
   The default screen:
   ![Screenshot from 2021-03-19 
12-54-45](https://user-images.githubusercontent.com/41498427/111745364-7b5a3e00-88b2-11eb-870a-e19da17c133e.png)
   On clicking the unlock, the user will be prompted with the necessary 
warnings.
   ![Screenshot from 2021-03-19 
12-54-48](https://user-images.githubusercontent.com/41498427/111745413-8b721d80-88b2-11eb-8220-c9eb5d850473.png)
   upon confirming to accept button, he/she will have fine-grained access.
   ![Screenshot from 2021-03-19 
12-54-51](https://user-images.githubusercontent.com/41498427/111745513-b5c3db00-88b2-11eb-9018-a69f3193a921.png)
   
   I have made the assets available on [google 
slides](https://docs.google.com/presentation/d/1Gmn-iLR66VO-YOrfmzBWlMsdOBfujigmJGY-fbv45Dc/edit?usp=sharing).
 Feel free to tinker with it & share your thoughts.
   
   I think this omits the risk of unexpectedly deleting apisix node data by 
mistake. Let me know what you think. I'd be happy to address those. Thank you
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to