feat: lesson note version history (#374)

* chore: install diff package

* chore: add id to render component

* feat: implement language lesson version history

* chore: fix darkmode colors and use tailwind css

* chore: add screensize conditional

* refactor: list updating after data fetch

* change mode to view to prevent duplicate data being saved

* chore: remove raw text

* chore: db migration

* feat: properly format timestamp

* feat: add snackbar for success

* chore: group by minutes, use icons instead of texts for buttons

* docs: generate translations

* refactor

---------

Co-authored-by: Iniubong Obonguko <iniubongobonguko2018@gmail.com>
This commit is contained in:
Rotimi Best
2024-06-30 04:47:15 +01:00
committed by GitHub
co-authored by Iniubong Obonguko
parent decea8d1e5
commit 931ccb1a09
15 changed files with 407 additions and 29 deletions
@@ -47,7 +47,8 @@
},
"success": {
"complete_marked": "Marcado como concluído",
"complete_download": "Download completo"
"complete_download": "Download completo",
"version_restored": "Versão restaurada com sucesso"
}
},
"attendance": {
@@ -750,6 +751,12 @@
"disabled": "O recurso está desativado",
"next": "Próximo",
"prev": "Anterior",
"version_history": {
"title": "Histórico de versões",
"fetch_more_versions": "Buscar mais versões",
"current_version": "Versão Atual",
"restore_version": "Restaurar esta versão"
},
"drag": "arraste um cartão para reordenar",
"no_lesson": "Ainda não há aulas",
"share_your_knowledge": "Compartilhe seu conhecimento com o mundo criando aulas envolventes. Comece clicando no botão Adicionar."
@@ -1363,4 +1370,4 @@
"hyphen_rule": "O nome da organização não pode começar ou terminar com um hífen"
}
}
}
}