Skip to content

fix: communicate fixed listing filters on tree and hardware (#1924)#1955

Open
mentonin wants to merge 4 commits into
kernelci:mainfrom
profusion:georg/1924
Open

fix: communicate fixed listing filters on tree and hardware (#1924)#1955
mentonin wants to merge 4 commits into
kernelci:mainfrom
profusion:georg/1924

Conversation

@mentonin

Copy link
Copy Markdown
Contributor

Description

Removes unnecessary time filtering from /trees and add label to indicate time filtering to /hardware.

Related Issues

@mentonin mentonin changed the title fix: communicate fixed listing filters on tree and hardware (#1924)#2 fix: communicate fixed listing filters on tree and hardware (#1924) Jun 24, 2026
mentonin added 2 commits June 24, 2026 19:03
This filter was filtering very little in practice,
and querying every lastest checkout is very cheap.

Signed-off-by: Luiz Georg <luiz.georg@profusion.mobi>
…1924)

Closes: kernelci#1924

Signed-off-by: Luiz Georg <luiz.georg@profusion.mobi>
@mentonin

Copy link
Copy Markdown
Contributor Author

@alanpeixinho ready for review

@alanpeixinho alanpeixinho added the Frontend Most or all of the changes for this issue will be in the frontend code. label Jun 25, 2026
Comment thread dashboard/src/utils/constants/general.ts Outdated

@alanpeixinho alanpeixinho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice job

import type { JSX } from 'react';
import { FormattedMessage } from 'react-intl';

export function FilterLabel({ days }: { days: number }): JSX.Element {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it worth to add a new component, just for a a formatted message?

mentonin added 2 commits June 26, 2026 12:43
this change was out of scope and requires further investigation

Signed-off-by: Luiz Georg <luiz.georg@profusion.mobi>
…rnelci#1924)

feat: add a label to indicate hidden filtering filtering (kernelci#1924)

Closes: kernelci#1924

Signed-off-by: Luiz Georg <luiz.georg@profusion.mobi>
@mentonin mentonin requested a review from alanpeixinho June 26, 2026 16:34
data-test-id="hardware-filter-label"
>
<FormattedMessage
id="hardwareListing.latestCheckoutFilterLabel"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

especially now, that we are adding this component on tree listing, the hardwareListing prefix might make us believe this component is only used in hardware page.

Comment thread dashboard/src/utils/constants/general.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Frontend Most or all of the changes for this issue will be in the frontend code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show "filtered timedelta" in the tree-list

2 participants