-
Notifications
You must be signed in to change notification settings - Fork 0
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
Introduce support for new parameters #9
Conversation
src/cadenza.js
Outdated
@@ -165,6 +172,8 @@ export class CadenzaClient { | |||
* @param {GlobalId} [options.highlightGlobalId] - The ID of an item to highlight / expand in the navigator | |||
* @param {string} [options.mediaType] - Set to 'application/pdf' for views of type "JasperReports report" | |||
* to show the report PDF directly, without any Cadenza headers or footers. | |||
* @param {string} [options.operationMode] - Whether to enable simplified operation mode |
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.
Proposal: Use a type for the operation mode, too.
/** @typedef {'normal' | 'simplified'} WorkbookOperationMode - The mode in which a workbook should be operated */
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.
Done :)
src/cadenza.js
Outdated
* | ||
* _Note:_ Supported features are: | ||
* * 'workbook-design' - Disable the designer | ||
* * 'workbook-view-management' - Disable workbook layout/design editing |
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.
Maybe add the hint from the sprint review? "Is included in 'workbook-design'."
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 :)
"operationMode" and "disabledUiFeatures".