Blitz icon indicating copy to clipboard operation
Blitz copied to clipboard

Add auto-refresh functionality

Open pascalberger opened this issue 8 years ago • 3 comments

It would be nice if the PR view could auto-refresh itself (like eg. dashboards could). Use case is if PR view is eg. used on a team screen.

pascalberger avatar May 09 '16 08:05 pascalberger

Sounds like a useful feature.

sierpinski avatar May 10 '16 00:05 sierpinski

This is a fairly straightforward implementation. You can simply put a <meta http-equiv="refresh" content="30"> inside the <head> of the html files. The iframe will automatically refresh. 30 is the number of seconds before a refresh will occur.

Question to @pascalberger and @sierpinski:

  1. Should this functionality be configurable? As in you can turn the auto-refresh off and on.
  2. Should the number of seconds be configurable, or should it be a static number of say 600 (10 minutes)?

karlingen avatar Jul 02 '19 12:07 karlingen

My opinion: 1 and 2 should be yes, if technically feasible. Your code suggestion seems like it will make this easier.

sierpinski avatar Jul 03 '19 21:07 sierpinski