complete html5 reader
Complete html5 reader with all features of java reader, and same features in web and mobile versions. Includes editor support for popup links, and some author control over styles.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- teongleong
- Definition:
- New
- Series goal:
- Accepted for 2.2
- Implementation:
- Implemented
- Milestone target:
- 2.2a3
- Started by
- Alex Mitchell
- Completed by
- Alex Mitchell
Related branches
Related bugs
Sprints
Whiteboard
TODO list
(in the order I would tackle them)
[teongleong] (DONE) remove options button
[teongleong] file->properties
- (DONE) implement back button
- (DONE) enable/disable back button
[teongleong] file->properties, resize enable/disable, if no resize, then specify w and h (web only)
[teongleong] file->properties, page breaks enable/disable (mobile only)
[teongleong] file->properties, choose stylesheet - should also be able to add their own stylesheets (see Twine for reference)
- (DONE) framework for swapping stylesheet
[teongleong] (DONE)(alex specify UI) file->properties window:
Note: these properties should be saved with the current story file
- modal dialog box with ok/cancel button at the bottom
- tabbed panel
- first panel: "General"
- text entry: label: "Author"
- text entry: label: "Title"
- text entry: label: "Comments"
(not saved yet)
- second panel "Reader"
- label: "Style" (bold)
- radio button: label: "default" (initially checked) - the current stylesheet
- radio button: label: "fancy" - a fancy stylesheet
- radio button: label: "custom", text field (for filename), button "browse" - browse for the file
- label: "Controls" (bold)
- checkbox: label: "disable back button" (initially not checked)
- checkbox: label: "disable restart button" (initially not checked)
- label: "Web reader" (bold)
- checkbox: label: "disable resize" (initially not checked)
- text entry: label: "width" (enter width in pixels, default 600)
- text entry: label: "height" (enter height in pixels 400)
- label: "Mobile reader" (bold)
- checkbox: label: "disable page breaks" (initially not checked)
[teongleong] (DONE)(alex specify UI) popup links: web version (different style from normal links), java version (tooltips, note that code is mostly already there), and in editor:
- add new action "show in popup" [node list]
- destination node shows in a popup
- for destination node, node rules are applied, text substitutions are shown, but cannot follow links
- note that this is already implemented in the java reader, but is disabled
- show links differently in graph editor - dotted line for now
Work Items
Dependency tree
* Blueprints in grey have been implemented.