Skip to content

Conversation

@svdimitr
Copy link
Contributor

@svdimitr svdimitr commented Oct 25, 2022

@svdimitr svdimitr requested review from a team and Stamo-Gochev October 25, 2022 13:01
@svdimitr svdimitr self-assigned this Oct 25, 2022
@svdimitr svdimitr requested a review from a team October 25, 2022 13:01
@dimodi dimodi self-requested a review October 27, 2022 08:51

| Parameter | Type and Default Value | Description |
| --- | --- | --- |
| `AriaDescribedBy` | `string` | Maps to the `area-describedby` attribute. Use this parameter to establish a relationship between widgets or groups and the text that describes them. |
Copy link
Contributor

@dimodi dimodi Oct 27, 2022

Choose a reason for hiding this comment

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

Start directly with what the parameter represents. The exception are bool parameters. By the way, what is "groups"?

Suggested change
| `AriaDescribedBy` | `string` | Maps to the `area-describedby` attribute. Use this parameter to establish a relationship between widgets or groups and the text that describes them. |
| `AriaDescribedBy` | `string` | The `area-describedby` attribute. Use this parameter to establish a relationship between widgets or groups and the text that describes them. |

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@dimodi dimodi Oct 28, 2022

Choose a reason for hiding this comment

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

In such cases, it may be better to just link the generic external docs and not deal with unclear content on our side. We will assume that whoever wants to use the parameter will know what it does.

| `PopupScale` | `double` | The `Width` and `Height` of the component will be multiplied by the value of the `PopupScale` when maximizing (`Maximizable="true"`) the Blazor Signature. |
| `ReadOnly` | `bool` | Maps to the `readonly` attribute. Use this parameter to put the Signature in read-only state. |
| `Smooth` | `bool` | Use this parameter to smoothen the signature line. |
| `StrokeWidth` | `double?` | Set the width of the signature line. |
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this signature line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

when drawing a signature a line is rendered. Ideally, I would like to call it a stroke, but we can't explain a parameter by its name. What if people are not aware of what a stroke is?

I agree it's not optimal, but I could not come up with a better word.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see. In this case consider "the drawn lines' thickness in pixels"

Copy link
Contributor

@dimodi dimodi left a comment

Choose a reason for hiding this comment

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

  • Explain the purpose of the two parts of the component.
  • Include SignalR message size change in the basic steps.
  • Some suggestions are applicable for other places in the content as well (for example parameter descriptions, usage of floats).

Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
svdimitr and others added 8 commits October 27, 2022 15:31
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
svdimitr and others added 2 commits October 31, 2022 09:36
Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
@svdimitr svdimitr merged commit d5c5848 into master Oct 31, 2022
@github-actions github-actions bot deleted the signature-component-docs branch October 31, 2022 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants