Commit Graph

43 Commits

Author SHA1 Message Date
Dominik Pschenitschni
b44d11cfc0 feat: add @intlify/unplugin-vue-i18n (#2772)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2772
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-12-02 15:16:15 +00:00
Dominik Pschenitschni
3b95824f58 feat: use Intl.DateTimeFormat for gantt weekdays (#2766)
Fixes vikunja/frontend#2728

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2766
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-11-30 15:58:04 +00:00
7ec2b6c0d2
fix: gantt route sync 2022-11-09 18:39:29 +01:00
599e28e5e5
feat: type improvements 2022-10-31 22:42:28 +01:00
b8cc828bc0
chore(gantt): upgrade packages 2022-10-27 17:50:31 +02:00
8dea4082bb
fix: parseBooleanProp 2022-10-27 17:49:35 +02:00
a70a2e3ba6
feat(gantt): use time constants 2022-10-27 17:49:29 +02:00
7f4114b703
feat: move useGanttTaskList in separate file 2022-10-27 17:47:53 +02:00
2c732eb0d5
feat: abstract to useGanttFilter / and useRouteFilter 2022-10-27 17:47:15 +02:00
2acb70c562
chore: clean up 2022-10-27 17:47:15 +02:00
9f146c8c7f
chore(gantt): wip daterange 2022-10-27 17:46:28 +02:00
6d587fad6e
fix(filters): page freezing when entering a date as a result of an endless loop
Resolves vikunja/frontend#2384
2022-10-07 19:49:57 +02:00
4655e1ce34
feat: update eslint config
support async component, see: https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
2022-10-04 13:45:16 +02:00
db627ed28a
feat: editor script setup 2022-10-04 09:41:59 +02:00
Dominik Pschenitschni
ff1968aa36 feat: datepicker script setup (#2456)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2456
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-10-01 22:13:50 +00:00
b24d5f2dce fix(quick add magic): time parsing for certain conditions (#2367)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#2367
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-09-15 11:59:29 +00:00
92f24e59a7
fix: don't parse dates in urls
Resolves #2353
2022-09-15 10:23:37 +02:00
dff5d84ebb
fix: make sure weekday parsing in quick add magic ignores the casing
Resolves vikunja/frontend#2105
2022-07-11 12:35:08 +02:00
15b67136fe
feat: rename js files to ts 2022-04-02 17:14:59 +02:00
84f177c80e
feat: reduce dependency on router and move everything to route props instead 2022-02-06 20:11:13 +01:00
bcd34efe91
chore: convert ShowTasks component to script setup and ts 2022-02-06 16:04:49 +01:00
7aa2cfc8d4
feat: add date range filter to task filters 2022-02-06 12:43:40 +01:00
d913fa1745
fix: edge cases for dates where the next month had fewer days than the current one 2022-01-30 12:38:17 +01:00
931941359b
fix: don't try to parse date numbers with letters around them 2022-01-30 12:37:14 +01:00
50c3bcd793 fix: don't try to format invalid dates as ISO 2022-01-18 20:43:52 +00:00
8114012997
feat: replace jest with vitest 2022-01-04 14:16:47 +01:00
8b8e413af0 feat: recurring for quick add magic (#1105)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#1105
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-12-07 20:08:39 +00:00
Dominik Pschenitschni
20f0496fa5 fix: unit test for "should recognize dates of the month in the past but next month" (#1131)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1131
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2021-12-02 15:39:46 +00:00
3a7a4bdc42
Merge branch 'main' into vue3
# Conflicts:
#	src/components/input/editor.vue
#	src/components/list/partials/filters.vue
#	src/components/tasks/partials/editAssignees.vue
#	src/helpers/find.ts
#	src/helpers/time/formatDate.js
#	src/main.ts
#	src/store/modules/attachments.js
#	src/store/modules/kanban.js
#	src/views/list/views/List.vue
#	yarn.lock
2021-10-07 12:20:52 +02:00
d583cb2094
fix: properly resolve relative date translations
Resolves #798
2021-10-04 21:33:23 +02:00
7c3c2945f8
feat: use vue-i18n 9 for vue3 2021-10-01 18:49:54 +02:00
a955488cdf
fix: date formatting for non-english languages 2021-09-26 20:07:15 +02:00
4b64e27d2b
fix(natural language parser): parts of week days in other words 2021-09-26 15:00:11 +02:00
403d77ce14
fix(natural language parser): fix parsing short days
related: #773
2021-09-26 14:38:15 +02:00
8b4efeeb11
Another day, another js date edge-case 2021-09-01 22:12:46 +02:00
c45911fd36 Fix date parsing parsing words with weekdays in them (#607)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#607
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 10:45:17 +00:00
306a926c66 Add default list setting & creating tasks from home (#520)
Co-authored-by: sytone <github@sytone.com>
Co-authored-by: Sytone <github@sytone.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#520
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: sytone <kolaente@sytone.com>
Co-committed-by: sytone <kolaente@sytone.com>
2021-07-17 21:21:46 +00:00
647b02e989
Fix translating dates 2021-07-06 16:46:45 +02:00
c8209c6c10 Quick add magic for tasks (#570)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#570
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-05 10:29:04 +00:00
f0498fd767 Add translations (#562)
Reviewed-on: vikunja/frontend#562
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-06-23 23:24:57 +00:00
12b8d47a79
Fix formatting invalid dates 2021-04-22 14:26:48 +02:00
be92db49a9
Fix setting dates in safari
Fixes #207
2021-02-03 23:06:20 +01:00
fb3cf94cba Better reminders (#308)
Fix setting the new reminder component to null after adding a new date

Add "close on change" event which only fires if the component closed and the value actually changed

Hide the "today" option after 21:00

Add "confirm" button to close the component

Use disabled in reminders

Add a disabled property to the datepicker

Cleanup workarounds for flatpickr

Use the new datepicker for end dates

Use the new datepicker for start date

Use the new datepicker for due dates

Mobile styling

Format

Sync flatpickr when clicking on choose a date

Make sure to only hide the popup when not clicked something inside of it

Make flatpickr dates work

Use datepicker component for reminders

Merge branch 'master' into feature/better-reminders

Fix bottom padding of inline flatpickr

Set time

Add method to calculate the neares time

Move time helpers in separate folder

Remove separate flatpickr date

Cleanup

Set the flatpickr date when setting changing the date

Better formatting of the chosen date

Bubble

Set date when choosing one

Fix test

Show correct weekday in preview

Change hover background color

Make label to show if selected date is null configurable

Use a different icon for weekend

Ignore test files when linting

Add tests to dron

Move day interval calculation to separate file and test it

Add next date calculation

Add basic date picker component

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#308
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-28 13:59:27 +00:00