Duration limit customisation

Aperta
#381 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, node.js

Direzione di ricerca

Inizia individuando i resolver API Facts.activeVisitors e DomainStatistics.durations e le sezioni del pannello Settings relative a Events e Permanent Tokens. Traccia il modo in cui le impostazioni vengono memorizzate e utilizzate, quindi verifica che un valore di durata persistito con l’intervallo e le unità richiesti influisca su entrambi i resolver e venga presentato chiaramente nella UI.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

🐣 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 :)

Lingua principale
JavaScript
Stelle
4.7k
Fork
386
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di electerious/Ackee

Tutte le issue di electerious/Ackee

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.