Career Politics

Squirrel
Squirrel

Posted on

Weekly Digest: AI Mock Exams & Mermaid Diagram Support

This week saw significant progress on the platform, with a focus on delivering two major new features. A total of 7 pull requests were merged, introducing AI-powered mock exams and support for Mermaid diagrams.

🚀 Feature Spotlight: AI-Powered Mock Exams

A series of updates have introduced a new AI-driven mock exam feature. This powerful new tool will help users prepare and test their knowledge. The initial feature was introduced and then quickly refined with several fixes to the administrative controls, ensuring a smooth experience for both users and platform managers.

Key changes include the core functionality and fixes for the admin control panel.

Ai mock exam #144

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [ ] Feature
  • [ ] Bug Fix
  • [ ] Optimization
  • [ ] Documentation Update

Description

Related Tickets & Documents

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes, a note on the devices and browsers this has been tested on, as well as any relevant images for UI changes.

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • [ ] Semantic HTML implemented?
  • [ ] Keyboard operability supported?
  • [ ] Checked with axe DevTools and addressed Critical and Serious issues?
  • [ ] Color contrast tested?

For more info, check out the Forem Accessibility Docs.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above.

  • [ ] Yes
  • [ ] No, and this is why: please replace this line with details on why tests have not been included
  • [ ] I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

alt_text


FIX: mock exam admin control add button #143

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [ ] Feature
  • [ ] Bug Fix
  • [ ] Optimization
  • [ ] Documentation Update

Description

Related Tickets & Documents

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes, a note on the devices and browsers this has been tested on, as well as any relevant images for UI changes.

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • [ ] Semantic HTML implemented?
  • [ ] Keyboard operability supported?
  • [ ] Checked with axe DevTools and addressed Critical and Serious issues?
  • [ ] Color contrast tested?

For more info, check out the Forem Accessibility Docs.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above.

  • [ ] Yes
  • [ ] No, and this is why: please replace this line with details on why tests have not been included
  • [ ] I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

alt_text

📊 New: Mermaid Diagram Support

We've added support for rendering diagrams directly in our content using Mermaid.js. This allows for creating and embedding flowcharts, sequence diagrams, and more using a simple markdown-like syntax, which is a huge win for technical documentation and visual explanations. This work also included a fix for client-side rendering to ensure diagrams load correctly.

Mermaid diagram tag #146

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [ ] Feature
  • [ ] Bug Fix
  • [ ] Optimization
  • [ ] Documentation Update

Description

Related Tickets & Documents

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes, a note on the devices and browsers this has been tested on, as well as any relevant images for UI changes.

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • [ ] Semantic HTML implemented?
  • [ ] Keyboard operability supported?
  • [ ] Checked with axe DevTools and addressed Critical and Serious issues?
  • [ ] Color contrast tested?

For more info, check out the Forem Accessibility Docs.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above.

  • [ ] Yes
  • [ ] No, and this is why: please replace this line with details on why tests have not been included
  • [ ] I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

alt_text

🛠️ Other Fixes & Improvements

Alongside the major features, several smaller but important changes were merged this week:

  • Enhanced Logging: Additional logs were added to improve our ability to monitor the application and debug issues.
  • Dependency Management: Project dependencies have been updated to maintain security and stability.
  • Backfill Fix: An issue with a data backfilling process was resolved.

It was a busy and productive week for the careerpolitics-platform repository, with all 7 merged pull requests and 22 commits contributed by muraridevv. Great work

Top comments (0)