ita-social-projects / dokazovi-be

The platform for verified medical speakers and their recommendations.
MIT License
13 stars 11 forks source link

[Experimentation] Support managing foreign experts for translated articles #435

Open handicraftsman opened 3 years ago

handicraftsman commented 3 years ago

Story link None yet; @StanislavKucher what do you think? This was your idea.

Task description

It would be nice to have a way to manage authors of articles written in foreign languages in a way that allows deduplicating author names and biographies in the database.

Another neat feature of this is possibility to implement autocomplete for such authors on frontend side (for those who do it)

To do

    • [x] Define the database table and corresponding Entity/DTO classes.
    • [x] Implement adding a foreign expert (as requested, this is admin-only)
    • [x] Implement searching for foreign experts (basic LIKE 'whatever%' search is done, have to do more work to make full-text search work)
    • [x] Implement linking translated posts to a foreign expert entry.
    • [x] Implement searching posts when we have a foreign expert ID.
    • [x] Implement tests

Estimating

Ugh, I do not have access to that page, should poke staff ;(