feat: add date math for filters #1342

Merged
konrad merged 88 commits from feature/date-math into main 2022-03-28 17:30:43 +00:00

88 Commits

Author SHA1 Message Date
kolaente 0af6d79eff
Merge branch 'main' into feature/date-math
continuous-integration/drone/pr Build is passing Details
2022-03-27 22:41:53 +02:00
kolaente db47c1f10c
chore: move converting params to service
continuous-integration/drone/pr Build is passing Details
2022-02-27 17:21:07 +01:00
kolaente a8ee54d626
Merge branch 'main' into feature/date-math 2022-02-27 16:40:49 +01:00
kolaente d5f0158b04
Merge branch 'main' into feature/date-math
continuous-integration/drone/pr Build is passing Details
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-26 13:30:07 +01:00
kolaente da162d5652
fix: modal not scrolling content when open
continuous-integration/drone/pr Build is passing Details
2022-02-20 22:32:41 +01:00
kolaente c7943ef823
fix: popup not really hidden when hidden
continuous-integration/drone/pr Build is failing Details
2022-02-20 22:02:59 +01:00
kolaente 622f08fb1b
fix: lint
continuous-integration/drone/pr Build was killed Details
2022-02-20 21:34:45 +01:00
kolaente 4ce9ac9c66
chore: remove showAll prop and make it a computed instead
continuous-integration/drone/pr Build was killed Details
2022-02-20 21:32:02 +01:00
kolaente 95d8cdffe4
chore: return the title directly
continuous-integration/drone/pr Build is failing Details
2022-02-20 21:22:31 +01:00
kolaente 564f669ed4
chore: return key directly
continuous-integration/drone/pr Build was killed Details
2022-02-20 21:21:06 +01:00
kolaente 74766ce1d0
chore: hack the planet
continuous-integration/drone/pr Build was killed Details
2022-02-20 21:17:24 +01:00
kolaente 18f5f8da7d
chore: remove abstractions 2022-02-20 21:15:56 +01:00
kolaente 4195953696
chore: rename i18n key for datemath help
continuous-integration/drone/pr Build was killed Details
2022-02-20 21:13:42 +01:00
kolaente a6480cdb75
chore: remove rel for help docs
continuous-integration/drone/pr Build was killed Details
2022-02-20 21:07:49 +01:00
kolaente 0b6a74d11e
Merge branch 'main' into feature/date-math 2022-02-20 20:25:06 +01:00
Dominik Pschenitschni badbae0e9a
fix: mark query parameter as string
continuous-integration/drone/pr Build is failing Details
2022-02-09 17:52:27 +01:00
kolaente 4ac7d6b9df
fix: don't reset flatpickr date
continuous-integration/drone/pr Build is failing Details
2022-02-06 23:10:35 +01:00
kolaente 7cd89b7bf1
chore: rename el
continuous-integration/drone/pr Build is failing Details
2022-02-06 23:08:34 +01:00
kolaente a22792a4b4
fix: styling
continuous-integration/drone/pr Build is failing Details
2022-02-06 23:05:40 +01:00
kolaente b1ec5b58ee
chore: use BaseButton 2022-02-06 23:05:34 +01:00
kolaente 77bf347155
chore: move styling to the correct component 2022-02-06 23:03:58 +01:00
kolaente 204e94aa74
chore: programmatically convert filter values to snake_case
continuous-integration/drone/pr Build is failing Details
2022-02-06 20:48:37 +01:00
kolaente aac777e286
fix: lint
continuous-integration/drone/pr Build was killed Details
2022-02-06 20:32:21 +01:00
kolaente 84f177c80e
feat: reduce dependency on router and move everything to route props instead
continuous-integration/drone/pr Build is failing Details
2022-02-06 20:11:13 +01:00
kolaente 1e4ef96150
chore: cleanup unnecessary css
continuous-integration/drone/pr Build is failing Details
2022-02-06 19:41:20 +01:00
kolaente 4268eee1f2
chore: simplify nesting 2022-02-06 19:40:11 +01:00
kolaente 436c0416d7
chore: use a primary button to select range in upcoming
continuous-integration/drone/pr Build is failing Details
2022-02-06 19:39:05 +01:00
kolaente a78ca6fad3
chore: fix nesting and positioning 2022-02-06 19:38:36 +01:00
kolaente 356b291a57
chore: change return
continuous-integration/drone/pr Build is failing Details
2022-02-06 19:35:30 +01:00
kolaente 60be8b428e
chore: rename date ranges export
continuous-integration/drone/pr Build is failing Details
2022-02-06 19:33:52 +01:00
kolaente f435ca99f4
chore: change import order and useStore
continuous-integration/drone/pr Build is failing Details
2022-02-06 19:31:48 +01:00
kolaente eefe6bd413
chore: move date math explanation to separate component
continuous-integration/drone/pr Build is failing Details
2022-02-06 19:29:15 +01:00
kolaente 204136266f
chore: watch values instead of listening to changes
continuous-integration/drone/pr Build is failing Details
2022-02-06 18:56:45 +01:00
kolaente 18f7adf420
chore: use more BaseButtons
continuous-integration/drone/pr Build is failing Details
2022-02-06 18:51:47 +01:00
kolaente c5d598cac4
chore: refactor trigger to slot
continuous-integration/drone/pr Build is failing Details
2022-02-06 18:46:53 +01:00
kolaente eeee1c842a
fix: correctly send filter values
continuous-integration/drone/pr Build is failing Details
2022-02-06 16:58:23 +01:00
kolaente 6d6f2b4e33
chore: cleanup 2022-02-06 16:48:28 +01:00
kolaente cbbcb7ef23
fix: setTitle import
continuous-integration/drone/pr Build is failing Details
2022-02-06 16:36:12 +01:00
kolaente bcd34efe91
chore: convert ShowTasks component to script setup and ts
continuous-integration/drone/pr Build is failing Details
2022-02-06 16:04:49 +01:00
kolaente 6c0d091e36
Merge branch 'fix/upcoming' into feature/date-math 2022-02-06 15:29:38 +01:00
kolaente 1abd36ef6e
Merge branch 'main' into fix/upcoming
continuous-integration/drone/pr Build is passing Details
2022-02-06 12:45:17 +01:00
kolaente 9e7c258347
fix: sort tasks correctly by due date
continuous-integration/drone/pr Build is failing Details
2022-02-06 12:43:42 +01:00
kolaente 7135288800
fix: lint 2022-02-06 12:43:42 +01:00
kolaente 7aa2cfc8d4
feat: add date range filter to task filters 2022-02-06 12:43:40 +01:00
kolaente 3a12be505d
feat: add prop to maybe show selected date 2022-02-06 12:42:50 +01:00
kolaente a74fc47335
fix: llama position 2022-02-06 12:42:13 +01:00
kolaente 0ae8a0e6ef
feat: add more pre-defined ranges 2022-02-06 12:42:13 +01:00
kolaente e7fa1d3383
feat: add explanation of how date math works 2022-02-06 12:42:12 +01:00
kolaente 6c55411f71
fix: now correctly showing the title of predefined ranges 2022-02-06 12:41:41 +01:00
kolaente 4d23fae9ad
fix: reset the flatpickr range when setting a date either manually or through a quick setting 2022-02-06 12:41:40 +01:00
kolaente 16f48bcc2d
fix: custom date range with nothing specified 2022-02-06 12:41:40 +01:00
kolaente 1e46849c78
feat: make sure date ranges work with date picker and vice-versa 2022-02-06 12:41:39 +01:00
kolaente 8d5bfbe828
feat: add two inputs to toggle flatpickr 2022-02-06 12:41:20 +01:00
kolaente dabe87af4b
feat: make sure showTasks can handle dynamic dates 2022-02-06 12:41:19 +01:00
kolaente 6667df5f1f
feat: move everything to fancy date math ranges 2022-02-06 12:40:23 +01:00
kolaente 32bdf16892
feat: use object and loop to set date options 2022-02-06 12:40:23 +01:00
kolaente 210a78be86
fix: don't try to load a langauge if there's none provided
continuous-integration/drone/pr Build is passing Details
2022-02-05 21:41:22 +01:00
kolaente ecf679d8e1
chore: completely move logic of ShowTasksInRange component to ShowTasks and remove it
continuous-integration/drone/pr Build is failing Details
2022-02-05 21:14:40 +01:00
kolaente 43e83350bd
feat: move logic of ShowTasksInRange component to ShowTasks
continuous-integration/drone/pr Build is failing Details
2022-02-05 21:12:35 +01:00
kolaente c41397f5db
feat: add slot for trigger button in <datepicker-with-range> component
continuous-integration/drone/pr Build is passing Details
2022-02-05 20:29:57 +01:00
kolaente ccd8602bfd
chore: remove unused style
continuous-integration/drone/pr Build is passing Details
2022-02-05 20:18:42 +01:00
kolaente 4e8a03066e
chore: use v-else 2022-02-05 20:17:34 +01:00
kolaente 8d13b979ec
chore: remove unrequired type 2022-02-05 20:03:16 +01:00
kolaente d272eb2a7a
Merge branch 'main' into fix/upcoming
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-02-05 20:02:30 +01:00
kolaente 01323a1b45
Merge branch 'main' into fix/upcoming
continuous-integration/drone/pr Build is passing Details
# Conflicts:
#	src/views/tasks/ShowTasks.vue
2022-01-09 11:48:37 +01:00
kolaente 7dddfea79e
fix: test
continuous-integration/drone/pr Build is failing Details
2021-12-30 16:14:51 +01:00
kolaente 1648bcdb70
chore: make select date button actually a button
continuous-integration/drone/pr Build is failing Details
2021-12-30 16:12:44 +01:00
kolaente 0710cea9e5
fix: lint
continuous-integration/drone/pr Build is failing Details
2021-12-29 21:33:55 +01:00
kolaente 294e89b6f7
fix: z-index
continuous-integration/drone/pr Build is failing Details
2021-12-29 21:12:43 +01:00
kolaente 75cbc73b33
fix: loading spinner
continuous-integration/drone/pr Build is failing Details
2021-12-29 20:59:30 +01:00
kolaente 950fdce111
chore: move datepicker popup to real popup component 2021-12-29 20:54:01 +01:00
kolaente 932f1774ec
feat: move date filter to popup and improve styling 2021-12-29 20:36:53 +01:00
kolaente d825960836
chore: make showNulls and showOverdue computed 2021-12-29 18:12:43 +01:00
kolaente f691e96e22
fix: checkboxes 2021-12-29 18:06:12 +01:00
kolaente 0d6ef8f18a
chore: move task sorting to computed 2021-12-29 17:24:56 +01:00
kolaente d6dd1fc0e3
fix: date range 2021-12-29 17:22:14 +01:00
kolaente 729aa7d4cc
fix: date format 2021-12-29 17:08:33 +01:00
kolaente c24b8af00d
fix: pay attention to week start setting 2021-12-29 16:51:21 +01:00
kolaente 8f8d25ece1
feat: add more date ranges and make sure they actually make sense 2021-12-29 16:48:34 +01:00
kolaente e93be0d04c
chore: cleanup old stuff 2021-12-29 16:06:05 +01:00
kolaente a5b23a7048
feat: disable time 2021-12-29 16:03:29 +01:00
kolaente 858e7d60a6
docs: add fixmes 2021-12-29 16:03:05 +01:00
kolaente 12317c56b3
feat: make the custom button actually do stuff 2021-12-29 16:01:59 +01:00
kolaente 378f782d44
fix: disable broken stuff 2021-12-29 16:01:23 +01:00
kolaente b274a796d4
chore: use ts 2021-12-29 16:00:06 +01:00
kolaente 3d1c1e41c7
feat: make active class work 2021-12-29 15:56:50 +01:00
kolaente 8115563d67
feat: add new component for a datepicker with range 2021-12-29 15:44:13 +01:00
kolaente 7408c37dec
chore: cleanup and reorganize the date selection 2021-12-28 23:50:04 +01:00