-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show history for dictionary and entry (initial step 1, not fully done) (
#371) * create EntryHistory component and place it in EntryDisplay * create History Page * create all sortBy functionality * get content_updates data showing on history page and entry page --------- Co-authored-by: Jacob Bowdoin <[email protected]> Co-authored-by: jacob-8 <[email protected]>
- Loading branch information
1 parent
5c432d4
commit 13ceb54
Showing
38 changed files
with
713 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
packages/site/src/lib/components/home/SelectedDict.variants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// import type { Variant } from 'kitbook'; | ||
// import type Component from './SelectedDict.svelte'; | ||
// import type { IDictionary } from '@living-dictionaries/types'; | ||
|
||
// const dictionary: IDictionary = { | ||
// 'updatedBy': 'U9u2OqBEArZSFV88Xu8TlvOWbbn1', | ||
// 'regions': [], | ||
// 'entryCount': 486, | ||
// 'name': 'Achi', | ||
// 'createdBy': 'T4qikh1eTafizvpmHNcG29uRQ2j1', | ||
// 'points': [], | ||
// 'location': 'Guatemala', | ||
// 'alternateNames': [], | ||
// 'glottocode': 'achi1256', | ||
// 'iso6393': 'acr', | ||
// 'glossLanguages': [ | ||
// 'es', | ||
// 'en' | ||
// ], | ||
// 'public': true, | ||
// 'id': 'achi', | ||
// } | ||
|
||
// export const variants: Variant<Component>[] = [ | ||
// { | ||
// name: 'Normal', | ||
// languages: [], | ||
// props: { | ||
// dictionary, | ||
// } | ||
// }, | ||
// { | ||
// name: 'Displays last update', | ||
// languages: [], | ||
// props: { | ||
// dictionary, | ||
// lastFieldUpdatedAt: 1673598370158, | ||
// } | ||
// }, | ||
// ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.