Commit 4eb05fe
v3.0.2 (#576)
* feat(course-card): add success toasts for course enable/disable
Show a sonner success toast immediately after the user confirms:
- Disable: "CS101 disabled" with the selected reason as description.
- Enable: "CS101 enabled".
Fires optimistically on confirm-click (the mutation uses optimistic
updates so the UI reflects the change instantly). Failure is already
covered by the generic "Failed to save settings" error toast in the
user-settings provider's onError handler.
* fix(course-card): show light red header when course is disabled in light mode
Override statusColorClasses.headerBg/headerBorder with red-500 tints on
the CardHeader when the course is disabled. Dark mode retains the neutral
muted tint. tailwind-merge resolves the conflicting bg/border classes in
favour of the later (disabled) override.
* chore: update version to 3.0.2
* feat: add invert option to toast notifications for improved visibility
chore(tests): update tests
* refactor(toasts): centralize invert:true on Toaster; fix(tests): stable CardHeader selector (#577)
* Initial plan
* fix(tests): use stable data-slot selector; feat(toasts): apply invert:true to all toasts
Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
* refactor(toasts): move invert:true to global Toaster toastOptions
Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
* feat(toaster): enhance Toaster component with theme support and remove redundant styles
fix(addrecord): Fix occupied sessions
* fix(tests): add coverage for Toaster theme integration and AddAttendanceDialog session index+1 fallback (#578)
* Initial plan
* fix(tests): add coverage for Toaster theme integration and AddAttendanceDialog session index+1 fallback
Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
* Update src/components/__tests__/toaster.test.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Devanarayanan <fusion@devakesu.com>
---------
Signed-off-by: Devanarayanan <fusion@devakesu.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
Co-authored-by: Devanarayanan <fusion@devakesu.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: remove unnecessary type cast in Toaster and freeze time in AddAttendanceDialog tests (#580)
* Initial plan
* fix: remove unnecessary ToasterProps cast and freeze time in AddAttendanceDialog tests
Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: devakesu <61821107+devakesu@users.noreply.github.com>
* chore(deps): bump scalar, patch tar vuln, remove redocly
- Bump @scalar/nextjs-api-reference from ^0.9.24 to ^0.10.0
- Fix high-severity tar path traversal (GHSA-qffp-2rhf-9h96) by
tightening override from ^7.5.6 to ^7.5.10
- Remove @redocly/cli devDependency and docs:validate script to
eliminate remaining moderate dompurify XSS advisory chain
- Remove now-redundant @redocly/* ajv overrides
* chore: update dependencies and improve layout styles
- Added @opentelemetry/context-async-hooks as a dev dependency.
- Changed max-w-[100vw] to max-w-screen in the RootLayout component for better responsiveness.
- Updated test cases in AddAttendanceDialog.test.tsx to use vi.useFakeTimers with specific options for better time manipulation.
* chore(deps): update package-lock.json to include new dependencies and clean up module paths
* chore: upgrade minimum Node.js requirement to 22.12.0
Drop Node 20 support in favour of Node 22 LTS to resolve
@scalar/nextjs-api-reference >=0.10.0 engine requirement.
- package.json: engines.node → >=22.12.0
- package-lock.json: sync engines field
- Dockerfile: node:20.19.2-alpine3.20 → node:22.14.0-alpine3.20 (SHA pinned)
- CI workflows: node-version 20 → 22 across test, pipeline,
auto-version-bump, and deploy-egress-proxies
- README.md, docs/CONTRIBUTING.md, docs/DEVELOPER_GUIDE.md,
.github/copilot-instructions.md: update Node prereq references
* chore: update Node.js version to 22.12.0 and remove Redocly validation from documentation
* Update .github/workflows/deploy-egress-proxies.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Devanarayanan <fusion@devakesu.com>
* Update .github/workflows/deploy-egress-proxies.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Devanarayanan <fusion@devakesu.com>
* Update .github/workflows/auto-version-bump.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Devanarayanan <fusion@devakesu.com>
* chore: update README and SECURITY.md for dependency changes and vulnerability updates
---------
Signed-off-by: Devanarayanan <fusion@devakesu.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 35b6b61 commit 4eb05fe
24 files changed
Lines changed: 633 additions & 2214 deletions
File tree
- .github
- workflows
- docs
- public/api-docs
- src
- app
- components
- __tests__
- attendance
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
405 | 404 | | |
406 | 405 | | |
407 | 406 | | |
408 | | - | |
| 407 | + | |
409 | 408 | | |
410 | 409 | | |
411 | 410 | | |
| |||
679 | 678 | | |
680 | 679 | | |
681 | 680 | | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | 681 | | |
686 | 682 | | |
687 | 683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
100 | 106 | | |
101 | 107 | | |
102 | 108 | | |
| |||
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
112 | | - | |
| 118 | + | |
113 | 119 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
119 | 124 | | |
120 | 125 | | |
121 | 126 | | |
| |||
132 | 137 | | |
133 | 138 | | |
134 | 139 | | |
135 | | - | |
| 140 | + | |
136 | 141 | | |
137 | 142 | | |
138 | 143 | | |
| |||
0 commit comments