Mercurial > getan
annotate TODO @ 446:2f8162d50612
TODO: Adds observations to multiselection-defect.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 14:10:23 +0100 |
parents | 08b61b78285d |
children | ce70c76754e4 |
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 |
446
2f8162d50612
TODO: Adds observations to multiselection-defect.
Bernhard Reiter <bernhard@intevation.de>
parents:
444
diff
changeset
|
12 reproduced with getan 2.1 |
2f8162d50612
TODO: Adds observations to multiselection-defect.
Bernhard Reiter <bernhard@intevation.de>
parents:
444
diff
changeset
|
13 20180118BER Reproduced with urwid v1.3.0, python3.4.6, getan 2.2.dev1 r445 |
444
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. |
446
2f8162d50612
TODO: Adds observations to multiselection-defect.
Bernhard Reiter <bernhard@intevation.de>
parents:
444
diff
changeset
|
26 |
2f8162d50612
TODO: Adds observations to multiselection-defect.
Bernhard Reiter <bernhard@intevation.de>
parents:
444
diff
changeset
|
27 20180118BER: |
2f8162d50612
TODO: Adds observations to multiselection-defect.
Bernhard Reiter <bernhard@intevation.de>
parents:
444
diff
changeset
|
28 Observation: ent1 and ent2 are not highlighted anymore. |
2f8162d50612
TODO: Adds observations to multiselection-defect.
Bernhard Reiter <bernhard@intevation.de>
parents:
444
diff
changeset
|
29 |
444
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
30 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
|
31 7) Mark this time ent3 and ent4. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
32 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
|
33 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
34 Expectation: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
35 ent3 and ent4 are moved to pro3. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
36 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
37 Result: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
38 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
|
39 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
40 - Bug 1.1 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
41 Execute 1) to 7) from 1.0. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
42 8) Press d to delete ent3 and ent4. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
43 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
44 Expectation: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
45 ent3 and ent4 are deleted. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
46 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
47 Result: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
48 ent1, en2, ent3 and ent4 are deleted. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
49 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
50 - Bug2 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
51 Execute 1) to 4) from 1.0. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
52 5) Press m. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
53 6) Now also mark ent3 and pro ent4. |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
54 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
|
55 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
56 Expectation: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
57 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
|
58 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
59 Result: |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
60 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
|
61 |
08b61b78285d
TODO: add multi-selection Bug report.
Magnus Schieder <mschieder@intevation.de>
parents:
443
diff
changeset
|
62 |
440
f441913a5cdc
TODO: adds task for displaying of licensing info.
Bernhard Reiter <bernhard@intevation.de>
parents:
439
diff
changeset
|
63 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
|
64 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
|
65 |
437 | 66 20170709 BER: Give scripts/getan-eval.py a more specific name and add |
67 it as a script to be installed. | |
68 | |
428
7adc6cd9d23a
TODO: Adds point to move off optparse.
Bernhard Reiter <bernhard@intevation.de>
parents:
423
diff
changeset
|
69 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
|
70 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
|
71 |
423
a517c1b5f3d5
TODO: adds logfile config idea.
Bernhard Reiter <bernhard@intevation.de>
parents:
413
diff
changeset
|
72 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
|
73 We could solve this requirement by making it configurable. |
a517c1b5f3d5
TODO: adds logfile config idea.
Bernhard Reiter <bernhard@intevation.de>
parents:
413
diff
changeset
|
74 |
440
f441913a5cdc
TODO: adds task for displaying of licensing info.
Bernhard Reiter <bernhard@intevation.de>
parents:
439
diff
changeset
|
75 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
|
76 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
|
77 |
398
5f557bd2cfe0
Scanning for workpackage string is now closer to what zeitvertexung does.
Bernhard Reiter <bernhard@intevation.de>
parents:
397
diff
changeset
|
78 Older: |
5f557bd2cfe0
Scanning for workpackage string is now closer to what zeitvertexung does.
Bernhard Reiter <bernhard@intevation.de>
parents:
397
diff
changeset
|
79 |
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
|
80 - 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
|
81 keys. |
35
cfa9e755a5d2
Added TODO item (mainly to try the new commit list)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
23
diff
changeset
|
82 |
cfa9e755a5d2
Added TODO item (mainly to try the new commit list)
Thomas Arendsen Hein <thomas@intevation.de>
parents:
23
diff
changeset
|
83 - reimplement RPN input for current getan implementation (28489e672e61) |
295
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
84 |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
85 - 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
|
86 in previous versions of getan. |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
87 |
abfa55c7c2b2
added some todos
Thomas Arendsen Hein <thomas@intevation.de>
parents:
35
diff
changeset
|
88 - The currently running time should be shown near the project. |