Skip to content

Commit f828dfb

Browse files
authored
Merge pull request #768 from IT-Academy-BCN/feature232/Add-logic-to-manage-language-tags-slected-filters
PR 1/2 - feat(challenge-filters): add logic to manage language tags selected filters
2 parents 8682c1e + 40e4dc9 commit f828dfb

File tree

9 files changed

+324
-57
lines changed

9 files changed

+324
-57
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to
55
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
### [ita-challenges-frontend-3.32.0-RELEASE] - 2026-02-25
8+
9+
### Added
10+
- Functionality for filtering tags depending on the languages selected.
11+
712
### [ita-challenges-frontend-3.31.0-RELEASE] - 2026-02-19
813

914
### Added

conf/.env.CI.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
MICROSERVICE_DEPLOY=ita-challenges-frontend
2-
MICROSERVICE_VERSION=3.31.0-RELEASE
2+
MICROSERVICE_VERSION=3.32.0-RELEASE

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ita-challenges-frontend",
3-
"version": "3.31.0-RELEASE",
3+
"version": "3.32.0-RELEASE",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve --proxy-config proxy.conf.dev.json",

src/app/modules/starter/components/challenge-filters-trigger/challenge-filters-trigger.component.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,19 @@
8686
<legend class="h6 m-0 fw-bold">{{ 'modules.starter.challengeFiltersTrigger.tagsTitle' | translate }}</legend>
8787
<div class="d-flex gap-2"></div>
8888

89-
<div class="input-group">
90-
<span class="input-group-text bg-white" aria-hidden="true">
91-
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
92-
<circle cx="11" cy="11" r="7" />
93-
<path d="M20 20l-3.5-3.5" />
94-
</svg>
95-
</span>
96-
<input type="text" class="form-control" [placeholder]="('modules.starter.challengeFiltersTrigger.searchTagsPlaceholder' | translate)" />
89+
<div *ngFor="let group of displayTags">
90+
<strong>{{ group.language }}</strong>
91+
<div class="d-flex flex-wrap gap-2 mt-1 mb-2">
92+
<label *ngFor="let tag of group.tags" class="form-check">
93+
<input
94+
type="checkbox"
95+
class="form-check-input"
96+
[checked]="isTagSelected(tag.id_tag)"
97+
(change)="toggleTag(tag.id_tag)"
98+
/>
99+
{{ tag.tag_name }}
100+
</label>
101+
</div>
97102
</div>
98103
</fieldset>
99104

0 commit comments

Comments
 (0)