Repository navigation
[#610][3] Add All Anchor IDs and All Steps of Tutorial And Style Change - #661
Conversation
|
@bobbyfine this screenshot is too old. Can we use a screenshot of the latest UI? |
This is the latest master branch UI |
|
@avinash0161 and @zuozhiw : can you look into it? I believe even the current master has a different UI than what is shown here. |
Move the button to the top left in order to prevent blocking by window which happened on low resolution monitor
…ut the issue encountered when testing tourService API
…der to the html, even adding the placeholders cannot test tourService.next() and prev()
…x the bug of running texera UI on firefox and microsoft edge, remove test cases that will be moved to e2e testing later on
|
A couple of changes made:
|
| position: relative; | ||
| z-index: 11; | ||
| background-color:#fff | ||
| #NextButton { |
There was a problem hiding this comment.
for the ID of an element, the prev-button naming convention rather than PrevButton is used. furthermore, a prefix is needed for the ID, this ID is too common and has a high chance of duplicate ID from a third party library.
Also for CSS, class is preferred than ID.
I'll directly make the change since it's simple.
zuozhiw
left a comment
There was a problem hiding this comment.
@henrychen0220 already approved it and I also approve this PR. Thanks for the work @bobbyfine 👍
| </center> | ||
| <br> | ||
| <p> | ||
| Texera is a system to support cloud-based text analytics using declarative and GUI-based workflows. Use <b>« Prev</b> and |
There was a problem hiding this comment.
Replace and with '/'. i.e Prev/Next or Left/Right
| `, | ||
| title: 'Select Operator', | ||
| placement: 'right', | ||
| preventScrolling: true |
There was a problem hiding this comment.
If we make preventScrolling: false, will the overall size of the tutorial box reduce? If yes, then maybe we can see the workspace and drag properly.
There was a problem hiding this comment.
the "preventScrolling" is meant to prevent the whole page automatically scrolling with the tour in some long web pages
| { | ||
| anchorId: 'texera-operator-panel', | ||
| content: ` | ||
| <p>This <b>Operator Panel</b> contains all the operators we need. </p> |
There was a problem hiding this comment.
This Operator Panel contains all the operators you need to construct a workflow.
Let's create a basic twitter text analysis workflow to demonstrate the steps involved in creation of a workflow.
Open the first operator group named Source. This group contains all the operators needed to import a source dataset into a workflow.
| content: ` | ||
| <p>Drag <b>Source: Scan</b> operator and drop it to the workflow panel. </p> | ||
| <p><b>Source: Scan</b> is a operator that read records from a table one by one.</p> | ||
| <center><img src="../../../assets/Tutor_Intro_Drag_Srouce.gif" height="450" width="600"></center> |
There was a problem hiding this comment.
Drag the Source: Scan operator and drop it on the workflow panel.
Source: Scan operator reads records one by one from a table.
| <p>This is the operator editor area where users can set the properties of the operator. </p> | ||
| <p>Now we want to edit the property of <b>Source: Scan</b> operator by typing <b>twitter_sample</b> | ||
| , which specifies the data we want to use.</p> | ||
| <center><img src="../../../assets/Tutor_Property_Sample.gif" height="260" width="500"></center> |
There was a problem hiding this comment.
This is the property editor panel where users can set the properties of an operator.
Now, we want to edit the input table property of Source: Scan operator and set it to twitter_sample table. Please type twitter_sample in the space for the input table property.
| anchorId: 'texera-operator-panel', | ||
| content: `<p>Now we want to view the results of selected data. Open <b>View Results</b> section.</p> | ||
| <center><img src="../../../assets/Tutor_OpenResult_Sample.gif" height="270" width="500"></center> | ||
| <br><br> |
There was a problem hiding this comment.
To view the output of a workflow, you need to end the workflow with a View Results operator. Please open the View Results section.
| content: ` | ||
| <p>Drag <b>View Results</b> operator and drop it to the workflow panel.</p> | ||
| <center><img src="../../../assets/Tutor_Intro_Drag_Result.gif" height="400" width="590"></center> | ||
| <br><br> |
There was a problem hiding this comment.
Drag View Results operator and drop it on the workflow panel.
| anchorId: 'texera-property-editor-grid-container', | ||
| content: ` | ||
| <p>Connect those two operators.</p><center> | ||
| <img src="../../../assets/Tutor_JointJS_Sample.gif" height="150" width="500"></center> |
There was a problem hiding this comment.
Connect the Source:Scan and the View Results operators.
| anchorId: 'texera-workspace-navigation-run', | ||
| content: ` | ||
| <p>Click the run button to execute the workflow.</p> | ||
| `, |
There was a problem hiding this comment.
Click the Run button to execute the workflow.
| anchorId: 'texera-result-view-grid-container', | ||
| content: ` | ||
| <p>You can view the results here.</p> | ||
| `, |
There was a problem hiding this comment.
You can view the results in the Results Panel here.
| <center><h3>Congratulations!</h3></center> | ||
| <p>You have finished the basic tutorial. </p> | ||
| <p>There are many other operators you can use to form a workflow.</p> | ||
| <center><img src="../../../assets/Tutor_End_Sample.gif" height="335" width="640"></center> |
There was a problem hiding this comment.
You have finished the basic tutorial.
There are many other operators that you can use to form a workflow.
avinash0161
left a comment
There was a problem hiding this comment.
I have suggested some text changes in the comments.
fix the wording problem according to the PR comments


The goal of this PR is to create all necessary Anchor IDs and add all necessary tutorial steps and polish the CSS file.
The library we use to achieve this goal is ngx-tour
The software I use to create the Gifs is called GIPHY Capture
The final goal of PR [#610] is to implement a tutorial into new GUI.