Commit graph

4 commits

Author SHA1 Message Date
dralkh
e80dfda20d release: v1.0.5
JS/TS:
- Replace builtin-modules with node:module (esbuild.config.mjs)
- Replace fs-extra with native fs (install.js), remove from deps
- Fix createEl deprecation: use createDiv/createSpan
- Remove unnecessary type assertions, fix unsafe casts
- Bind event handlers with arrow functions

CSS:
- Remove all !important declarations (~30 instances) — replace with
  chained selectors (.class.class) for equal specificity
- Merge all duplicate selectors across 7 CSS files (~50+ instances)
- Convert 3-digit hex to 6-digit format (_variables.css)
- Fix duplicate CSS properties (overflow-y in mcq.css)
- Delete leftover display:none suppression rule in calendar.css

Meta:
- Bump version to 1.0.5
- Update minAppVersion to 1.8.7
- Add versions.json entry for 1.0.5
2026-05-20 11:02:54 +03:00
dralkh
4cbc58b5fa refactor: consolidate styles and improve UI components
- Split styles.css into modular component files
- Update UI components to use new modular CSS structure
- Remove deprecated main.js file
- Add sleep utility function
- Enhance calendar and modal components
- Update navigation controller and event handling
2025-10-13 10:45:31 +03:00
dralkh
4a44db5a2c feat(mcq): implement strict scoring mode for single-attempt failures
Add new setting 'Deduct full mark on first failure' that enforces strict scoring rules where incorrect first attempts result in zero points. This provides an alternative scoring system to the original partial credit approach, giving users flexibility in assessment strictness.

The feature includes:
- New boolean setting in plugin configuration
- Updated scoring logic in MCQ modal
- Settings UI toggle control
- TypeScript interface updates
- CSS styling for result display

This allows for more rigorous testing scenarios where immediate correctness is required for full credit.
2025-08-30 15:33:49 +03:00
Dralk
54e2b782ba spaceforge 2025-07-31 07:03:20 +03:00