Skip to content

fix(date-range-filter): show a label instead of ? when range is not defined#1989

Open
dr-itz wants to merge 1 commit intomainfrom
fix/date-range-filter/select-range-label
Open

fix(date-range-filter): show a label instead of ? when range is not defined#1989
dr-itz wants to merge 1 commit intomainfrom
fix/date-range-filter/select-range-label

Conversation

@dr-itz
Copy link
Copy Markdown
Member

@dr-itz dr-itz commented Apr 30, 2026

@dr-itz dr-itz requested a review from panch1739 April 30, 2026 20:07
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a selectRangeLabel input to the SiDateRangeFilterComponent, enabling custom placeholder text when a date range is undefined. The templates are updated to use this label with text-secondary styling. Review feedback highlights that the translation key SI_DATE_RANGE_FILTER.SELECT_RANGE_Label violates the SCREAMING_SNAKE_CASE naming convention and contains a redundant suffix; suggestions were made to rename it to SI_DATE_RANGE_FILTER.SELECT_RANGE for consistency.

Comment thread projects/element-ng/translate/si-translatable-keys.interface.ts Outdated
@dr-itz dr-itz force-pushed the fix/date-range-filter/select-range-label branch from d3373a9 to df2725c Compare April 30, 2026 20:13
Copy link
Copy Markdown
Member

@panch1739 panch1739 left a comment

Choose a reason for hiding this comment

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

@dr-itz Sorry i missed this! I think this is what @Danisand requested :)

@dr-itz dr-itz marked this pull request as ready for review May 7, 2026 13:35
@dr-itz dr-itz requested review from a team as code owners May 7, 2026 13:35
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.

2 participants