feat: replace our home-grown gantt implementation with ganttastic #2180

Merged
konrad merged 78 commits from feature/ganttastic into main 2022-10-27 16:03:27 +00:00

78 Commits

Author SHA1 Message Date
kolaente 5271166120
chore(gantt): pnpm install after merge
continuous-integration/drone/pr Build is passing Details
2022-10-27 17:54:56 +02:00
Dominik Pschenitschni 61a89117d2
chore(gantt): upgrade packages
continuous-integration/drone/pr Build is failing Details
2022-10-27 17:51:44 +02:00
Dominik Pschenitschni 066553838a
fix: improve return type 2022-10-27 17:51:09 +02:00
Dominik Pschenitschni 443e1a063d
chore: refactor parseTimeLabel to own function 2022-10-27 17:51:09 +02:00
Dominik Pschenitschni 9a84fb6d7f
feat(gantt): disable useDayjsLanguageSync 2022-10-27 17:51:04 +02:00
Dominik Pschenitschni d8d3e4c8a6
fix(gantt): useDayjsLanguageSync and move to separate file 2022-10-27 17:50:47 +02:00
Dominik Pschenitschni b4f88bd4a6
fix: remove IE fallback 2022-10-27 17:50:31 +02:00
Dominik Pschenitschni abc26496cf
fix: do not change language to the current one 2022-10-27 17:50:31 +02:00
Dominik Pschenitschni b8cc828bc0
chore(gantt): upgrade packages 2022-10-27 17:50:31 +02:00
Dominik Pschenitschni 874dc1e5fc
feat: align with vue-flatpickr-component 10 2022-10-27 17:49:50 +02:00
Dominik Pschenitschni e74e6fcc99
feat: move config preparation in separate function 2022-10-27 17:49:50 +02:00
Dominik Pschenitschni 52d4d0bdb9
feat(gantt): reset gantt filter 2022-10-27 17:49:45 +02:00
Dominik Pschenitschni 6bf6357cbd
feat: use plural for filters consequently 2022-10-27 17:49:35 +02:00
Dominik Pschenitschni cf0eaf9ba1
chore: don't pass other params to ListGantt than route 2022-10-27 17:49:35 +02:00
Dominik Pschenitschni 8dea4082bb
fix: parseBooleanProp 2022-10-27 17:49:35 +02:00
Dominik Pschenitschni 51dc123d89
feat: use ref for filters 2022-10-27 17:49:35 +02:00
Dominik Pschenitschni acb3ddc73f
feat: use PascalCase for component name 2022-10-27 17:49:34 +02:00
Dominik Pschenitschni 407f5f2ef8
fix: initial transformation of ganttBars 2022-10-27 17:49:34 +02:00
Dominik Pschenitschni 73eab6c5b5
fix: scope ListGantt styles 2022-10-27 17:49:34 +02:00
Dominik Pschenitschni aefda38bdd
feat: remove gantt-chart wrapper 2022-10-27 17:49:34 +02:00
Dominik Pschenitschni a70a2e3ba6
feat(gantt): use time constants 2022-10-27 17:49:29 +02:00
Dominik Pschenitschni db611ab2d3
fix(gantt): only unmount chart if there aren't any loaded tasks yet 2022-10-27 17:48:30 +02:00
kolaente e1f49f2ff1
fix: disable dayjsLanguageSync function 2022-10-27 17:47:53 +02:00
kolaente b8e7b87f96
fix: don't try to dynamically load dayjs locales 2022-10-27 17:47:53 +02:00
kolaente 6c619072b4
chore: use vue-ganttastic release 2022-10-27 17:47:53 +02:00
kolaente 26e522cf8c
chore: pnpm install after merge 2022-10-27 17:47:53 +02:00
Dominik Pschenitschni 7f4114b703
feat: move useGanttTaskList in separate file 2022-10-27 17:47:53 +02:00
Dominik Pschenitschni c7dd20ef57
feat: simplify ListGantt styles 2022-10-27 17:47:53 +02:00
Dominik Pschenitschni c1da04eda1
feat(gantt): add task collection to useGanttFilter 2022-10-27 17:47:47 +02:00
Dominik Pschenitschni 2c732eb0d5
feat: abstract to useGanttFilter / and useRouteFilter 2022-10-27 17:47:15 +02:00
Dominik Pschenitschni 2acb70c562
chore: clean up 2022-10-27 17:47:15 +02:00
Dominik Pschenitschni eaf777864a
feat: working gantt-chart 2022-10-27 17:47:15 +02:00
Dominik Pschenitschni 0b194bb0cf
fix: update eslint env to 2022 2022-10-27 17:47:15 +02:00
Dominik Pschenitschni e968c88cfd
feat(gantt): trying to load gantt-chart 2022-10-27 17:47:09 +02:00
Dominik Pschenitschni df02dd5291
chore: better naming for input 2022-10-27 17:46:36 +02:00
Dominik Pschenitschni acdbf2f8f5
feat: working route sync 2022-10-27 17:46:36 +02:00
Dominik Pschenitschni 9f146c8c7f
chore(gantt): wip daterange 2022-10-27 17:46:28 +02:00
Dominik Pschenitschni 3b244dfdbe
feat: improve types 2022-10-27 17:45:29 +02:00
Dominik Pschenitschni 2f820e517f
feat: update ganttastic version 2022-10-27 17:45:29 +02:00
kolaente 56b88218b3
fix(tests): adjust gantt rows identifier 2022-10-27 17:45:29 +02:00
kolaente 957d8f05a5
chore: update lockfile 2022-10-27 17:45:26 +02:00
kolaente 31f2065d20
fix: correctly import all components 2022-10-27 17:45:09 +02:00
kolaente f5fd14124f
fix: use base store 2022-10-27 17:45:09 +02:00
Dominik Pschenitschni d91bc5090a
fix imports 2022-10-27 17:45:09 +02:00
Dominik Pschenitschni f21a4e1e9f
feat: review changes
move TaskForm in separate component, improve types
2022-10-27 17:45:09 +02:00
kolaente 970a04d973
fix: remove precision setting 2022-10-27 17:45:09 +02:00
kolaente fd9d0ad155
chore: don't use ref when not nessecary 2022-10-27 17:45:09 +02:00
kolaente 4be0977014
chore: add types for template ref 2022-10-27 17:45:09 +02:00
kolaente 6975a2b286
chore: don't use for..in 2022-10-27 17:45:09 +02:00
kolaente 64fdae81ec
feat: only use one watcher 2022-10-27 17:45:09 +02:00
kolaente 56a25734d7
chore: define types 2022-10-27 17:45:09 +02:00
kolaente ed5d3be7cb
chore: don't set required if there's a default value 2022-10-27 17:45:08 +02:00
kolaente 98d0398ca8
chore: uppercase const 2022-10-27 17:45:08 +02:00
kolaente d3925b8d80
chore: use @/models 2022-10-27 17:45:08 +02:00
kolaente b7b4530a11
fix: use inherit for font family 2022-10-27 17:45:08 +02:00
kolaente 766b4c669f
chore: use Loading component 2022-10-27 17:45:08 +02:00
kolaente 5f7159ebc4
feat: increase the default date range 2022-10-27 17:44:53 +02:00
kolaente 0a9588e097
feat: create task when pressing the button 2022-10-27 17:44:53 +02:00
kolaente 091beecc19
fix: make tests work again with new selectors 2022-10-27 17:44:53 +02:00
kolaente 6cb331ee0f
chore: remove old component and dependencies 2022-10-27 17:44:50 +02:00
kolaente 8c62a9e198
feat: loading animation 2022-10-27 17:44:30 +02:00
kolaente 29dcc02217
feat: handle changing props 2022-10-27 17:44:30 +02:00
kolaente 3eacc0754f
feat: show done tasks strikethrough 2022-10-27 17:44:30 +02:00
kolaente ebd824bddf
feat: update task in gantt bar after dragging to make sure it changes its color 2022-10-27 17:44:30 +02:00
kolaente 2c012e1a08
fix: make sure the date format is actually valid 2022-10-27 17:44:30 +02:00
kolaente 10c6db3849
fix: handle bar styling so they can actually be used 2022-10-27 17:44:30 +02:00
kolaente 80c151ca6c
feat: styling 2022-10-27 17:44:30 +02:00
kolaente 7a7a1c985e
chore: use width property 2022-10-27 17:44:30 +02:00
kolaente c8eac914d1
feat: scroll 2022-10-27 17:44:29 +02:00
kolaente d2c40926de
feat: add open task detail when double clicking 2022-10-27 17:44:29 +02:00
kolaente c3cae78213
fix: new task input styling 2022-10-27 17:44:29 +02:00
kolaente c289a6ae18
chore: use flatpickr range instead of two datepickers 2022-10-27 17:44:29 +02:00
kolaente ef4689335b
feat: create new tasks 2022-10-27 17:44:29 +02:00
kolaente 3b48adad67
feat: dynamically set default date 2022-10-27 17:44:29 +02:00
kolaente 736e5a8bf5
feat: dynamically set default date 2022-10-27 17:44:29 +02:00
kolaente ed241d21be
feat: only load tasks which start in the currently selected range 2022-10-27 17:44:29 +02:00
kolaente 49a24977f9
feat: allow passing props down to the gantt component 2022-10-27 17:44:29 +02:00
kolaente 2b0df8c237
feat: add basic implementation of ganttastic 2022-10-27 17:44:26 +02:00