You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the only way to know if a short URL has redirect rules is to go to the redirect rules section. Add some kind of badge/label/indicator to know there are redirect rules for that short URLs.
This will require loading redirect rules for all the short URLs in the active page, so we could evolve the short url redirect rules reducer to handle a map instead of an instance (like the short URLs detail reducer does now). That way, when visiting the section from the list, we can pull the rules from there, avoiding an extra API call.
If the section is loaded "from scratch", then we load rules from the API (again, like with short URLs details).
The text was updated successfully, but these errors were encountered:
I think I'm going to postpone this, as it's much easier to update the BE to return a flag indicating if a short URL has rules attached to it, rather than trying to overcomplicate the FE..
Right now, the only way to know if a short URL has redirect rules is to go to the redirect rules section. Add some kind of badge/label/indicator to know there are redirect rules for that short URLs.
This will require loading redirect rules for all the short URLs in the active page, so we could evolve the short url redirect rules reducer to handle a map instead of an instance (like the short URLs detail reducer does now). That way, when visiting the section from the list, we can pull the rules from there, avoiding an extra API call.
If the section is loaded "from scratch", then we load rules from the API (again, like with short URLs details).
The text was updated successfully, but these errors were encountered: