Mercurial > getan
annotate TODO @ 442:7125e67d5acb
dd getan testdata, add multi-selection Bug report.
* add /test_data/getan_test_data.py to create a new getan database
with test data.
* update report 20170317 BER. Add a guide to recreating the bug.
* TDOD: Fix the bug.
author | Magnus Schieder <mschieder@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 11:14:24 +0100 |
parents | f441913a5cdc |
children | dc79952b36b0 |
rev | line source |
---|---|
442
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
1 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
2 20180117 Magnus Schieder |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
3 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
4 20170317 BER: Reproduce and then fix a defect that it is surprising which |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
5 entries are moved by `m` or deleted by 'd'. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
6 It probably has to do how multi-selection are handled. Maybe they |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
7 are not cleared properly at the end of an operation. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
8 One description: It happens when you have changed a lot of entries |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
9 from different projects (I assume), e.g. by editing the description, |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
10 the length or timedate and then use move where you intend to only move |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
11 one, the unwanted result is several moved entries. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
12 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
13 Update: |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
14 getan 2.1 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
15 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
16 Creating a new database with test data: |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
17 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
18 1) Delete getan_test_data.db if it already exists to create a new database. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
19 2) Execute getan_test_data.py to get the test database getan_test_data.db. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
20 (getan/test_data/getan_test_data.py) |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
21 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
22 - Bug 1.0 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
23 2) Open getan with the test database. (getan /path/getan_test_data.db) |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
24 3) Switch to the entries from the project pro1 with tab. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
25 4) Mark with return and arrow keys ent1 and ent2. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
26 5) Go back to the projects with tab. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
27 6) Switch back to the entries of project pro1. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
28 7) Mark this time ent3 and ent4. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
29 8) Press m, then 3 and then y to move ent3 and ent4 to pro3. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
30 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
31 Expectation: |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
32 ent3 and ent4 are moved to pro3. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
33 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
34 Result: |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
35 ent1, ent2, ent3 and ent4 were moved to pro3. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
36 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
37 - Bug 1.1 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
38 Execute 1) to 7) from 1.0. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
39 8) Press d to delete ent3 and ent4. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
40 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
41 Expectation: |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
42 ent3 and ent4 are deleted. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
43 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
44 Result: |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
45 ent1, en2, ent3 and ent4 are deleted. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
46 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
47 - Bug2 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
48 Execute 1) to 4) from 1.0. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
49 5) Press m. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
50 6) Now also mark ent3 and pro ent4. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
51 7) Press 3 and then y to move ent1, ent2, ent3 and ent4 to pro3. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
52 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
53 Expectation: |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
54 After pressing m, you can not mark additional entries. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
55 |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
56 Result: |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
57 Only ent1 and ent2 are moved, though all are selected. |
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
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 |
442
7125e67d5acb
dd getan testdata, add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
440
diff
changeset
|
71 |
408
8ba4576e5381
TODO: added problem report for move.
Bernhard Reiter <bernhard@intevation.de>
parents:
400
diff
changeset
|
72 |
440
f441913a5cdc
TODO: adds task for displaying of licensing info.
Bernhard Reiter <bernhard@intevation.de>
parents:
439
diff
changeset
|
73 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
|
74 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
|
75 |
398
5f557bd2cfe0
Scanning for workpackage string is now closer to what zeitvertexung does.
Bernhard Reiter <bernhard@intevation.de>
parents:
397
diff
changeset
|
76 Older: |
5f557bd2cfe0
Scanning for workpackage string is now closer to what zeitvertexung does.
Bernhard Reiter <bernhard@intevation.de>
parents:
397
diff
changeset
|
77 |
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
|
78 - 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
|
79 keys. |
35
cfa9e755a5d2
Added TODO item (mainly to try the new commit list)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
23
diff
changeset
|
80 |
cfa9e755a5d2
Added TODO item (mainly to try the new commit list)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
23
diff
changeset
|
81 - reimplement RPN input for current getan implementation (28489e672e61) |
295
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
82 |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
83 - 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
|
84 in previous versions of getan. |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
85 |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
86 - The currently running time should be shown near the project. |