Ticket #2402 (closed feature: obsolete)
auto-actions-improvements - See the wiki page in the ticket
Reported by: | todor | Owned by: | tanya |
---|---|---|---|
Priority: | major | Milestone: | X3 |
Component: | uncategorized | Version: | 2.0 |
Keywords: | Cc: | ||
Category: | unknown | Effort: | |
Importance: | Ticket_group: | ||
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | todor | Design_owners: | tanya |
Imp._owners: | tanya | Test_owners: | |
Analysis_reviewers: | tanya | Changelog: | Changelog |
Design_reviewers: | meddle | Imp._reviewers: | meddle, todor |
Test_reviewers: | Analysis_score: | 3 | |
Design_score: | 4 | Imp._score: | 4.5 |
Test_score: | 0 |
Description
Attachments
Change History
comment:1 Changed 15 years ago by todor
- Owner set to todor
- Status changed from new to s1a_analysis_started
comment:2 Changed 15 years ago by todor
- Status changed from s1a_analysis_started to s1b_analysis_finished
comment:3 Changed 15 years ago by tanya
- Status changed from s1b_analysis_finished to s1c_analysis_ok
- Analysis_score changed from 0 to 3
The analysis is not very detailed, but i think i got the idea.
comment:4 Changed 15 years ago by tanya
- Owner changed from todor to tanya
- Status changed from s1c_analysis_ok to s2a_design_started
comment:5 Changed 15 years ago by tanya
Each AutoAction will be created this way
new AutoAction(Message.create(KEY, Object...parameters), boolean significant)
parameters is a list of Objects and are the parameters for the KEY
KEY is a public final static String field. It will be equal or similar to the english version of the description of the AutoAction. Using the KEY, the description of the AutoAction will be skinned.
Class Message is created in org.sophie2.base.skins module in org.sophie2.base.skins package.
Message object has a method getText() that returns the description of the message. getText() returns string that depends on the current skin and is formated with String.format according the parameters.
comment:6 Changed 15 years ago by tanya
- Design_owners set to tanya
- Status changed from s2a_design_started to s2b_design_finished
comment:7 Changed 15 years ago by meddle
- Status changed from s2b_design_finished to s2c_design_ok
- Design_score changed from 0 to 4
- Design_reviewers set to meddle
- In the AppearanceHud key names as FRAME_SOMETHING are wrong, the messages are about all kind of elements, not just frames; Fix them. May be up to now, the messages were wrong too... So fix them and the JavaDoc as well.
- In the ForgottenPasswordHandler you should import the Message class properly and not like this : new AutoAction(org.sophie2.base.skins.Message.create(CHANGE_PASS), true)
- Message must be persistable, in other words to have immutable kind in the @Immutable annotation and a persister.
- But you updated the ChangePersister, test working with the server, it could be possible that it is working, or you will have to modify that persister, instead of writing new.
- Try uploading older book on the server, test for backward compatibility.
- When you write asserts write messages to them, that way errors are tracked easier. See Message class.
- Very good design for that task, the code is great documented as well
4p
comment:8 Changed 15 years ago by tanya
- Status changed from s2c_design_ok to s3a_implementation_started
comment:10 Changed 15 years ago by tanya
- Status changed from s3a_implementation_started to s3b_implementation_finished
comment:11 Changed 15 years ago by meddle
- Status changed from s3b_implementation_finished to s3c_implementation_ok
- Imp._score changed from 0 to 4.5
- Analysis_reviewers set to tanya
- Imp._reviewers set to meddle, todor
comment:12 Changed 13 years ago by meddle
- Status changed from s3c_implementation_ok to closed
- Resolution set to obsolete
Closing all the tickets before M Y1