| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=HOT_TEXT_REDESIGN_R4, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] |
| 4 | |
| 5 | = Analysis = |
| 6 | The purpose of this task is to clarify text internals related to indexing of positions and the text history. |
| 7 | |
| 8 | == Overview == |
| 9 | * Problems and difficulties of the current implementation of text |
| 10 | * Indexing |
| 11 | * Calculation of the indexes of HotPoses takes place in ImmHotText. |
| 12 | * This makes ImmHotText responsible for too many functionality. |
| 13 | * Text History (needed again for indexing) |
| 14 | * Each ImmHotText refers to its previous and holds the last operation by which it has be created. |
| 15 | * This is too complex and makes the history hard to save. |
| 16 | * The history is not persisted at the moment, but it would be needed for tasks including server interactions and real-time collaboration. |
| 17 | * The text classes are not well separated into packages (useless packages, etc.). |
| 18 | |
| 19 | == Task requirements == |
| 20 | * Extraction of most of the responsibities for indexing calculations from ImmHotText. |
| 21 | * History representation simplifications. |
| 22 | * History persistence (optional). |
| 23 | * Appropriate package split of text classes. |
| 24 | |
| 25 | == Task result == |
| 26 | * The result of this task is source code. |
| 27 | |
| 28 | == Implementation idea == |
| 29 | * Move indexing responsibility to HotPos. |
| 30 | * Represent text history as a list of operations. |
| 31 | * This will make history persistence easier. |
| 32 | * Remove useless packages (such as the smart package). |
| 33 | |
| 34 | == Related == |
| 35 | * [wiki:HOT_TEXT_REDESIGN_R0] |
| 36 | * [wiki:HOT_TEXT_REDESIGN_R1] |
| 37 | * [wiki:HOT_TEXT_REDESIGN_R2] |
| 38 | * [wiki:HOT_TEXT_REDESIGN_R3] |
| 39 | |
| 40 | == How to demo == |
| 41 | |
| 42 | = Design = |
| 43 | ^(Describe your design here.)^ |
| 44 | |
| 45 | = Implementation = |
| 46 | ^(Describe and link the implementation results here (from the wiki or the repository).)^ |
| 47 | |
| 48 | = Testing = |
| 49 | ^(Place the testing results here.)^ |
| 50 | |
| 51 | = Comments = |
| 52 | ^(Write comments for this or later revisions here.) |