Closed loklokyx closed 2 months ago
Branch issue-42-UI_for_Output_Display_After_Document_Matching created!
looks like a good idea from todays meeting
Hey, do you have an idea of how we are going to display the content of the main document?
I can parse through the docx metadata and pass it to the frontend through a list with dictionaries inside, but I'm not sure if that's viable or not.
Hi @normit581, sorry for the delay, was busy with another 3 assessments due last week. I’ll focus on the content display this week. Thanks for providing the info. I think at the moment we can use meta like render_tempate("page.html", meta=meta)
and follow the jsonify
format like:
{
"meta":[
{
"docA":{
"meta_1":"some meta data",
"meta_2":"some meta2 data",
"meta_3":"some meta3 data"
}
},
{
"docB":{
"meta_1":"some meta data"
}
}
]
}
I quickly made a function extracting metadata from the documents and this is the output. Would this be suitable for this task?
Yup, it can be useful as we need to preview the file name and paragraphs content in the front end. Metadata like createdBy is optional but can be displayed as well.
Feature:
Develop a UI to display the output after matching documents, organised with an aside for navigation and a main section for detailed views.
Aside Navigation:
Main Display:
New Tab Functionality:
Implementation:
UI Layout:
Interaction Design:
Functionality:
Testing: