Skip to content

TIMAAT #9 - Umsetzung einer Ansicht zur Betrachtung von zugewiesenen Inhaltsdaten von Kategorien#10

Open
NKO97 wants to merge 45 commits intobitgilde:masterfrom
NKO-Dev-Studio:master
Open

TIMAAT #9 - Umsetzung einer Ansicht zur Betrachtung von zugewiesenen Inhaltsdaten von Kategorien#10
NKO97 wants to merge 45 commits intobitgilde:masterfrom
NKO-Dev-Studio:master

Conversation

@NKO97
Copy link

@NKO97 NKO97 commented Jan 13, 2026

Übersicht

Im Rahmen dieses Merge requests wurde die Kategorieansicht basierend auf den im Ticket genannten Anforderungen umgesetzt.

Voraussetzung

  • DB Update auf Version 0.15.1

Änderungen

Datenbank

  • Hinzufügen zweier Views, über welche die Informationen von Segmentstrukturen unterschiedlichen Typs aggregiert zur Verfügung gestellt werden
  • Entfernung einer nicht genutzten Spalte aus der Tabelle annotation_has_category
  • Hinzufügen der Kreuztabellen actor_has_category_set und actor_has_category, um actor-Einträge mit Kategorien verknüpfen zu können

Service

  • Umsetzung einer generischen DbStorage-Klasse, welche die Umsetzung von Filter und Sortiermöglichkeiten vereinfacht
    • Hinzufügen spezialisierter DbStorage-Klassen für die Entitäten, welche mit Kategorien verknüpft werden können
  • Anpassung der Endpunkte von Entitäten, welche mit Kategorien verknüpft sein können
    • Hinzufügen von query-parametern zur Filterung nach Kategorie oder Kategoriemenge
    • Hinzufügen von query-parametern zur Umsetzung einer Sortierung nach einer bestimmten Splate

Client

  • Implementierung einer generischen Tabellenimplementierung auf Basis von datatable
    • Die Tabelle erlaubt das Aktivieren bzw. Deaktivieren von dargestellten Spalten und eine freie Sortierung
    • Die Spaltenkonfiguration wird im localstorage persistiert
  • Umsetzung der Kategorien-Ansicht nach gegebenen Anforderungen
    • Für die Tabellen zur Darstellung der Inhaltsdaten wird die generische Tabellenimplementierung verwendet

Sonstige Hinweise

Im Rahmen der Durchführung dieses Tickets wurden folgende Bugs gefunden und behoben:

  • Die Definition von neuen Musiktiteln war nicht möglich. Grund hierfür war ein falscher Index, welcher für das Auslesen der hinzugefügten Titel verwendet wurde.
  • Die Selektion von Audioannotationen war nicht möglich. Der Z-Index der Audioannotationskomponente war zu klein gewählt.

NKO97 added 30 commits November 13, 2025 12:01
* Added tab responsible to switch to categories view
* Defined basic structure of categories view
* Implemented timaat.categories module responsible to manage the new categories view
* Added nav tabs for categories and category sets
* Implemented switch between different tabs
* Implemented setting of correct sub url and opening the correct view when opening the client by using a specific url
* Added datatable cards for category and category set
* Added column responsible to show the selection state of category sets
* Added column offering actions for a row of a category set
* Load select extension of datatables during timaat client start
* Added column responsible to show the selection state of categories
* Added column offering actions for a row of a category
* Implemented create/change-modals of categories
* Refactored category endpoints:
  * Usage of a storage
  * Edit of category name and related category sets inside the same endpoint method
* Implemented create/change-modals of category sets
* Refactored category set endpoints:
  * Usage of a storage
  * Edit of category set name and related categories inside the same endpoint method
* Implemented handler responsible to show delete modal
* Implemented handler triggered when pressing the delete category set submit button
* Created module containing a generic data table implementation used for the categories tables
* Implemented tables for Music and Medium
* Fixed bug leading to jackson exception when using the patch endpoints of mediums
* Implemneted categories table for actors
* Added TableColumnConfig for address objects
* Defined paging and sorting parameter type
* Defined basic query parameter which can be used for listing endpoints
* Defined filters for annotation listing endpoint
* Added jpa metamodel process org.eclipse.persistence.jpa.modelgen.processor
* Configured maven to include generated sources of metamodel processor into the resulting war file
…ung-von-zugewiesenen-inhaltsdaten-von-kategorien

# Conflicts:
#	src/main/webapp/css/timaat.css
* Implemented component which uses the tableColumnConfigs to show a popover on which columns of a table can be enabled and disabled
* Added method which allows enable and disabled columns of tables
…column state

* added storage implementation using the local storage to persist the current active column state of tables
* added column selector popover component for medium, actor and annotation table
* Added datatables col-reorder plugin
* Implemented mechanism to persist col order into local storage
…arameter to listing endpoint of music

* Added methods to MusicStorage responsible to execute a listing by using the specified filter, paging and sorting parameter
* Defined storage api which can be used across all storage implementations to load a stream of entities
* The storage allows the simple creation of database storage implementations by just define the filter, sorting field and root entity type
* Extending MediumStorage from DbStorage
* Defined required filter criteria and sorting parameter
…category or category set has been selected

* Added right view to categories which will be shown when no category or category set has been selected
* Added active state to table to avoid sending requests when it's not necessary
…ry sets to create corresponding query parameter

* Added field to table-class which describes the current query parameters.
  * The query parameters can be changed via a setter method
  * On each change a redraw of the table is executed
* Added missing setter methods of query parameters to MediumListingQueryParameter and MusicListingQueryParameter. Changed Collection to List type, otherwise jersey will not map the values correctly.
…singning of category sets and categories to analysis list and annotation

* Removed column category_set_id from table annotation_has_category
* Created storage for analysis list
* refactored event handler responsible to change the assigned category sets of a analyis list
* refactored event handler responsible to change the assigned categories of annotations
* Updated database model: Added tables to related actors with category sets and categories
* Added endpoints to update and read relation information between actors and categories/category sets
* Updated actor listing endpoint. It now has a query parameter to filter by category and category set
* Updated category content table to filter represented actors by selected category or category set
to segement structrue entities

* Refactored endpoints responsible to get assigned and assignable categories of segment structure element as well as updating them
* Defined working callbacks for save and cancel button of element responsible to define the categories of a segment structure element
…element

* Added endpoint to get segment structure elements
* Added views which are combining information of segment structure elements into one table
* Implemented initialization of table which is representing the segment structures of selected categories or category sets
* Fixed some jpa errors
* Added filter popover which can be used to select the specific entity types which should be included inside the data tables.
* Added new filter to define the types of entities which should be returned by a listing operation
* Added type query parameter usage to filter categories content table by entity type
NKO97 added 15 commits January 11, 2026 18:03
* Table columns can now be assigned to a column group
* The column selector popover is representing the columns separated by column groups
…umn definitions

* Defined column groups for specific entity types
* Added missing columns
… action buttons to jump to entitys

* Added actions columns containing a button to jump to the entity inside their
* Added order parameter to column definition
* Defined order parameter for listing endpoints
* Defined order parameter for orderable columns
* Added authorization verification when loading annotation and segment structure elements
…ables

* Added parameter describing if a search field should be shown for a table
… match application style

* Updated paging button representation
* Updated info text
…nd cancel button on forms for editing and adding categories/category sets
…io annotations

* Increased z-index of audio annotations
* Increased z-index of timeline marker
… type in datatables representing music of a specific type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant