apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.02k stars 339 forks source link

Traffic portal values should be loaded on click versus on page load #7101

Open jhg03a opened 1 year ago

jhg03a commented 1 year ago

This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:

Current behavior:

Right now when creating a server for example, the values present to choose from in dropdowns are set on page load. If I need to create a new cachegroup or profile for example, I have to know how to manipulate other fields to trigger a reload or refresh the page and start over with all my data entry. This behavior isn't limited to any one field or type that uses a dropdown in TP.

New behavior:

When I click the dropdown I want to have it make the API call to request information. This is so that if I need to open other tabs to create necessary data, I get consistent behavior that will show what was just made rather than a cached copy missing what I need.

ntheanh201 commented 8 months ago

@jhg03a I think we could do something like: an icon for reloading the data at the right of the dropdown, no need to call API whenever click dropdown