-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add docs for widget container height option #27922
Conversation
|
||
- `default_widget_container_height` | ||
|
||
This controls the height that the top widget panel initially appears as and is the height in pixels, default 280. |
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.
This doesn't match the value in the config sample, is the default 280
or 280px
?
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.
Oops, good spot, thanks
@@ -22,6 +22,7 @@ | |||
"https://scalar-staging.vector.im/api", | |||
"https://scalar-staging.riot.im/scalar/api" | |||
], | |||
"default_widget_height": 280, |
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.
This key seems to have the wrong name, since the documentation and implementation both use default_widget_container_height
instead.
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.
oh, good spot, although the correct way to report these is by filing bugs. In general, people won't be looking at old, closed PRs unless they happen to see it in notifications.
See matrix-org/matrix-react-sdk#12893
Checklist
public
/exported
symbols have accurate TSDoc documentation.