Commit 8afdb47
Cds general stats on graph (#87)
* scaffolding old proj
* created new app in angular 21
* added new favicon + updated ReadMe + added license
* init routes + pages
* components pages
* created home route + component
* deleted app.html == useless
* feat(): added reset style cross-browser
* feat(): es lint enabled on run server
* feat(): init hero section
* feat(): added prefix for eslint error
* feat(): added logo svg to init animation
* fix(): app-root to opis-root
* lang it
* feat(): logo substitution
* feat(): letters logo animated
* format files post run
* feat(): animated grafic bars
* format(): logo + completed
* feat(): created env with node
* feat(): recreated original interfaces
* feat(): no env pushed
* feat(): init homepage
* feat(): mappati i dipartimenti per icone
* feat(): created palette + home btns adapted
* rename(): department page
* feat(): created card department
* new style years section
* feat(): add default icon
* feat(): added color palette for user selection
* feat(): styled departments section
* enh(): resource in service
* enh(): years section as component
* fix(): test all components import from vite (it, expect, describe)
* test(): implemented home test file
* formatted files
* fix(): info department saved on localStorage + fix(): detail url + feat(): added dep id
* feat(): department page logic implemented
* feat() deleted old_proj directory
* style(): title department page
* fix(): width of border title department
* changed palette
* feat(): added font
* feat(): init cds flow + added loader + delay
* feat(): created icon component
* feat(): style on cds list
* fix(): width list container
* feat(): scaffolding for sections, added directory and created cds selection component
* feat(): added fn that call both api cds schedeOpis and teachings
* feat(): ng add ng2-charts
* test(): cds-selection + department
* format with prettier
* test(): scaffolding for service testing
* feat(): added api questions
* feat(): init cds selected
* feat(): introduced statistics calculation for graph
* feat(): cache on api /domande
* formattati i files
* feat(): centralized duration animation of logo
* feat(): animation logo cached
* fix(): delay scroll and results
* feat(): update ReadMe with version node
* Update src/app/pages/home/home.html
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
* Update src/app/services/questions/questions.service.ts
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
* no imports logo-animated
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
* return type retrieveQuestions
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
* Update src/app/ui/sections/cds-selected-section/cds-selected-section.html
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
* Fixed version
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
* refactor: fixed versions
* refactor(cds-selected-section.ts + year-section.ts): added changeDetection + added return types on fns + access modifiers from public to protected
* refactor(department.ts): access modifiers from public to protected + return types on fns
* refactor(homepage.ts): changeDetection + access modifiers from public to protected
* refactor: added return type in fns in all services
* refactor(dep-card.ts): access modifiers from public to protected + return type on fns
* refactor(icon.ts): access modifiers from public to readonly
* refactor(logo-animated.ts): access modifiers + changeDetection + return type on fns + forEach to for-of
* refactor(loader.ts): added changeDetection
* fix(dep-card.ts): removed protected, added readonly on department input
* enh(graph.service.ts): used key from destructuring obj
* fix(department.ts): no empty obj as department interface, used null + controls on html + renaming as component
* refactor(department.ts): access modifier from public to protected for selectCds function
* refactor(department.ts): followed suggestion of access modifier on departmentData signal as a readonly
* refactor(home.ts): added readonly as suggestion on PR
* refactor(info.ts): name convention + changeDetection
* refactor: closing tag for components in home.html, department.html and dep-card.html
* feat: add rule on creating new component, changeDetection
* refactor: substitute enums with consts
* feat: add eslint rules, fix unit-tests, ignore some lint rules, we will fix them later...
* refactor: updating ReadMe with info of set-env
* refactor: ReadMe
* refactor: ReadMe
* format and lint applied
* feat: ci workflows
* fix: coverage for test
* fix: coverage for test
* scaffolding: created scripts folder
* feat: check coverage test in pipeline
* fix: deploy.yml workflow
* fix: no branch for lint.yml and tests.yml
* fix: coverage test from vitest.config file
* feat: logo svg on ReadME
* fix: img logo ReadMe
* fix: artifacts version for pipeline
* fix: type error for file environment
* fix: pipeline test
* fix: path absolute for environment.ts
* test: working thresholds limit
* test: working thresholds limit
* refactor(cds.service.ts): extraction schedules in a side function
* enh: renaming file type deps-name
* refactor(cds.service.ts): grouped schede by a side function, feat: completed calculations for CDS Stats all years
* feat: example graph working
* feat: format data for CDS stats general
* feat: cds general stats working on line chart
* format: run command
* fix(graph.ts): lint error template
* feat: build + deploy pipeline
* fix: missing return type on graph component
* enh: created type for Record means per year + added type on map colors
* enh: no cast as AcademicYear thanks to util that help to have typed data from record value
* fix: test job
* format: npm run format
* fix: lint errors on cds-selection.spec
* fix: ordered jobs in pipeline
* fix: workflows
* fix: uses alternative method to order workflow on pr
* fix: unique workflow for all jobs in order
* fix: build failure
---------
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>1 parent 214025b commit 8afdb47
File tree
20 files changed
+326
-180
lines changed- .github/workflows
- src/app
- custom_types
- interfaces
- services
- cds
- graph
- ui
- components/graph
- sections/cds-selected-section
- utils
- values
20 files changed
+326
-180
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | | - | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 13 | + | |
22 | 14 | | |
23 | 15 | | |
24 | 16 | | |
25 | 17 | | |
26 | 18 | | |
27 | 19 | | |
28 | 20 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 21 | | |
41 | 22 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
45 | 26 | | |
46 | 27 | | |
47 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
48 | 42 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
63 | 56 | | |
64 | 57 | | |
65 | 58 | | |
| |||
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
78 | | - | |
79 | | - | |
| 71 | + | |
| 72 | + | |
80 | 73 | | |
81 | 74 | | |
82 | 75 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 76 | + | |
| 77 | + | |
87 | 78 | | |
88 | 79 | | |
89 | 80 | | |
90 | 81 | | |
91 | | - | |
| 82 | + | |
92 | 83 | | |
93 | 84 | | |
94 | 85 | | |
95 | 86 | | |
96 | 87 | | |
97 | 88 | | |
98 | 89 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 90 | + | |
106 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
107 | 102 | | |
108 | 103 | | |
109 | 104 | | |
| |||
0 commit comments