Skip to content

medcat-trainer: Admin Page #312

Merged
tomolopolis merged 27 commits intomainfrom
admin-page
Feb 9, 2026
Merged

medcat-trainer: Admin Page #312
tomolopolis merged 27 commits intomainfrom
admin-page

Conversation

@tomolopolis
Copy link
Member

Django admin for managing projects is starting to become unwieldy.

A user friendly form of project setup is needed. This limits what can be setup directly to the Project, Model Packs, Datasets and Users via the app to provide this streamlined project setup exp.

Tom Searle and others added 19 commits January 20, 2026 12:27
* CU-869bu4tum: Add test to make sure that saved model is NOT a wrapper

* CU-869bu4tum: Move wrapper to a fully delegating one

* CU-869bu4tum: Add a comment regarding setattr

* CU-869bu4tum: Add a few more tests for wrapper (i.e getting attributes, properties, methods)

* CU-869bu4tum: Fix injection tests

* CU-869bu4tum: Add some comments to injection tests

* CU-869bu4tum: Fix test time wrapping

* CU-869bu4tum: Add a few more comprehensive tests

* CU-869bu4tum: Add a few more comprehensive tests for property / method / attribtue getting

* CU-869bu4tum: Fix trainer property for wrapper

* CU-869bu4tum: Simplify trainer property
#297)

* MedCAT v1: fixed relation infer output (entities not outputting start/end char positions.

* Lints.
…el roles and add separate client for backend auth (#298)

* refactor(medcat-trainer): Externalise VITE_ env vars, introduce separate client for backend auth for clarity, update API migrations, ensure roles can be read from top-level role group.

* doc(medcat-trainer): Provide more comprehensive OIDC auth guide

* doc(medcat-trainer): Update OIDC Auth guide and installation file

* refactor(medcat-trainer): Address code review feedback

* chore(medcat-trainer): Potential fix for code scanning alert no. 151: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* refactor(medcat-trainer): Address more code review feedback

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* feat(medcat-trainer):  improved demo screen, model pack selection, new clinical text component, improved demo filtering concept picker

* fix(medcat-trainer): CU-8699ryke4: test type fixes

* fix(medcat-trainer): pr review changes

* fix(medcat-trainer): address auto feedback

---------

Co-authored-by: Tom Searle <tom@cogstack.org>
* CU-869bvptgq: Simplify relations output somewhat

* CU-869bvptgq: Add relation both entity start and end char positions

* CU-869bvptgq: Add entity start / end positions to rel-cat

* CU-869bvptgq: Add relevant changes to relation datasets

* CU-869bvptgq: Minor linting change

* CU-869bvptgq: Fix minor linting issue
…dised github actions for docker (#302)

* build(medcat-trainer): Use Docker actions for github CI builds

* build(medcat-trainer): Create a docker image for every PR

* build(medcat-trainer): Consolidate workflows into one file. Updating docker action
@tomolopolis tomolopolis changed the title medca-trainer: Admin Page medcat-trainer: Admin Page Jan 30, 2026
@tomolopolis tomolopolis added the preview Preview changes label Jan 30, 2026
tomolopolis and others added 4 commits February 2, 2026 23:41
…cross-site scripting

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…hrough an exception

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…uttons. Refactor common styles to _admin.scss
</script>

<style scoped lang="scss">
@import '@/styles/variables.scss';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put this css into another file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed (slightly)

Copy link
Collaborator

@alhendrickson alhendrickson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying out saving a model pack, I hit this error, due to this PR.

I'll look at fixing it as I had planned to https://github.com/CogStack/cogstack-nlp/pull/305/changes

Approved this PR after realising it shouldnt be blocked by the above

…nsistency between buttons, action buttons, improve validation notifications, fix cdb_search_filter being set from model pack or concept_db
@tomolopolis tomolopolis merged commit 2ba80cb into main Feb 9, 2026
9 of 10 checks passed
@tomolopolis tomolopolis deleted the admin-page branch February 9, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Preview changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants