Skip to content

Commit ee5d19c

Browse files
committed
chore: Progress
1 parent 5d87eca commit ee5d19c

File tree

9 files changed

+89
-23
lines changed

9 files changed

+89
-23
lines changed

doc/articles/controls/map-control-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ For the detailed procedure for Windows, please follow this link: https://msdn.mi
9898
+ Application type
9999
+ Hit *Create* and get the key
100100

101-
The key will be set as the value for the parameter _MapServiceToken_ for the MapControl object.
101+
The key will be set as the value for the parameter *MapServiceToken* for the MapControl object.
102102

103103
### Android
104104

@@ -119,7 +119,7 @@ The key will be set as the value for the parameter _MapServiceToken_ for the Map
119119

120120
**Note:** For apps in production we suggest restricting the keys to be used only by your Android app. This is possible by using the SHA-1 fingerprint of your app.
121121

122-
_For a detailed procedure on how to retrieve the SHA-1 fingerprint for your Android application, please follow this link: https://developers.google.com/maps/documentation/android-api/signup#release-cert_
122+
*For a detailed procedure on how to retrieve the SHA-1 fingerprint for your Android application, please follow this link: <https://developers.google.com/maps/documentation/android-api/signup#release-cert>*
123123

124124
## Configure your application
125125

doc/articles/features/web-authentication-broker.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ uid: Uno.Features.WAB
88

99
## Usage on WebAssembly
1010

11-
* The _redirect URI_ **MUST** be with the origin (protocol + hostname + port) of the application. It is not possible to use a custom scheme URI.
12-
* When using the `<iframe>` mode (see _advanced usages_ below), the server must allow for using CSP (Content Security Policy).
13-
* Default _redirect URI_ is `<origin>/authentication-callback`. For example `http://localhost:5000/authentication-callback`.
11+
* The *redirect URI* **MUST** be with the origin (protocol + hostname + port) of the application. It is not possible to use a custom scheme URI.
12+
* When using the `<iframe>` mode (see *advanced usages* below), the server must allow for using CSP (Content Security Policy).
13+
* Default *redirect URI* is `<origin>/authentication-callback`. For example `http://localhost:5000/authentication-callback`.
1414
* It is not possible for applications to clear cookies for the authentication server when this one is from another origin. The only way clear cookies is to deploy the app and the authentication server on the same site (sharing the same origin).
1515
* You can change the size and the initial title of the open window by setting corresponding settings in `WinRTFeatureConfiguration.WebAuthenticationBroker` .
1616

@@ -40,11 +40,11 @@ uid: Uno.Features.WAB
4040
}
4141
```
4242

43-
* To use the automatic discovery of the _redirect URI_, it is required to set the `IntentFilter` using the attributes like in the previous point. If you put it in the manifest, you'll need to set the URI using the `WinRTFeatureConfiguration.WebAuthenticationBroker.DefaultReturnUri` property.
43+
* To use the automatic discovery of the *redirect URI*, it is required to set the `IntentFilter` using the attributes like in the previous point. If you put it in the manifest, you'll need to set the URI using the `WinRTFeatureConfiguration.WebAuthenticationBroker.DefaultReturnUri` property.
4444

45-
* Default _redirect URI_ will be `<scheme>:/authentication-callback`. Ex: `my-app-auth:/authentication-callback`
45+
* Default *redirect URI* will be `<scheme>:/authentication-callback`. Ex: `my-app-auth:/authentication-callback`
4646

47-
* The default implementation of the `WebAuthenticationBroker` on Android will launch the system browser and the result will come back through the custom scheme of the _Return Uri_. The _AndroidX Chrome Custom Tabs_ may also be used. _Advanced_ section below contains instructions about this.
47+
* The default implementation of the `WebAuthenticationBroker` on Android will launch the system browser and the result will come back through the custom scheme of the *Return Uri*. The *AndroidX Chrome Custom Tabs* may also be used. *Advanced* section below contains instructions about this.
4848

4949
## Advanced Usages
5050

@@ -121,4 +121,4 @@ On WebAssembly, it is possible to use an in-application `<iframe>` instead of op
121121
NOTES:
122122

123123
* The IFrame control should be present in the visual tree or the user won't see it.
124-
* If you want to use a _silent_ `<iframe>`, you don't need to create a control, you can simply use the `WebAuthenticationOptions.SilentMode` as the first parameter to `WebAuthenticationBroker.AuthenticateAsync()`.
124+
* If you want to use a *silent* `<iframe>`, you don't need to create a control, you can simply use the `WebAuthenticationOptions.SilentMode` as the first parameter to `WebAuthenticationBroker.AuthenticateAsync()`.

doc/articles/guides/open-id-connect.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This article will document the usage of `IdentityModel.OidcClient` into an Uno a
1818

1919
## Demo Endpoint
2020

21-
This code uses the _IdentityServer_ demonstration endpoint with the following parameters:
21+
This code uses the *IdentityServer* demonstration endpoint with the following parameters:
2222

2323
| Field | Value |
2424
| --------- | ----------------------------------------- |
@@ -37,7 +37,7 @@ For platforms supporting it, the custom protocol "oidc-auth:" will be used.
3737

3838
## Step 1 - Add Reference to OidcClient package
3939

40-
Add the package [`IdentityModel.OidcClient`](https://www.nuget.org/packages/IdentityModel.OidcClient) to all relevant _head_ projects of the solution.
40+
Add the package [`IdentityModel.OidcClient`](https://www.nuget.org/packages/IdentityModel.OidcClient) to all relevant *head* projects of the solution.
4141

4242
## Step 2 - Prepare for Return Uri
4343

@@ -80,7 +80,7 @@ Add the `oidc-auth:` custom scheme in `Info.plist` file.
8080
</array>
8181
```
8282

83-
Alternatively, you can use the editor integrated in Visual Studio to set it, in the _advanced_ tab:
83+
Alternatively, you can use the editor integrated in Visual Studio to set it, in the *advanced* tab:
8484

8585
![Return Url in iOS](../Assets/features/authenticationbroker/return-url-editor.png)
8686

@@ -90,7 +90,7 @@ There's nothing special for UWP. Any return Uri will work. You can force it to
9090

9191
**WebAssembly**
9292

93-
There's nothing special for WASM. The default _return Uri_ of the platform (`WebAuthenticationBroker.GetCurrentApplicationCallbackUri()`) will work with this sample and will default to `<origin>/authentication-callback`. It should be something like `http://localhost:5000/authentication-callback` when running locally using Kestrel.
93+
There's nothing special for WASM. The default *return Uri* of the platform (`WebAuthenticationBroker.GetCurrentApplicationCallbackUri()`) will work with this sample and will default to `<origin>/authentication-callback`. It should be something like `http://localhost:5000/authentication-callback` when running locally using Kestrel.
9494

9595
## Step 3 - Prepare the UI
9696

@@ -218,7 +218,7 @@ private async void SignOut_Clicked(object sender, RoutedEventArgs e)
218218

219219
**IMPORTANT FOR WEBASSEMBLY**
220220

221-
On WebAssembly, it's important to configure the linker to prevent the removal of some important part of the _OIDC Connect_ client library:
221+
On WebAssembly, it's important to configure the linker to prevent the removal of some important part of the *OIDC Connect* client library:
222222

223223
`LinkerConfig.xml`:
224224

doc/articles/guides/silverlight-migration/12-migrate-auth-ui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ Let's walk through the implementation.
260260

261261
> [!TIP]
262262
> As noted in the Microsoft documentation:
263-
> _If your data does not undergo fine-grained changes, and if it's likely to be updated as part of a specific action, then you can make your bindings one-time, and force a manual update at any time with a call to **Update**._
263+
> *If your data does not undergo fine-grained changes, and if it's likely to be updated as part of a specific action, then you can make your bindings one-time, and force a manual update at any time with a call to **Update**.*
264264

265265
1. To add support for the login when the **OK** (or Primary) button is clicked, update the **ContentDialog_PrimaryButtonClick** method as follows:
266266

doc/articles/interop/MSAL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To use MSAL into an Uno project, follow the following steps:
2727
.Build();
2828
```
2929

30-
4. Where you are using the _Interactive_ mode (`_app.AcquireTokenInteractive`), add another call to `.WithUnoHelpers()` like this:
30+
4. Where you are using the *Interactive* mode (`_app.AcquireTokenInteractive`), add another call to `.WithUnoHelpers()` like this:
3131

3232
``` csharp
3333
var authResult = await _app.AcquireTokenInteractive(scopes)
@@ -71,9 +71,9 @@ Particularities for WASM:
7171
>
7272
> You'll also need to register addresses for the other environments and adjust the code to use the right IDs & URIs. The redirect Uri must always be on the same hostname & port or otherwise it won't work.
7373
74-
* Optionally, a file in the Wasm project `wwwroot/authentication/login-callback.htm` with empty content (you could display a message like « _Please wait while the authentication process completes_ » for slower browsers).
74+
* Optionally, a file in the Wasm project `wwwroot/authentication/login-callback.htm` with empty content (you could display a message like « *Please wait while the authentication process completes* » for slower browsers).
7575

76-
* Token cache is _in-memory_ for now­. The library is not persisting the token anywhere in the browser yet. The app can save it.
76+
* Token cache is *in-memory* for now­. The library is not persisting the token anywhere in the browser yet. The app can save it.
7777

7878
## Other things
7979

doc/articles/interop/wasm-javascript-1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Uno fully embraces HTML5 as its display backend when targeting WebAssembly (WASM
1818

1919
In the HTML world, everything running in the browser is assets that must be downloaded from a server. To integrate existing JavaScript frameworks, they can be either download those from another location on the Internet (usually from a CDN service) or embed and deployed with the app.
2020

21-
The Uno Bootstrapper can automatically embed any asset and deploy them with the app. Some of them (CSS & JavaScript) can also be loaded with the app. Here's how to declare them in a _Uno Wasm_ project:
21+
The Uno Bootstrapper can automatically embed any asset and deploy them with the app. Some of them (CSS & JavaScript) can also be loaded with the app. Here's how to declare them in a *Uno Wasm* project:
2222

2323
1. **JavaScript files** should be in the `WasmScripts` folder: they will be copied to the output folder and loaded automatically by the bootstrapper when the page loads. **They must be marked with the `EmbeddedResources` build action**:
2424

@@ -30,7 +30,7 @@ The Uno Bootstrapper can automatically embed any asset and deploy them with the
3030
</ItemGroup>
3131
```
3232

33-
2. **CSS Style files** should be in the `WasmCSS` folder: they will be copied to the output folder and referenced in the _HTML head_ of the application. **They must be marked with the `EmbeddedResources` build action**.
33+
2. **CSS Style files** should be in the `WasmCSS` folder: they will be copied to the output folder and referenced in the *HTML head* of the application. **They must be marked with the `EmbeddedResources` build action**.
3434

3535
``` xml
3636
<!-- .csproj file -->

doc/articles/supported-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ uid: Uno.Development.SupportedFeatures
6363

6464
### Responsive Design
6565

66-
- Layout constraints [Min/Max][Width/Height]
66+
- Layout constraints \[Min/Max][Width/Height]
6767
- Binding SourceTriggers (TextBox immediate vs. focus lost interactions)
6868
- DependencyProperty Inheritance (Color, text style propagation)
6969

doc/articles/uno-development/listviewbase-internals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Before reading it, you should first read the documentation of [ListViewBase aime
1212

1313
`ListViewBase` is the base class of `ListView` and `GridView`. The remainder of the article will refer to 'ListView', the more commonly used of the two derived controls, for ease of reading, but most of the information is applicable to `GridView` as well since a large part of the implementation is shared.
1414

15-
`ListView` is a specialized type of [`ItemsControl`](https://docs.microsoft.com/uwp/api/windows.ui.xaml.controls.itemscontrol) designed for showing large numbers of items. `ListView` is by default _virtualized_, meaning that it only materializes view containers for those items which are visible or about to be visible within the scroll viewport. When items disappear from view, their containers are _recycled_ and reused for newly appearing views. Correctly-functioning virtualization is the key to good scroll performance.
15+
`ListView` is a specialized type of [`ItemsControl`](https://docs.microsoft.com/uwp/api/windows.ui.xaml.controls.itemscontrol) designed for showing large numbers of items. `ListView` is by default *virtualized*, meaning that it only materializes view containers for those items which are visible or about to be visible within the scroll viewport. When items disappear from view, their containers are *recycled* and reused for newly appearing views. Correctly-functioning virtualization is the key to good scroll performance.
1616

1717
Other important features of `ListView`:
1818

@@ -73,7 +73,7 @@ The 'life cycle' of view creation and positioning of the `ListView` largely take
7373
1. `UpdateLayout()` => `UnfillLayout()`. `UnfillLayout()` takes a direction, and trims materialized item containers that are not visible starting from the **opposite** direction. So to take the example above: `UnfillLayout()` would start with item 0, and see that it lies entirely outside the viewport (`-20 < 0`), so it would dematerialize it, returning it to the recycler to be reused. It would then consider item 1, see that it is partially visible (`60 > 0`), and terminate at that point. `UnfillLayout()` is particularly important during scrolling (see below).
7474
2. List is arranged.
7575
1. Android framework => `VirtualizingPanelLayout.OnLayoutChildren()` => `VirtualizingPanelLayout.UpdateLayout()`.
76-
2. `UpdateLayout()` does _not_ call `ScrapLayout()` from within the arrange pass. This is because item dimensions should not have changed since the measure. It does however call `FillLayout()` and `UnfillLayout()` again. This is because the dimensions available to the list itself _might_ be different from the ones it was measured with.
76+
2. `UpdateLayout()` does *not* call `ScrapLayout()` from within the arrange pass. This is because item dimensions should not have changed since the measure. It does however call `FillLayout()` and `UnfillLayout()` again. This is because the dimensions available to the list itself *might* be different from the ones it was measured with.
7777
3. List is scrolled.
7878
1. Android framework => `VirtualizingPanelLayout.ScrollVerticallyBy()` (or `ScrollHorizontallyBy()`).
7979
1. `ScrollVerticallyBy()` => `ScrollBy()`.

package-lock.json

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)