Skip to content

Set refresh: 0 by default in custom templates#113

Merged
albertyw merged 1 commit intouber:masterfrom
garkhipov:tpl-custom-refresh-0
Aug 27, 2025
Merged

Set refresh: 0 by default in custom templates#113
albertyw merged 1 commit intouber:masterfrom
garkhipov:tpl-custom-refresh-0

Conversation

@garkhipov
Copy link
Copy Markdown
Contributor

@garkhipov garkhipov commented Aug 25, 2025

Setting refresh to 1 by default (#87) was found to break other dashboards relying on static variable options. Changing to 0.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Aug 25, 2025

CLA assistant check
All committers have signed the CLA.

Comment thread test/templates/custom.js
});
assert.equal(customWithAllValue.state.includeAll, true);
assert.deepEqual(customTemplate.state.current, {});
assert.deepEqual(customWithAllValue.state.current, {});
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were presumably a copy-paste error in the original change.

@albertyw albertyw self-requested a review August 26, 2025 08:17
Copy link
Copy Markdown
Member

@albertyw albertyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes should be ok but can you rebase this PR to get a passing build?

@garkhipov garkhipov force-pushed the tpl-custom-refresh-0 branch from 18c028b to eaf19c2 Compare August 26, 2025 17:12
@garkhipov
Copy link
Copy Markdown
Contributor Author

Rebased, all green 👍

@albertyw albertyw merged commit bf7ffd2 into uber:master Aug 27, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants