Untitled
unknown
plain_text
2 years ago
1.2 kB
3
Indexable
When entering the bookings module, we are going to have to display all the audiences available to the user. To do so, the backend must be prepared to return all the audiences regardless of the advertiser account they belong to. The audiences would then be shown on the table, making all of them available for the user to inspect. The advertiser account switcher would no longer be needed in this module. Optionally, the table would allow the user to filter by advertiser account by means of the filter pane, also, we could include the advertiser account as a column on the table. For verifying whether we can create an audience, the module would use the previously mentioned "can" function, which would return a predicate which would be used to either show the create button or now (or disabled for that matter). Audiences would already have the context of the advertiser account embeded so any action related to them would already be covered, as the advertiser account would be available. However, we would still need to make alterations due to the previously mention change. For creating, the user would be required to select one of the eligible advertiser accounts, effectively giving it the "context".
Editor is loading...