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

Improvement/2149 documentation access from the ui #2176

Merged

Conversation

ChengYanJin
Copy link
Contributor

@ChengYanJin ChengYanJin commented Jan 6, 2020

Component: ui, doc

Context:
We would like to access the doc from UI.

Summary:

  • Add the documentation entry point from the Navbar
  • Add the link in the volume creation page
  • Change the icon in clusterMonistering page ( question icon => infomation icon)
  • Fix bugs for create volume list

Acceptance criteria:
Add the link in the volume creation page and add the documentation entry point from the Navbar:

image

  • should pass the cypress test:
    ./node_modules/cypress/bin/cypress run -b chrome -s cypress/integration/AccessDocumentation.feature

Closes: #2149

The integration branch in 2.5 is:
w/2.5/improvement/2149-documentation-access-from-the-UI

@ChengYanJin ChengYanJin added topic:docs Documentation topic:ui UI-related issues labels Jan 6, 2020
@ChengYanJin ChengYanJin requested a review from a team as a code owner January 6, 2020 15:52
@bert-e
Copy link
Contributor

bert-e commented Jan 6, 2020

Hello chengyanjin,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Jan 6, 2020

Conflict

A conflict has been raised during the creation of
integration branch w/2.5/improvement/2149-documentation-access-from-the-UI with contents from improvement/2149-documentation-access-from-the-UI
and development/2.5.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.5/improvement/2149-documentation-access-from-the-UI origin/development/2.5
 $ git merge origin/improvement/2149-documentation-access-from-the-UI
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.5/improvement/2149-documentation-access-from-the-UI

@ChengYanJin ChengYanJin force-pushed the improvement/2149-documentation-access-from-the-UI branch from a384e91 to 4beacab Compare January 6, 2020 15:58
@bert-e
Copy link
Contributor

bert-e commented Jan 6, 2020

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@ChengYanJin ChengYanJin force-pushed the improvement/2149-documentation-access-from-the-UI branch from 4beacab to e42f51b Compare January 7, 2020 09:20
@bert-e
Copy link
Contributor

bert-e commented Jan 7, 2020

History mismatch

Merge commit #bb1e6074de5eae475d7c965682ffc9a269acd77f on the integration branch
w/2.5/improvement/2149-documentation-access-from-the-UI is merging a branch which is neither the current
branch improvement/2149-documentation-access-from-the-UI nor the development branch
development/2.5.

It is likely due to a rebase of the branch improvement/2149-documentation-access-from-the-UI and the
merge is not possible until all related w/* branches are deleted or updated.

Please use the reset command to have me reinitialize these branches.

@ChengYanJin
Copy link
Contributor Author

/reset

@bert-e
Copy link
Contributor

bert-e commented Jan 7, 2020

Reset complete

I have successfully deleted this pull request's integration branches.

@bert-e
Copy link
Contributor

bert-e commented Jan 7, 2020

Conflict

A conflict has been raised during the creation of
integration branch w/2.5/improvement/2149-documentation-access-from-the-UI with contents from improvement/2149-documentation-access-from-the-UI
and development/2.5.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.5/improvement/2149-documentation-access-from-the-UI origin/development/2.5
 $ git merge origin/improvement/2149-documentation-access-from-the-UI
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.5/improvement/2149-documentation-access-from-the-UI

@bert-e
Copy link
Contributor

bert-e commented Jan 7, 2020

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

@ChengYanJin ChengYanJin force-pushed the improvement/2149-documentation-access-from-the-UI branch from e42f51b to 5213adb Compare January 7, 2020 17:12
@bert-e
Copy link
Contributor

bert-e commented Jan 7, 2020

History mismatch

Merge commit #2888830e6c798cd865817e27ce88ec068443e0d9 on the integration branch
w/2.5/improvement/2149-documentation-access-from-the-UI is merging a branch which is neither the current
branch improvement/2149-documentation-access-from-the-UI nor the development branch
development/2.5.

It is likely due to a rebase of the branch improvement/2149-documentation-access-from-the-UI and the
merge is not possible until all related w/* branches are deleted or updated.

Please use the reset command to have me reinitialize these branches.

@ChengYanJin ChengYanJin force-pushed the improvement/2149-documentation-access-from-the-UI branch 2 times, most recently from 169a223 to 592c7f7 Compare January 8, 2020 08:47
@ChengYanJin
Copy link
Contributor Author

/reset

@bert-e
Copy link
Contributor

bert-e commented Jan 8, 2020

Reset complete

I have successfully deleted this pull request's integration branches.

@bert-e
Copy link
Contributor

bert-e commented Jan 8, 2020

Conflict

A conflict has been raised during the creation of
integration branch w/2.5/improvement/2149-documentation-access-from-the-UI with contents from improvement/2149-documentation-access-from-the-UI
and development/2.5.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.5/improvement/2149-documentation-access-from-the-UI origin/development/2.5
 $ git merge origin/improvement/2149-documentation-access-from-the-UI
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.5/improvement/2149-documentation-access-from-the-UI

@@ -222,7 +222,7 @@ const ClusterMonitoring = props => {
</TooltipContent>
}
>
<QuestionMarkIcon className="fas fa-question-circle" />
<QuestionMarkIcon className="fas fa-info-circle" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR (and can't be fixed here, I supposed it's coming from core-ui), but the naming seems poor to me: we call QuestionMarkIcon something that's not always a question mark icon…

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to change the name QuestionMarkIcon to InformationMarkIcon, my bad.
Sure, it's not related to this PR, but it's a tiny change in order to keep the consistency for the icons.
And just FYI, the icon we import directly from the font-awsome library ;)

Copy link
Contributor

@gdemonet gdemonet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, will test soon :)

@ChengYanJin ChengYanJin force-pushed the improvement/2149-documentation-access-from-the-UI branch from 592c7f7 to 1342a01 Compare January 8, 2020 14:38
@bert-e
Copy link
Contributor

bert-e commented Jan 14, 2020

Reset complete

I have successfully deleted this pull request's integration branches.

The following options are set: create_pull_requests

@bert-e
Copy link
Contributor

bert-e commented Jan 14, 2020

Conflict

A conflict has been raised during the creation of
integration branch w/2.5/improvement/2149-documentation-access-from-the-UI with contents from improvement/2149-documentation-access-from-the-UI
and development/2.5.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.5/improvement/2149-documentation-access-from-the-UI origin/development/2.5
 $ git merge origin/improvement/2149-documentation-access-from-the-UI
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.5/improvement/2149-documentation-access-from-the-UI

The following options are set: create_pull_requests

@ChengYanJin
Copy link
Contributor Author

/status

@bert-e
Copy link
Contributor

bert-e commented Jan 14, 2020

Status

Status report is not available.

The following options are set: create_pull_requests

@bert-e
Copy link
Contributor

bert-e commented Jan 14, 2020

Integration data created

I have created the integration data for the additional destination branches.

The following branches will NOT be impacted:

  • development/1.0
  • development/1.1
  • development/1.2
  • development/1.3
  • development/2.0
  • development/2.1
  • development/2.2
  • development/2.3

Follow integration pull requests if you would like to be notified of
build statuses by email.

The following options are set: create_pull_requests

@bert-e
Copy link
Contributor

bert-e commented Jan 14, 2020

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

The following options are set: create_pull_requests

gdemonet
gdemonet previously approved these changes Jan 14, 2020
Copy link
Contributor

@gdemonet gdemonet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

- We can access the docs from navbar->help->documentaion
- When there is no storage class, access the storage class creation
  doc from Banner
- Add a question mark icon next to the storage class

Refs: #2149
…splay

- the bug was imported by adding the <TooltipContent> style

Refs: #2149
We want to keep the consistency of the icon.
since we already have quesion icon in the navbar, it should be better we use another icon.
@bert-e
Copy link
Contributor

bert-e commented Jan 15, 2020

History mismatch

Merge commit #98b9555192a785020db5d0d1a03f5a3954181740 on the integration branch
w/2.5/improvement/2149-documentation-access-from-the-UI is merging a branch which is neither the current
branch improvement/2149-documentation-access-from-the-UI nor the development branch
development/2.5.

It is likely due to a rebase of the branch improvement/2149-documentation-access-from-the-UI and the
merge is not possible until all related w/* branches are deleted or updated.

Please use the reset command to have me reinitialize these branches.

The following options are set: create_pull_requests

@ChengYanJin
Copy link
Contributor Author

/reset

@bert-e
Copy link
Contributor

bert-e commented Jan 16, 2020

Reset complete

I have successfully deleted this pull request's integration branches.

The following options are set: create_pull_requests

@bert-e
Copy link
Contributor

bert-e commented Jan 16, 2020

Conflict

A conflict has been raised during the creation of
integration branch w/2.5/improvement/2149-documentation-access-from-the-UI with contents from improvement/2149-documentation-access-from-the-UI
and development/2.5.

I have not created the integration branch.

Here are the steps to resolve this conflict:

 $ git fetch
 $ git checkout -B w/2.5/improvement/2149-documentation-access-from-the-UI origin/development/2.5
 $ git merge origin/improvement/2149-documentation-access-from-the-UI
 $ # <intense conflict resolution>
 $ git commit
 $ git push -u origin w/2.5/improvement/2149-documentation-access-from-the-UI

The following options are set: create_pull_requests

@bert-e
Copy link
Contributor

bert-e commented Jan 16, 2020

Integration data created

I have created the integration data for the additional destination branches.

The following branches will NOT be impacted:

  • development/1.0
  • development/1.1
  • development/1.2
  • development/1.3
  • development/2.0
  • development/2.1
  • development/2.2
  • development/2.3

Follow integration pull requests if you would like to be notified of
build statuses by email.

The following options are set: create_pull_requests

@bert-e
Copy link
Contributor

bert-e commented Jan 16, 2020

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • one peer

Peer approvals must include at least 1 approval from the following list:

The following options are set: create_pull_requests

@ChengYanJin
Copy link
Contributor Author

/approve

@bert-e
Copy link
Contributor

bert-e commented Jan 17, 2020

In the queue

The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.

The changeset will be merged in:

  • ✔️ development/2.4

  • ✔️ development/2.5

The following branches will NOT be impacted:

  • development/1.0
  • development/1.1
  • development/1.2
  • development/1.3
  • development/2.0
  • development/2.1
  • development/2.2
  • development/2.3

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.

IMPORTANT

Please do not attempt to modify this pull request.

  • Any commit you add on the source branch will trigger a new cycle after the
    current queue is merged.
  • Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.

The following options are set: create_pull_requests, approve

@bert-e
Copy link
Contributor

bert-e commented Jan 18, 2020

I have successfully merged the changeset of this pull request
into targetted development branches:

  • ✔️ development/2.4

  • ✔️ development/2.5

The following branches have NOT changed:

  • development/1.0
  • development/1.1
  • development/1.2
  • development/1.3
  • development/2.0
  • development/2.1
  • development/2.2
  • development/2.3

Please check the status of the associated issue None.

Goodbye chengyanjin.

@bert-e bert-e merged commit 5d51fd9 into development/2.4 Jan 18, 2020
@bert-e bert-e deleted the improvement/2149-documentation-access-from-the-UI branch January 18, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:docs Documentation topic:ui UI-related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation Access from the UI
4 participants