Make timer length configurable again#6
Conversation
Modified `src/components/Previews.vue` to use `VITE_TIMER_LENGTH` environment variable instead of a hardcoded value of 3 minutes. The implementation uses robust parsing to ensure a fallback to 3 if the variable is not set or invalid. This follows Vite's convention for environment variables as used elsewhere in the project. Co-authored-by: loleg <31819+loleg@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
The timer length in presentation mode was hardcoded to 3 minutes. This change makes it configurable via the
VITE_TIMER_LENGTHenvironment variable, while maintaining a default of 3 minutes. The solution usesimport.meta.envand theVITE_prefix, consistent with the project's Vite-based configuration.PR created automatically by Jules for task 3916708532546328289 started by @loleg