Mercurial > getan
annotate TODO @ 444:08b61b78285d
TODO: add multi-selection Bug report.
author | Magnus Schieder <mschieder@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 13:07:35 +0100 |
parents | dc79952b36b0 |
children | 2f8162d50612 |
rev | line source |
---|---|
444
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
1 20180117 Magnus Schieder |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
2 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
3 20170317 BER: Reproduce and then fix a defect that it is surprising which |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
4 entries are moved by `m` or deleted by 'd'. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
5 It probably has to do how multi-selection are handled. Maybe they |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
6 are not cleared properly at the end of an operation. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
7 One description: It happens when you have changed a lot of entries |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
8 from different projects (I assume), e.g. by editing the description, |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
9 the length or timedate and then use move where you intend to only move |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
10 one, the unwanted result is several moved entries. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
11 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
12 Update: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
13 getan 2.1 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
14 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
15 Creating a new database with test data: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
16 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
17 1) Delete getan_test_data.db if it already exists to create a new database. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
18 2) Execute getan_test_data.py to get the test database getan_test_data.db. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
19 (getan/test_data/getan_test_data.py) |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
20 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
21 - Bug 1.0 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
22 2) Open getan with the test database. (getan /path/getan_test_data.db) |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
23 3) Switch to the entries from the project pro1 with tab. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
24 4) Mark with return and arrow keys ent1 and ent2. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
25 5) Go back to the projects with tab. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
26 6) Switch back to the entries of project pro1. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
27 7) Mark this time ent3 and ent4. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
28 8) Press m, then 3 and then y to move ent3 and ent4 to pro3. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
29 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
30 Expectation: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
31 ent3 and ent4 are moved to pro3. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
32 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
33 Result: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
34 ent1, ent2, ent3 and ent4 were moved to pro3. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
35 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
36 - Bug 1.1 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
37 Execute 1) to 7) from 1.0. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
38 8) Press d to delete ent3 and ent4. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
39 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
40 Expectation: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
41 ent3 and ent4 are deleted. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
42 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
43 Result: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
44 ent1, en2, ent3 and ent4 are deleted. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
45 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
46 - Bug2 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
47 Execute 1) to 4) from 1.0. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
48 5) Press m. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
49 6) Now also mark ent3 and pro ent4. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
50 7) Press 3 and then y to move ent1, ent2, ent3 and ent4 to pro3. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
51 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
52 Expectation: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
53 After pressing m, you can not mark additional entries. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
54 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
55 Result: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
56 Only ent1 and ent2 are moved, though all are selected. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
57 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
58 |
440
f441913a5cdc
TODO: adds task for displaying of licensing info.
Bernhard Reiter <bernhard@intevation.de>
parents:
439
diff
changeset
|
59 20180104 BER (minor) Display licensing information with --version and |
f441913a5cdc
TODO: adds task for displaying of licensing info.
Bernhard Reiter <bernhard@intevation.de>
parents:
439
diff
changeset
|
60 usage. Implementation idea: change this when moving away from optparse. |
f441913a5cdc
TODO: adds task for displaying of licensing info.
Bernhard Reiter <bernhard@intevation.de>
parents:
439
diff
changeset
|
61 |
437 | 62 20170709 BER: Give scripts/getan-eval.py a more specific name and add |
63 it as a script to be installed. | |
64 | |
428
7adc6cd9d23a
TODO: Adds point to move off optparse.
Bernhard Reiter <bernhard@intevation.de>
parents:
423
diff
changeset
|
65 20170529 BER: Python compatibility: switch from deprecated optparse module |
7adc6cd9d23a
TODO: Adds point to move off optparse.
Bernhard Reiter <bernhard@intevation.de>
parents:
423
diff
changeset
|
66 to argparse. Affects getan/main.py and scripts/getan-eval.py. |
7adc6cd9d23a
TODO: Adds point to move off optparse.
Bernhard Reiter <bernhard@intevation.de>
parents:
423
diff
changeset
|
67 |
423
a517c1b5f3d5
TODO: adds logfile config idea.
Bernhard Reiter <bernhard@intevation.de>
parents:
413
diff
changeset
|
68 20170504 BER: Some multi-user installations do not want a logfile by default. |
a517c1b5f3d5
TODO: adds logfile config idea.
Bernhard Reiter <bernhard@intevation.de>
parents:
413
diff
changeset
|
69 We could solve this requirement by making it configurable. |
a517c1b5f3d5
TODO: adds logfile config idea.
Bernhard Reiter <bernhard@intevation.de>
parents:
413
diff
changeset
|
70 |
440
f441913a5cdc
TODO: adds task for displaying of licensing info.
Bernhard Reiter <bernhard@intevation.de>
parents:
439
diff
changeset
|
71 20160912 BER: Better code: states.py: classes EditEntryState and |
400
527168c08ae4
Added possibility to move starting datetime of entries.
Bernhard Reiter <bernhard@intevation.de>
parents:
399
diff
changeset
|
72 AdjustEntryState have same methods exit() and set_focus(), maybe join them? |
399
67dc21692bfa
Added a TODO item.
Bernhard Reiter <bernhard@intevation.de>
parents:
398
diff
changeset
|
73 |
398
5f557bd2cfe0
Scanning for workpackage string is now closer to what zeitvertexung does.
Bernhard Reiter <bernhard@intevation.de>
parents:
397
diff
changeset
|
74 Older: |
5f557bd2cfe0
Scanning for workpackage string is now closer to what zeitvertexung does.
Bernhard Reiter <bernhard@intevation.de>
parents:
397
diff
changeset
|
75 |
23
9c4e8ba3c4fa
Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
0
diff
changeset
|
76 - Create a 'Help-Widget' to give the user an information about all possible |
9c4e8ba3c4fa
Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
0
diff
changeset
|
77 keys. |
35
cfa9e755a5d2
Added TODO item (mainly to try the new commit list)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
23
diff
changeset
|
78 |
cfa9e755a5d2
Added TODO item (mainly to try the new commit list)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
23
diff
changeset
|
79 - reimplement RPN input for current getan implementation (28489e672e61) |
295
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
80 |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
81 - The sum of previous times and currently running time should be displayed as |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
82 in previous versions of getan. |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
83 |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
84 - The currently running time should be shown near the project. |