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": "Được đánh dấu là hoàn thành",
"complete_download": "Hoan thanh tải"
"complete_download": "Hoan thanh tải",
"version_restored": "Đã khôi phục phiên bản thành công"
}
},
"attendance": {
@@ -750,6 +751,12 @@
"disabled": "Tính năng bị vô hiệu hóa",
"next": "Kế tiếp",
"prev": "Trước đó",
"version_history": {
"title": "Lịch sử phiên bản",
"fetch_more_versions": "Tìm nạp thêm phiên bản",
"current_version": "Phiên bản hiện tại",
"restore_version": "Khôi phục phiên bản này"
},
"drag": "kéo thẻ để sắp xếp lại",
"no_lesson": "Chưa có bài học nào",
"share_your_knowledge": "Chia sẻ kiến ​​thức của bạn với thế giới bằng cách tạo ra những bài học hấp dẫn. Bắt đầu bằng cách nhấp vào nút Thêm."
@@ -1363,4 +1370,4 @@
"hyphen_rule": "Tên tổ chức không thể bắt đầu hoặc kết thúc bằng dấu gạch nối"
}
}
}
}