hajicj / rhythmify_frontend

0 stars 1 forks source link

The fontes search filter should reset when dataset selection changes. #10

Closed hajicj closed 3 years ago

hajicj commented 3 years ago

When the dataset selection changes, the set of applicable fontes also changes. This should be immediately displayed in the search filter.

The @Input and @Output mechanisms of Angular might be appropriate here, rather than synchronizing the state of the application using Services (which has been the architecture so far). Maybe it is possible to handle this only using @Input, with data from the Services injected into the SearchFilter from the containing ChantList template.

hajicj commented 3 years ago

Solved, but points to a potential problem with the services architecture when maintaining the state of the application.