darenwelsh / summarytimeline Goto Github PK
View Code? Open in Web Editor NEWGenerate graphic representation of an EVA summary timeline
Generate graphic representation of an EVA summary timeline
Since the extension currently queries for the (current) values of several properties, it's not possible to view old versions of the timeline.
Add a warning banner if the Duration does not equal the sum of (at least one of) the actor task blocks. For example, if a user states an EVA is 6:30 but they put a total of 7:00 of tasks on EV1, the timeline will extend beyond the margins of the timeline container (and it just doesn't make sense).
Related to #4.
To copy/paste a timeline, the user currently has to "edit" the page and copy the entire wiki text. This isn't intuitive to someone using forms. Create a way to simply the process of copying an existing timeline to be modified as "version 2".
Ensure form has a field to assign a value to gray and verify gray is included in output key.
Propagate this value (and possibly others) from the timeline to each subobject (task block).
This will help in easier analysis.
Feature request: When hovering over a block in compact view, display the details.
See US EVA 16 (planned) Summary Timeline
. The use of a hyphen seems to be causing issues with the output.
Currently, the page name is generated upon initial save using the ST Title with "Summary Timeline" appended. If someone later revises the ST Title, the page name remains the same creating a disconnect between the ST Title and page name. Functionally, this doesn't cause any issues. The links all seem to work fine. But the problem is someone might get strange search results if the ST Title changes significantly.
Feature request: when you mouseover a block that doesn't display its title (e.g. it has a number like [4]), highlight the corresponding title in the footer.
Assess whether existing txt file for form is useful. Move these files to plain txt files and use edit.php instead of special:import.
Need to save new items first, then can open details. Probably Javascript for details show/hide function hasn't been applied to the show/hide button.
Decide to either automatically link to each task field entry or have a user-option (possibly as simple as informing them to use double-bracket wiki link format).
Add link to the footer feature. Currently it only outputs plain-text without the link.
Define all variables and run checks for empty arrays to eliminate errors and warnings. Reference this SO answer.
For example, instead of using PET (0 - 8 hours) one could have a wall clock schedule (8:00 - 16:00).
The first item in a list (ordered or unordered) is not formatting like the rest in the wiki. This might be due to white space and using trim may fix it.
In the color dropdowns in the summary timeline it's sometimes hard to remember what each color means. It'd be easier if the dropdowns updated so instead of it saying just "Blue" it said "Blue: Wet QD Ops".
Only expand the block that the user is working on.
If a task for EV1 and a task for EV2 must begin at the same time, we need a sync point. There are two ways to do this.
The first way is to add a field in the task form, asking for an identifier (a number? a text field?). Then if the same identifier is used between two actors, it'll form the table appropriately to display those two starting at the same time/height.
The second way is by inference based on PET and the duration of previous tasks. If two tasks start at the same PET, you may infer that the timeline author planned for the two actors to begin these tasks at the same time. While it may actually not be required that these events be in sync, it doesn't hurt to have them formatted as such in the detailed table output.
Use the following to update Template:Actor 2 Task (and 1 and 3). This adds Property:PET Start, which helps determine an inferred sync point, except for the last task in the timeline. Because the get-ahead time is calculated outside of this by the parser function, the final task for each actor will not pick up a sync point using this method. I'm not sure just yet how to handle that part.
<noinclude>
This template is used with the Summary Timeline form.
[[Category:Template Used for Summary Timeline Extension]]
</noinclude><includeonly><!--
-->{{#vardefine:Index|{{#counter: Actor2 }}}}<!--
-->{{#ifeq: {{#var:Index}}|1|{{#vardefine:PET|0}}|}}<!--
-->{{#set_internal:Task
|Index={{#var:Index}}
|Actor={{#var:Actor2name}}
|Has text title={{{Title|}}}
|Assigned to#list=Actor2
|Duration={{{Duration hour|00}}}:{{{Duration minute|00}}}
|Duration hour={{{Duration hour|00}}}
|Duration minute={{{Duration minute|00}}}
|Duration in minutes={{#expr: (({{{Duration hour|0}}} * 60) + {{{Duration minute|0}}}) }}
|Related article#list={{{Related article|}}}
|Color={{{Color|}}}
|Free text={{{Free text|}}}
|From page={{FULLPAGENAME}}
|EVA title={{#var:EVATitle}}
|Parent related article#list={{#var:pageRelatedArticle}}
|EVA Duration={{#var:EVADurationHour}}:{{#var:EVADurationMinute}}
|Color White Meaning={{#var:ColorWhiteMeaning}}
|Color Black Meaning={{#var:ColorBlackMeaning}}
|Color Gray Meaning={{#var:ColorGrayMeaning}}
|Color Red Meaning={{#var:ColorRedMeaning}}
|Color Orange Meaning={{#var:ColorOrangeMeaning}}
|Color Yellow Meaning={{#var:ColorYellowMeaning}}
|Color Blue Meaning={{#var:ColorBlueMeaning}}
|Color Green Meaning={{#var:ColorGreenMeaning}}
|Color Pink Meaning={{#var:ColorPinkMeaning}}
|Color Purple Meaning={{#var:ColorPurpleMeaning}}
|PET Start={{#expr:0+{{#var:PET}}}}
}}<!--
-->{{#vardefine:PET|{{#expr:{{#var:PET}}+{{#expr: (({{{Duration hour|0}}} * 60) + {{{Duration minute|0}}}) }}}}}}</includeonly>
Currently, the tool requires the EVA duration to be specified or uses the default of 6:30. An option should be allowed to not specify EVA duration. Instead, the tool would calculate the duration based on the sum of all tasks.
Currently all blocks in the form are gray. It'd be great if somehow a blue task was indicated as being blue. Doing background color on the whole block may be a bit overwhelming, but perhaps an outline, or a solid line along the left edge that's ~6px wide or so.
Incorporate this into the Summary Timeline Form for fields "Depends on" and "Related Articles" and also in template for Actor Tasks Related articles fields (and update git repo)
{{{field|Related article|input type=text with autocomplete|list|values from namespace=Main|class=full-width no-links-allowed|placeholder=Related articles}}}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.