Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Tiki Tiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 69
    • Merge requests 69
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Tiki Wiki CMS GroupwareTiki Wiki CMS Groupware
  • TikiTiki
  • Merge requests
  • !368

Feature/duration field

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Victor Emanouilov requested to merge kroky/tiki:feature/duration-field into master Apr 24, 2020
  • Overview 8
  • Commits 24
  • Pipelines 4
  • Changes 17

This is a new Tracker field of type Duration - allows a selection of years, months, weeks, days, hours, minutes, seconds (or any combination of these), storage, display and conversion. New Vue.js components were created for the input entry as none of the pre-made solutions made sense. Field works with and without vue.js being enabled as that is still an experimental feature. Vue.js component is much more user-friendly as it allows individual selection, +/- controls, data integrity (automatic range conversion, e.g. 25 hours become 1 day 1 hour) and many more! Uses default Tiki styles but we can easily upgrade to bootstrap components or something else. Non vue.js version is very rudimentary - a list of input fields and units. Search index contains entered value in seconds as well as the humanized string in its "_text" form.

@all any feedback would be welcome! Especially @jonnybradley, if you can review the vuejs integration I did - used your vuejslib and also the way you integrated tracker rules... let me know if anything does not fit right. This integration would give us a simple way to define vuejs components for more tracker fields and continue integrating them.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/duration-field