Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: display more gt metadata in timeline view #79

Merged
merged 17 commits into from
Jun 19, 2024
Merged

Conversation

jfrer
Copy link
Collaborator

@jfrer jfrer commented Jun 11, 2024

relates to #69

@jfrer jfrer requested a review from paulpestov June 11, 2024 15:45
</a>
<span v-else-if="meta.isArray">{{ meta.data?.join(', ') }}</span>
<div v-else-if="meta.isDict" class="flex flex-row space-x-2 px-2">
<!-- eslint-disable vue/no-unused-vars -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why those eslint comments?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 65be49d
Not sure why I didn't use (value, key) instead of (value, key, index) in the first place.
Originaly I used _ to mark the index as unused for human readers and added the eslint comments to mark the line for eslint, so that it won't throw an unused var error, because the var was unused on purpose.

Copy link
Contributor

@paulpestov paulpestov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, the font could be "weaker" as the rest of the content, so it does distract from other content. A smaller font.size, lighter color and litte more space on top and bottom could help.

We should talk to @mweidling what is the meaning behind "Volume".

src/components/workflows/timeline/TimelineItem.vue Outdated Show resolved Hide resolved
src/components/workflows/timeline/TimelineItem.vue Outdated Show resolved Hide resolved
<button class="font-semibold my-2 flex items-center text-highlight" @click="toggleOpLabelling">
<span>{{ $t('labelling') }}</span>
<Icon v-if="opLabelling?.visible" icon="ic:baseline-close-fullscreen" class="ml-2"></Icon>
<Icon v-else icon="ic:baseline-open-in-full" class="ml-2"></Icon>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make the whole button more recognizable as button

src/components/workflows/timeline/TimelineItem.vue Outdated Show resolved Hide resolved
@jfrer jfrer requested a review from paulpestov June 14, 2024 12:01
@mweidling
Copy link
Contributor

We should talk to @mweidling what is the meaning behind "Volume".

volume means the quantity of the GT. It is generated by the following form: https://ocr-d.de/gt-metadata/document-your-gt.html at "Estimated quantity". The quantity can be diverse, e.g. pages oder lines. Does this help?

@jfrer jfrer merged commit a4bbdac into master Jun 19, 2024
1 check passed
@jfrer jfrer deleted the more-GT-metadata branch June 19, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants