coralproject / talk

A better commenting experience from Vox Media
https://coralproject.net
Other
1.88k stars 355 forks source link

[CORL-3167]: Only show story caching actions if data cache enabled #4611

Closed kabeaty closed 3 months ago

kabeaty commented 3 months ago

What does this PR do?

These changes update the story info drawer so that story caching actions are only visible if data caching is enabled.

These changes will impact:

What changes to the GraphQL/Database Schema does this PR introduce?

none

Does this PR introduce any new environment variables or feature flags?

no

If any indexes were added, were they added to INDEXES.md?

n/a

How do I test this PR?

You can enable data caching and see that when you click on a story's story actions in the Stories tab in the admin, you see the Recache story button.

Disable data caching. See that when you click on a story's story actions in the Stories tab in the admin, you don't see the Recache story button.

Were any tests migrated to React Testing Library?

How do we deploy this PR?

netlify[bot] commented 3 months ago

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
Latest commit f88c704a7f4ffe54765af89ef8f117e72c8d1053
Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/6634e0e2470b000008fb892e