Make a few small improvements to configForms JS and CSS.
Review Request #14023 — Created July 11, 2024 and submitted — Latest diff uploaded
This change makes a few small improvements to our configForms frontend
code:
- The default styling for
<label>
elements has been updated to exclude
<label class="ink-c-button__label">
- Updated definitions for
onRender()
andonInitialRender()
to be
protected. This is more correct, and fixes warnings in code which
inherits from these. - Use
modelEvents
in the ListItemView instead of manually calling
listenTo
for everything.
- Ran js-tests.
- Used this with other code.
djblets/static/djblets/css/config-forms.less |
---|
djblets/static/djblets/js/configForms/views/listItemView.ts |
---|
djblets/static/djblets/js/configForms/views/listView.ts |
---|
djblets/static/djblets/js/configForms/views/pagesView.ts |
---|
djblets/static/djblets/js/configForms/views/tableView.ts |
---|