Skip to content

1069 show message when no metadata is present#1112

Merged
longshuicy merged 7 commits intomainfrom
1069-show-message-when-no-metadata-is-present
Jun 28, 2024
Merged

1069 show message when no metadata is present#1112
longshuicy merged 7 commits intomainfrom
1069-show-message-when-no-metadata-is-present

Conversation

@tcnichol
Copy link
Contributor

I added some messages here if there is no extractor or user metadata, for datasets or files.

@lmarini I used the text you had supplied in the issue for the user metadata, and came up with something else for machine metadata. I think the text in those spaces can be better, but I wanted this to be a draft now so others can weigh in on the messages.

@tcnichol tcnichol linked an issue Jun 17, 2024 that may be closed by this pull request
@tcnichol tcnichol requested review from Vismayak, ddey2 and lmarini June 17, 2024 17:46
@tcnichol tcnichol marked this pull request as ready for review June 28, 2024 16:06
@tcnichol tcnichol requested a review from longshuicy as a code owner June 28, 2024 16:06
@lmarini lmarini added this to the v2.0-beta-3 milestone Jun 28, 2024
Copy link
Member

@longshuicy longshuicy left a comment

Choose a reason for hiding this comment

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

Coud you resolve merge conflict?

Copy link
Member

@ddey2 ddey2 left a comment

Choose a reason for hiding this comment

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

It always says 'no user metadata provided for dataset', even for files.
Screenshot 2024-06-28 at 12 22 39 PM

tcnichol added 4 commits June 28, 2024 13:23
…n-no-metadata-is-present

# Conflicts:
#	frontend/src/components/metadata/DisplayMetadata.tsx
using 'resource' instead of 'dataset' in message
@tcnichol
Copy link
Contributor Author

It always says 'no user metadata provided for dataset', even for files. Screenshot 2024-06-28 at 12 22 39 PM

I changed 'dataset' to 'resource' so that both messages just say 'resource'.

Copy link
Member

@longshuicy longshuicy left a comment

Choose a reason for hiding this comment

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

Looks good.

@longshuicy longshuicy merged commit f997289 into main Jun 28, 2024
@longshuicy longshuicy deleted the 1069-show-message-when-no-metadata-is-present branch June 28, 2024 20:34
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.

Show message when no metadata is present

4 participants