Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] New user guidance optimization #1077

Closed
2 tasks done
wxyn opened this issue Jul 10, 2023 · 1 comment
Closed
2 tasks done

[Feature] New user guidance optimization #1077

wxyn opened this issue Jul 10, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@wxyn
Copy link
Contributor

wxyn commented Jul 10, 2023

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Problem Description

No response

Description

Pop up prompt for new users entering Scriptis

  1. When the user has not completed initialization, enter Scriptis and a pop-up window saying 'User has not completed initialization' will appear. The previous error message in the upper right corner still exists (an error message indicating that the root directory of the user's local workspace does not exist), and [View Application Guidelines] is associated with the document of the user's bill of lading in the knowledge base.
    image

  2. After completing initialization, the user enters Scriptis. If the user enters the Scriptis page for the first time, a pop-up window displaying usage instructions will be displayed for the user. If the user is not logged in for the first time, the pop-up window will no longer be displayed for the user.
    image

Popup display logic sorting:
Real name user scenario:
Real name user has not completed initialization ->Display incomplete initialization pop-up, do not display usage guidance pop-up
Real name user completes initialization and enters Scriptis for the first time ->Display usage guide pop-up window
Real name user has completed initialization and is not the first time entering Scriptis ->Do not display pop-up window
Proxy User Scenario:
Proxy user has not completed initialization ->Display incomplete initialization pop-up, do not display usage guidance pop-up
Proxy user completes initialization and real name user enters Scriptis for the first time ->Display usage guide pop-up window
Proxy user has completed initialization and real name user is not the first time entering Scriptis ->Do not display pop-up window

interactive
If the user has not completed initialization, a pop-up window will pop up for the user every time they enter
If the user has completed initialization, click on 'I understand' and the upper right corner“ ×”, You can close the pop-up window and click 'Quick Use Scriptis' to open the Scriptis usage guide document on a new page.
image

Script type display optimization
Sql -> Spark Sql
Hive -> Hive Sql
Psql -> Presto Sql
Tsql -> Trino Sql
Flink -> Flink Sql
Scala -> Spark Scala
The other script types not listed are unchanged
image

Use case

No response

solutions

Once in scriptis, trigger the backend interface to get the current user's stage.

If it is uninited, the current user has not completed the initialization, and the user initialization guide is displayed.

If it is new, the user is new, but initialization has been completed, and scriptis quick Guide popup.

If it is senior, it indicates that the user is an old user, and no popup window is displayed.

image

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@wxyn wxyn added the enhancement New feature or request label Jul 10, 2023
@zqburde zqburde added this to To do in DataSphereStudio1.1.2 via automation Aug 9, 2023
@zqburde
Copy link
Contributor

zqburde commented Aug 9, 2023

Add it in DSS1.1.2

@zqburde zqburde moved this from To do to Done in DataSphereStudio1.1.2 Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants