aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: ddd7ed30cea04ea06aad03817fb931ec28ce36aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Getting started

```bash
nix develop --command cargo run
```

# Links

- gtk4-rs book: https://gtk-rs.org/gtk4-rs/git/book/
- gtk4-rs documentation: https://gtk-rs.org/gtk4-rs/stable/latest/docs/gtk4/
- Event-Driven GTK by Example — 2021 Edition: https://mmstick.github.io/gtkrs-tutorials/

# TODO

## Complexify event

Be able to specify repetition.

1. Modelize repetition.
2. Update the form.
3. Update the view.
4. Update a repetition event.

## API

1. Give DB path with CLI arg.
2. Get list of today’s events.

## Navigate around

1. Select previous week (up arrow, scrolling).
2. Select Next week (down arrow, scrolling).
3. Select the default focus.

## Categorize events

1. CRUD for list of types (name + color).
2. Show / hide depending on the type.

## Nice to have

- Drag & drop events.
- Show an indicator when a day can be scrolled vertically.
- Multi day events.
- Prevent to launch multiple instances.
- Show a date picker in dialog form.
- Apply a style on times in the calendar (bold ?).
- Print errors on forms when validating.
- Validate the form when pressing enter on any field
- Remove event with right click