Commit Graph

36 Commits

Author SHA1 Message Date
447641c222 chore: apply lint fixes 2024-02-07 12:23:09 +00:00
3aa502e07d
fix: use props destructuring everywhere 2023-06-20 14:40:41 +02:00
79ceaf6a2b
fix(task): repeat mode now saves correctly 2023-06-13 12:33:35 +02:00
5694b39489
feat(reminders): show resolved reminder time in a tooltip and properly bubble updated task down to the reminder component 2023-06-13 12:30:07 +02:00
1a792e0667
feat(reminders): only show relative reminders when there's a date to relate them to 2023-06-13 12:03:28 +02:00
bfcb36e093
fix(reminders): align remove icon with the rest 2023-06-10 17:29:30 +02:00
9ec29cad30
fix: lint 2023-06-10 17:26:06 +02:00
11f94e4037
feat(reminders): make adding new reminders less confusing 2023-06-09 14:37:26 +02:00
95487d7569
feat(reminders): add proper time picker for relative dates 2023-06-09 13:19:47 +02:00
811254e6a9
wip: base review
(cherry picked from commit 3bb64f078cf333f174d247dc404355f2c8437cfd)
2023-05-31 16:25:33 +02:00
14e2698833
feat: edit relative reminders 2023-05-31 16:25:32 +02:00
0d6c0c8399
chore; extract code to reminder-period.vue 2023-05-31 16:25:32 +02:00
5d38b8327f
feat: allow to edit existing relative reminders 2023-05-31 16:25:32 +02:00
f747d5b2fc
feat: Use new Reminders API instead of reminder_dates 2023-05-31 16:25:30 +02:00
Dominik Pschenitschni
db8b8812af feat: use v-model more consequent (#2356)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#2356
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-09-13 15:30:33 +00:00
c9e85cb52b
feat: improve types 2022-09-05 17:38:37 +02:00
af630d3b8c
chore: improve type imports 2022-09-05 16:37:36 +02:00
cdb63b578d
chore: use the <dropdown> and <dropdown-item> components everywhere
Resolves vikunja/frontend#2176
2022-07-20 17:08:58 +02:00
ab7bf7d8f9
fix: datepicker button color and spacing for overdue dates 2022-07-11 16:41:08 +02:00
3b9bc5b2f8 feat: use BaseButton where easily possible
This replaces links with BaseButton components. BaseButton will use `<button type="button">` inside for this case. This improves accessibility a lot. Also we might be able to remove the `.stop` modifiers in some places because AFAIK the button element stops propagation by default.
2022-07-06 21:07:26 +00:00
44dc8983c8
fix: direct state mutation when adding another reminder to a task 2022-05-15 22:19:29 +02:00
Dominik Pschenitschni
0a89e8dc6b feat: task reminders script setup (#1934)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1934
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
2022-05-14 14:49:53 +00:00
Dominik Pschenitschni
53c669b108 chore: add some types (#1790)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/frontend#1790
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-04-10 18:56:14 +00:00
ba9f69344a
feat: use defineComponent wrapper 2022-04-02 17:16:57 +02:00
a3329f1b42
feat: add lang ts to script block 2022-04-02 17:15:46 +02:00
46fa43d67f Migrate to bulma-css-variables and introduce dark mode (#954)
Co-authored-by: Adrian Simmons <adrian@perlucida.co.uk>
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#954
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Reviewed-by: konrad <k@knt.li>
Co-authored-by: adrinux <adrian@perlucida.co.uk>
Co-committed-by: adrinux <adrian@perlucida.co.uk>
2021-11-22 21:12:54 +00:00
87d2b4fed3
fix: use :deep() selector instead of ::v-deep 2021-10-25 16:39:34 +02:00
370186726a
feat: merge reminders.scss with component styles 2021-10-25 16:39:32 +02:00
51a740f53c
fix: use vue3 v-model bindings
see: https://v3.vuejs.org/guide/migration/v-model.html
2021-10-01 18:45:42 +02:00
a08306d612 Add vite (#416)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#416
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-25 13:27:15 +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
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
da1d34789d
Get rid of the null reminder to fix jumping inputs when updating reminders 2020-10-24 18:12:14 +02:00
a8a7f70a3c
Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00
3c07c6e8c0 Hide UI elements if the user does not have the right to use them (#211)
Hide Team UI elements if the user does not have the rights to use them

Fix replacing the right saved in the model when updating

Hide UI-Elements on task if the user does not have the rights to use them

Hide UI-Elements on gantt if the user does not have the rights to use them

Hide UI-Elements on kanban if the user does not have rights to use them

Fix canWrite condition

Hide list components if the user has no right to write to the list

Add max right to model

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/frontend#211
2020-08-11 18:18:59 +00:00
fc4b9d439b
Restructure components 2020-06-17 22:15:59 +02:00