blob: 6a341e37c688fe3ea25f58abc95da15af1fb98cf (
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
51
52
53
54
55
56
57
58
59
|
Surgery Log
===========
# Notes
- Location of `user://`: `~/.local/share/godot/app_userdata/`.
# ToDo
- [x] Datepicker: On click (without drag) reset velocity to 0; show and focus 'input' to allow introducing value.
- [x] Selecting last (year?)/month/day and de-selecting it, moves value to next;
- [x] Solve how entries are shared across db_screen and stage_screen;
- [x] Remove db_entry;
- [x] Rename db script/node to database;
- [x] scrolling down on the database screen jumps to the end of the list immediatelly;
- [x] edited entry does not show updated once saved;
- [x] edited entry shows updated when selected then press back button;
- [x] load/store database CSV file;
- [x] export database to CSV file;
- [x] allow to reset database;
- [x] split touch logic from database (create TouchItemList);
- [ ] split touch logic from stage (create TouchVerticalContainer);
- [ ] load/store filters CSV file;
- [ ] import/export filters to CSV file;
- [ ] Implement file access permission check on Android:
```py
if OS.get_name() == "Android":
var has_permissions := false
while not has_permissions:
var permissions := Array(OS.get_granted_permissions())
if not permissions.has("android.permission.READ_EXTERNAL_STORAGE") \
or not permissions.has("android.permission.WRITE_EXTERNAL_STORAGE"):
OS.request_permissions()
# await get_tree().create_timer(1).timeout
yield(get_tree().create_timer(1), "timeout") # - for Godot 3 branch
else:
has_permissions = true
```
- [ ] add auto-fill buttons on stage screen:
- should show a pop-up with multiple options filtered according to current filters;
- allow options to be scrolled by dragging;
- selecting option puts that text on the associated LineEdit;
- [ ] on stage screen: if a LineEdit is has text, it's "Clear Button Enabled" is set and the auto-entry-button should become smaller to allow more text to be visible;
- [ ] fix back button:
- on stage screen should show pop-up asking it changes are to be discarded;
- on file-pickers screen should close them;
- on about screen should close it;
- on auto-fill pop-up, should close it;
- on database screen, should deselect selected item, otherwise should quit the app;
- [ ] add pop-up asking if changes are to be discarded once the stage screen's discard button is pressed;
- [ ] add pop-up confirming delete-entry action; (pressing back should cancel the action);
- [ ] edit and delete action buttons should be faded-out when no entry is selected;
- [ ] Share DB:
- share db via html email with db inserted in encoded downliadable field;
- Use this to send email: https://docs.godotengine.org/en/stable/classes/class_os.html#class-os-method-shell-open
- [ ] Translations:
- https://docs.godotengine.org/en/stable/getting_started/workflow/assets/importing_translations.html
- https://docs.godotengine.org/en/stable/tutorials/i18n/internationalizing_games.html#introduction
- [ ] Create two themes:
- [ ] theme_light
- [ ] theme_dark
|