Webhook log frontend
Created by: LawnGnome
Closes #26669 (closed).
This PR adds a site admin only frontend for webhook logs. The WebhookLogPage
stories in the PR storybook are probably the best way to play around with this in practice — there should be enough of a mock backend in there to actually drive the UI.
There's high storybook coverage of the new UI components, mostly because I don't expect we'll be coming back to this much and I don't want it to inadvertently break.
Open questions for reviewers
Where should this live?
Rob and I designed this as living within the batch changes section of the site admin, but technically incoming webhooks are a non-enterprise feature, albeit barely used outside of the batch changes context. Is there a better place they could live?
GraphQL handling
Although I used the new useQuery
hook exposed by Apollo for the page header, I had to revert back to good old Observable<...>
to be able to use FilteredConnection
for consistent pagination behaviour on the page itself. Is there a better component I don't know about?