-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EES-4367 generate api data set preview tokens #5098
Conversation
src/explore-education-statistics-admin/src/contexts/ConfigContext.tsx
Outdated
Show resolved
Hide resolved
...lore-education-statistics-admin/src/pages/release/data/ReleaseApiDataSetPreviewTokenPage.tsx
Outdated
Show resolved
Hide resolved
...lore-education-statistics-admin/src/pages/release/data/ReleaseApiDataSetPreviewTokenPage.tsx
Outdated
Show resolved
Hide resolved
...lore-education-statistics-admin/src/pages/release/data/ReleaseApiDataSetPreviewTokenPage.tsx
Outdated
Show resolved
Hide resolved
src/explore-education-statistics-common/src/components/CopyLinkButton.tsx
Outdated
Show resolved
Hide resolved
src/explore-education-statistics-common/src/components/CopyLinkButton.tsx
Outdated
Show resolved
Hide resolved
src/explore-education-statistics-common/src/components/CopyLinkButton.tsx
Outdated
Show resolved
Hide resolved
</Button> | ||
} | ||
> | ||
<div className={className}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the extra div? Can't this be combined with the child container div?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It provides a container for the whole component so you can do things like add margin around it, the child container div doesn't include the message when it's inline.
Adds the ability to generate, view and revoke API data set preview tokens.
I've added
apiBaseUrl
andapiDocsUrl
to the admin config, but they aren't defined however they get defined in the back end yet, and may end up being called other things.