-
Notifications
You must be signed in to change notification settings - Fork 174
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
Improve navigation parameters reference #847
Improve navigation parameters reference #847
Conversation
There are some question marks if a property is required or not. Also type is sometimes not clear. One developer should replace these question marks with the correct values. |
0eaf49d
to
3d5ef6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Looks nice! 👍 Regarding required fields, if we might want to have them, we can turn default values to required.
|
||
### showMainAppEntry | ||
- **type**: array | ||
- **description**: includes the link to the root of the Luigi application in the drop-down using the **title** specified in the **settings/header** section of the configuration as a label. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this only as a boolean type. Might we would need to check it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to Pete: "if it is set to true then in the app switcher dropdown an entry is shown that points to the app root, and the title of the entry is the title of the app (that is why we only need a boolean here)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Looks nice! 👍 Regarding required fields, if we might want to have them, we can turn default values to required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can also now add 'TabNav'
-> see https://github.com/SAP/luigi/blob/master/docs/navigation-parameters-reference.md
Co-Authored-By: Zarko Simic <[email protected]>
Co-Authored-By: Zarko Simic <[email protected]>
Co-Authored-By: Zarko Simic <[email protected]>
Co-Authored-By: Zarko Simic <[email protected]>
bd918be
to
a27f606
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments :)
|
||
This code sample demonstrates a sample structure with the parameters you can use when configuring navigation for Luigi. | ||
You can use properties and functions in this reference to configure your Luigi navigation structure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use properties and functions in this reference to configure your Luigi navigation structure. | |
Use properties and functions in this reference to configure your Luigi navigation structure. |
You can
is also good, use
is a bit more direct I'd say.
|
||
|
||
## Routing properties | ||
You can configure the way Luigi tackles routing in your application in the `routing:` section of the configuration file. For example, you can choose the routing strategy to apply in your application as either hash or path location routing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, for example, the you can
fits better :)
|
||
### nodeParamPrefix | ||
- **type**: string | ||
- **description**: sets the prefix character when using the `LuigiClient.linkManager().withParam()` function, which provides a simple way to attach query parameters to a view URL for activities such as sorting and filtering. The default character is `~`, but you may also define a custom one. Only this prefix can pass query parameters to micro frontends. A different prefix has to be used to pass parameters to the Luigi app itself in order to avoid potential conflicts between the two. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **description**: sets the prefix character when using the `LuigiClient.linkManager().withParam()` function, which provides a simple way to attach query parameters to a view URL for activities such as sorting and filtering. The default character is `~`, but you may also define a custom one. Only this prefix can pass query parameters to micro frontends. A different prefix has to be used to pass parameters to the Luigi app itself in order to avoid potential conflicts between the two. | |
- **description**: sets the prefix character when using the `LuigiClient.linkManager().withParam()` function, which provides a simple way to attach query parameters to a view URL for activities such as sorting and filtering. The default character is `~`, but you may also define a custom one. Only this prefix can pass query parameters to micro frontends. A different prefix has to be used to pass parameters to the Luigi app itself to avoid potential conflicts between the two. |
|
||
### items | ||
- **type**: array | ||
- **description**: defines the list of apps. App element attributes are described below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apps or applications? I'm fine with either one of them, just asking :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the name appSwitcher, app stands for application. So applications is better, I think :)
Co-Authored-By: Barbara Szwarc <[email protected]>
Description
Changes proposed in this pull request:
Related issue(s)
Epic #766