feat: display all child tags in the "bare bones" taxonomy detail page (#703)

Also includes:
- feat: set <title> on taxonomy list page and taxonomy detail page
- fix: display all taxonomies on the list page, even if > 10
- refactor: separate out loading spinner component
This commit is contained in:
Braden MacDonald
2023-11-22 12:14:17 -08:00
committed by GitHub
parent f9b008e8e8
commit 352ef35ac2
9 changed files with 214 additions and 60 deletions

View File

@@ -7,6 +7,7 @@ const getApiBaseUrl = () => getConfig().STUDIO_BASE_URL;
export const getTaxonomyListApiUrl = (org) => {
const url = new URL('api/content_tagging/v1/taxonomies/', getApiBaseUrl());
url.searchParams.append('enabled', 'true');
url.searchParams.append('page_size', '500'); // For the tagging MVP, we don't paginate the taxonomy list
if (org !== undefined) {
url.searchParams.append('org', org);
}