Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

enter individual visit offsets&durations #204

Merged
merged 14 commits into from
Feb 21, 2022
Merged

Conversation

rkrenn
Copy link
Collaborator

@rkrenn rkrenn commented Feb 11, 2022

this enhancement replaces the "duration" and "offset" dropdowns in the visit schedule tab with p:autocomplete input fields.

grafik

a new parser will accept entered duration labels such as "1day, 2.5hours, 3 mins". it converts it into a value seconds for persisting it in the database (eg. 1 * 24 * 60 * 60 + 2.5 * 60 * 60 + 3 * 60 = 95580 seconds). in turn, that value will be printed in canonical form eg. "1 day, 2 hours, 33 mins".

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 14, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 23 Code Smells

0.0% 0.0% Coverage
2.7% 2.7% Duplication

@rkrenn rkrenn merged commit a1bf6c3 into master Feb 21, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

not possible to provide a visit duration or offset not in the dropdown list
1 participant