Skip to content

Ftr/dynamic annotation classification#87

Open
bwbohl wants to merge 29 commits intoEdirom:developfrom
baz-ga:ftr/dynamic-annotation-classification
Open

Ftr/dynamic annotation classification#87
bwbohl wants to merge 29 commits intoEdirom:developfrom
baz-ga:ftr/dynamic-annotation-classification

Conversation

@bwbohl
Copy link
Member

@bwbohl bwbohl commented Sep 11, 2025

Description, Context and related Issue

Add support for dynamic mei:taxonomy usage in mei annot

Refs #57

How Has This Been Tested?

  • Klarinettenquintett dataset
  • BAZ-GA dataset

Types of changes

  • New feature (non-breaking change which adds functionality)
  • Documentation Update
  • Improvement
  • Refactoring

Overview

  • I have updated the inline documentation accordingly.
  • I have performed a self-review of my code, according to the style guide
  • I have read the CONTRIBUTING document.

@bwbohl bwbohl linked an issue Sep 11, 2025 that may be closed by this pull request
@github-project-automation github-project-automation bot moved this to In Progress in Edirom Development Sep 17, 2025
@bwbohl bwbohl force-pushed the ftr/dynamic-annotation-classification branch from 7c78f19 to fec2579 Compare September 19, 2025 11:42
@bwbohl bwbohl marked this pull request as ready for review September 19, 2025 11:42
@bwbohl
Copy link
Member Author

bwbohl commented Sep 19, 2025

Please be aware that this has to be tested in combination with: Edirom/Edirom-Online-Backend#83

@bwbohl bwbohl moved this from In Progress to Ready for Review in Edirom Development Sep 19, 2025
@bwbohl bwbohl added this to the 1.1.0 milestone Sep 19, 2025
@bwbohl
Copy link
Member Author

bwbohl commented Sep 19, 2025

blocked by #101 at least for best results ;-)

@daniel-jettka daniel-jettka requested review from daniel-jettka and roewenstrunk and removed request for daniel-jettka and roewenstrunk September 22, 2025 08:44
@bwbohl
Copy link
Member Author

bwbohl commented Sep 24, 2025

I could offer a video-session for an interactive review

@daniel-jettka
Copy link
Contributor

@daniel-jettka daniel-jettka modified the milestones: 1.1.0, 1.2.0 Sep 24, 2025
@bwbohl bwbohl added the enhancement New feature or request label Oct 2, 2025
Copy link
Contributor

@daniel-jettka daniel-jettka left a comment

Choose a reason for hiding this comment

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

Built with:

export BE_REPO=https://github.com/baz-ga/Edirom-Online-Backend.git FE_REPO=https://github.com/baz-ga/Edirom-Online-Frontend.git BE_BRANCH=ftr/dynamic-annotation-classification FE_BRANCH=ftr/dynamic-annotation-classification && docker compose down --volumes --remove-orphans && docker compose build --no-cache && docker compose up

I have some observations:

(1) Annotation view display
❌ When I open an annotation (click on annotation marker) in local Klarinettenquintett, the whole annotation list opens and I can't switch to single annotation view. In comparison, online Klarinettenquintett displays single annotation view by default.

(2) Annotation view meta info box
❌ Titles of annotation classes are not shown in single annotation view, and newly added class (I have set up an ediromType category for testing) does not show up here:

image

(3) Annotation menu
❌ Newly added annotation category does not show up in menu:

image

(4) Annotation list
✔️ Newly added annotation category shows up in complete annotation list with translation:

image

(5) Translation injection
And one more side-note: Is it possible to inject translations from edition xar into backend? That would be really good for this feature.

@github-project-automation github-project-automation bot moved this from Ready for Review to Changes Requested in Edirom Development Oct 7, 2025
@bwbohl
Copy link
Member Author

bwbohl commented Oct 7, 2025

@daniel-jettka thanks for the thorough review and the crucial observations!

(1) Annotation view display
❌ When I open an annotation (click on annotation marker) in local Klarinettenquintett, the whole annotation list opens and I can't switch to single annotation view. In comparison, online Klarinettenquintett displays single annotation view by default.

Will investigate. This definitely has something to do with handling the "internal ID", so it could either have to do with:

  • LinkController, or
  • AnnotaitionView

(2) Annotation view meta info box
❌ Titles of annotation classes are not shown in single annotation view, and newly added class (I have set up an ediromType category for testing) does not show up here:

It did work out here, though, when I tested before committing. I’ll test again and check if the branch is rebased on develop, including the changes to missing values for language codes.

(3) Annotation menu
❌ Newly added annotation category does not show up in menu:

That’s an oversight from my part, thanks for spotting!

(4) Annotation list
✔️ Newly added annotation category shows up in complete annotation list with translation:

(5) Translation injection
And one more side-note: Is it possible to inject translations from edition xar into backend? That would be really good for this feature.

Yes, of course that’s failry easy and a way to provide new language codes and override any of those used in Edirom Online. All you have to do is creating an XML file like the ones in the Edirom-Online-Backend, get it included in the edition XAR and reference it from the edition xml file with, e.g.:

<edition xmlns="http://www.edirom.de/ns/1.3" xml:id="edirom-edition_SOME-ID">
   <editionName>SOME NAME</editionName>
   <languages>
      <language xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="de" complete="[true|false]" xlink:href="xmldb:exist:///db/apps/bazga/Z1B008X/locale/edirom-lang-de.xml"/>
   </languages>
   …

@daniel-jettka
Copy link
Contributor

Hi @bwbohl Any news on this? :-)

@krHERO krHERO modified the milestones: 1.2.0, 1.3.0 Dec 9, 2025
@krHERO krHERO removed this from the 1.3.0 milestone Jan 12, 2026
@bwbohl
Copy link
Member Author

bwbohl commented Feb 2, 2026

Will try to get my hands on it this or next week

bwbohl added 28 commits February 5, 2026 11:20
in order to achieve the following:
* use existing lang key that does not match the calculated key form
* set to hidden by default
to achieve the following:
* use existing lang key that does not match the calculated key
* increase flex size
* increase width to show full three-digit numbers
* text-align right
The parameters lang and edition are set in window.doAJAXRequest by default
@bwbohl bwbohl force-pushed the ftr/dynamic-annotation-classification branch from 2c1da10 to b265b24 Compare February 5, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Changes Requested

Development

Successfully merging this pull request may close these issues.

[ftr] Dynamic taxonomies for annotations

3 participants