Skip to content

feat: open options-tab on first visit #4426

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

haslinghuis
Copy link
Member

@haslinghuis haslinghuis commented Apr 14, 2025

This pull request includes an enhancement to the startProcess function in src/js/main.js. The main change is the addition of a check for the first visit, which initializes the options tab if it is the user's first time running the application.

Enhancements to user experience:

  • src/js/main.js: Added a check for the first visit by verifying the firstRun configuration. If it is the first visit, the code sets the firstRun flag to true and initializes the options tab with a delay to open it automatically.

Copy link

netlify bot commented Apr 14, 2025

Deploy Preview for origin-betaflight-app ready!

Name Link
🔨 Latest commit 536e9fd
🔍 Latest deploy log https://app.netlify.com/sites/origin-betaflight-app/deploys/67fe6467866e5f000808697c
😎 Deploy Preview https://deploy-preview-4426.app.betaflight.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nerdCopter
Copy link
Member

netlify preview did nothing special, even after clearing storage with chrome-extension.

@nerdCopter
Copy link
Member

no change in behavior

@haslinghuis
Copy link
Member Author

image

Need to find a way to click

Copy link
Member

@nerdCopter nerdCopter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

536e9fd

  • it worked! 🚀
  • tested revisit. tested cleared storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

[feature request] open options-tab if PWA never used before (or cache cleared)
2 participants