brandonstubbs / ZendeskRefresh

chrome extension to refresh zendesk
GNU General Public License v2.0
6 stars 5 forks source link

Prevent refresh on second+ page of view #2

Closed wbhob closed 3 years ago

wbhob commented 4 years ago

Looks like the extension pulls you back to the first page on reload. I can help PR, but we want to see if there's a way to prevent reload if not on the first page, as in those circumstances you're probably not needing the results to refresh since they're older.

brandonstubbs commented 3 years ago

Hi,

Sorry for the delay in response I did not see this. Which page are you referring to? It would probably be possible to detect if a user has moved to another page for paginated results

wbhob commented 3 years ago

I am not actually with that company any more, so I no longer use Zendesk. But as I recall, the issue was that on the "Tickets" or "Views" page, if you navigate further into the pagination, you get thrown back to the first page on autorefresh.

brandonstubbs commented 3 years ago

Thank you for the hint area as I too haven't been with a company that uses Zendesk in some time and a fresh copy of Zendesk you have to create over 30 tickets to even get the pagination (So definitely not clear)😉

There wasn't a clean way to work out if the user is on another page that I could. However, there is an obfuscated CSS to change the mouse to a pointer to click on other pages, so put some logic in on that.