Skip to content
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

Duration limit customisation #381

Open
marek629 opened this issue Mar 7, 2024 · 1 comment
Open

Duration limit customisation #381

marek629 opened this issue Mar 7, 2024 · 1 comment

Comments

@marek629
Copy link

marek629 commented Mar 7, 2024

🐣 Is your feature request related to a problem? Please describe.

I'm confused when I see long duration in stats and it just gone.

💡 Describe the solution you'd like

I would like to have an option to set another duration limit. After code analysis, I know the limit is 30 minutes.

The perfect solution would have dedicated section in Settings panel, between Events and Permanent Tokens sections.
The section should have nice UI, including:

  • integer value range input from 1 to 60
  • switch/select for unit - minutes or hours

As far I noticed, the change will have an impact in API resolvers:

  • Facts.activeVisitors
  • DomainStatistics.durations

❓ Describe alternatives you've considered

Minimal solution could be by adding environment variable.
But I'm not a big fun of this approach as it's not intuitive and needs documentation reading.

📋 Additional context

In my case, I have tutorial like contents on my pages so the reader could need more time to spend at my pages than half an hour.
This caused by they need to read an article first, understand it and try to apply the solution to own project.
It's time consuming and I feel 30 minutes is too short for this scenario.

I need to change it, perhaps a few times, and figure out the best duration limit for me.
I can involve to implement this feature :)

@marek629
Copy link
Author

marek629 commented Mar 9, 2024

I think it's a good idea to make more generic settings. It should be called constraint in both cases, database model and GUI label.

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

No branches or pull requests

1 participant