mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
UX-2323: Link Guideline, preview image bug fixed, small text changes
This commit is contained in:
parent
1f3d76cee4
commit
a27db5fb02
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
@ -35,7 +35,7 @@ Use a regular link for navigation between pages of the same window.
|
||||
|
||||
Use an external link for navigation to web resources. See below for the [external link icon](#external-link-icon).
|
||||
|
||||
{width=706}
|
||||
{width=706}
|
||||
|
||||
### Secondary actions in packed UI areas
|
||||
|
||||
@ -143,7 +143,7 @@ Add an ellipsis to a button-link if it opens another UI area where input is poss
|
||||
|
||||
#### Wording
|
||||
|
||||
Do not use words like "navigate" or "click here". A link already implies navigation or clicking.
|
||||
Do not use words like <code>navigate</code> or <code>click here</code>. A link already implies navigation or clicking.
|
||||
|
||||
<table style="none" border="false">
|
||||
<tr>
|
||||
@ -173,7 +173,7 @@ Do not use words like "navigate" or "click here". A link already implies navigat
|
||||
|
||||
#### Make it informative
|
||||
|
||||
When possible, replace "Learn more" and other generic phrases with more informative ones.
|
||||
When possible, replace <code>Learn more</code> and other generic phrases with more informative ones.
|
||||
|
||||
<table style="none" border="false">
|
||||
<tr>
|
||||
@ -215,7 +215,9 @@ Add the arrow icon for an external link. The icon shows that the user will switc
|
||||
|
||||
{width=706}
|
||||
|
||||
<tabs group="languages">
|
||||
<chapter title="Implementation" collapsible="true">
|
||||
|
||||
<tabs group="languages">
|
||||
<tab title="Kotlin" group-key="kotlin">
|
||||
|
||||
```kotlin
|
||||
@ -236,7 +238,9 @@ Add the arrow icon for an external link. The icon shows that the user will switc
|
||||
externalLink.setExternalLinkIcon();
|
||||
```
|
||||
</tab>
|
||||
</tabs>
|
||||
</tabs>
|
||||
|
||||
</chapter>
|
||||
|
||||
### Help icon
|
||||
|
||||
|
@ -66,7 +66,7 @@ Provide details, such as:
|
||||
|
||||
* A link to the language or framework docs explaining the correct usage of the syntax or feature, if applicable.
|
||||
|
||||
{width=520}
|
||||
{width=520}
|
||||
|
||||
* Two code samples: the code with a problem and the code that bypasses this problem. By comparing the good code and the bad code, users can work out what causes the problem and how to avoid it.
|
||||
For example, for <ui-path>Java | Probable bugs | 'equals()' called on array</ui-path> adding such an example helps to understand the inspection quicker:
|
||||
|
Loading…
x
Reference in New Issue
Block a user