-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(orga): add tooltip to evolution column header
- Loading branch information
1 parent
e95e555
commit 3476c7e
Showing
6 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
orga/app/components/campaign/results/participation-evolution-tooltip.gjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import PixIcon from '@1024pix/pix-ui/components/pix-icon'; | ||
import PixTooltip from '@1024pix/pix-ui/components/pix-tooltip'; | ||
import { t } from 'ember-intl'; | ||
|
||
<template> | ||
<PixTooltip @id="evolution-tooltip" @position="top" @isInline={{true}}> | ||
<:triggerElement> | ||
<PixIcon | ||
@name="help" | ||
@plainIcon={{true}} | ||
aria-label={{t "pages.campaign-results.table.evolution-tooltip.aria-label"}} | ||
aria-describedby="evolution-tooltip" | ||
/> | ||
</:triggerElement> | ||
|
||
<:tooltip> | ||
{{t "pages.campaign-results.table.evolution-tooltip.content"}} | ||
</:tooltip> | ||
|
||
</PixTooltip> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
orga/app/styles/components/campaign/results/assessment-list.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.assessment-list { | ||
&__evolution-header { | ||
display: flex; | ||
gap: var(--pix-spacing-1x);; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters