Closed ktuite closed 6 months ago
(note to self) If we did want to show the file/upload size, here are some of my code snippets:
<template #size>
<span class="source-size">({{ entry.details.source.size / 1000 }}Kb)</span>
</template>
.source-size {
font-weight: normal;
font-family: $font-family-monospace;
font-size: 12px;
color: #777;
}
"bulkSource": "File {name} {size} uploaded by {actor}"
Closes getodk/central#583
Activity Feed
Entity create event from bulk upload:
I wanted to point out that an entity created from a submission looks like this:
In the submission case, there really is a separate source event to show. In the bulk entity upload case, it is literally the same event. We get the submission event off the entity create event and artificially insert it into the activity feed.
We could pretend there are two events, but I wasn't sure how the one event should be broken down or if it was even worth it.
Possibility (show size, too):
Conflict Tables
Basic Information
What has been done to verify that this works as intended?
Why is this the best possible solution? Were any other approaches considered?
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Does this change require updates to user documentation? If so, please file an issue here and include the link below.
Before submitting this PR, please make sure you have:
npm run test
andnpm run lint
and confirmed all checks still pass OR confirm CircleCI build passes