-
Notifications
You must be signed in to change notification settings - Fork 12
PowerBi Dashboard Refresh Option #552
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
base: master
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you reformat the code? Let's not touch it until the global config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rusko124 to fix the lint errors. D
Would you like me to revert it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rusko124 You can see the action to see the code format lint errors - https://github.com/Screenly/Playground/actions/runs/19928829629/job/57135323556?pr=552
|
@rusko124 As we discussed, reverted code that refreshes the token. |
Co-authored-by: rusko124 <psafronov@screenly.io>
Co-authored-by: rusko124 <psafronov@screenly.io>
Co-authored-by: rusko124 <psafronov@screenly.io>
|
@rusko124, could you please check again? |
User description
The user wants to control the refresh time of the Power BI dashboard, which is currently hardcoded to 30 minutes. This PR introduces a minimum refresh interval of 1 minute, with the default remaining at 30 minutes.
PR Type
Enhancement
Description
Add configurable refresh interval setting
Enforce 1-minute minimum interval
Default refresh stays at 30 minutes
Wire setting into token refresh loop
Diagram Walkthrough
File Walkthrough
main.js
Configurable token refresh interval in JSedge-apps/powerbi/static/js/main.js
getTokenRefreshIntervalwith min/default logicscreenly.yml
Add refresh interval setting to app configedge-apps/powerbi/screenly.yml
refresh_intervalsetting (minutes)screenly_qc.yml
Add refresh interval to QC configedge-apps/powerbi/screenly_qc.yml
refresh_intervalsetting for QC profile