Skip to content
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

feat(core/presentation): add useInterval hook #8609

Merged
merged 2 commits into from
Oct 1, 2020

Conversation

erikmunson
Copy link
Member

I have a PR for Managed Delivery coming up in a moment that needed to run some callback code on an interval, but shouldn't be tied to any of our usual stuff for polling that tries to be clever about page visibility and online/offline states (SchedulerFactory, etc.). useInterval is a pretty commonly written custom hook so I didn't try to reinvent the wheel, it's pretty rudimentary. Some unit tests to go along with it as well.

@erikmunson erikmunson added the ready to merge Reviewed and ready for merge label Oct 1, 2020
@mergify mergify bot merged commit 0463ecb into spinnaker:master Oct 1, 2020
erikmunson pushed a commit that referenced this pull request Oct 1, 2020
34bc7e9 feat(core/managed): switch to abbreviated timestamp format, add version timestamps (#8610)
012b004 feat(core/managed): show failed, pending bubbles for any constraint type (#8611)
7604b3d feat(webhooks): document stausJsonPath is now optional (#8608)
0463ecb feat(core/presentation): add useInterval hook (#8609)
mergify bot pushed a commit that referenced this pull request Oct 1, 2020
…45 (#8612)

* chore(appengine): publish appengine@0.0.19

d36922b feat(provider/appengine): add deploy global configuration stage (#8599)

* chore(core): publish core@0.0.514

34bc7e9 feat(core/managed): switch to abbreviated timestamp format, add version timestamps (#8610)
012b004 feat(core/managed): show failed, pending bubbles for any constraint type (#8611)
7604b3d feat(webhooks): document stausJsonPath is now optional (#8608)
0463ecb feat(core/presentation): add useInterval hook (#8609)

* chore(ecs): publish ecs@0.0.265

748da07 feat(ecs): Enable embedded artifacts for Deploy stage (#8603)
61cf058 feat(ecs): add Amazon ECS Cypress tests

* chore(titus): publish titus@0.0.145

619ad9c (fix): Angular to react prop error (#8607)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Reviewed and ready for merge target-release/1.23
Projects
None yet
3 participants