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

Show N most recently published artifacts on the home page. #57

Open
jeffhhk opened this issue Sep 10, 2021 · 0 comments
Open

Show N most recently published artifacts on the home page. #57

jeffhhk opened this issue Sep 10, 2021 · 0 comments
Assignees
Labels
Post-September Relay Changes Post September 2021 Relay bug fixes / feature addition September 2021 Relay September 2021 Relay bug fix / feature addition

Comments

@jeffhhk
Copy link
Contributor

jeffhhk commented Sep 10, 2021

Now that the "Done Uploading" HTTP request is short (see #51), we have another small UI issue. The issue is that the user now has a hard time finding out when the fileset either becomes available or fails in processing.

This is suggestion 1 of 2 for how to let the user know what happened with their submissions.

Do one recursive list of the bucket. This is fast if done like you do here:

  def list_files(client, bucket_name: str):
      """
      Check for the new file in the bucket listing.
      :param client:
      :param bucket_name:
      :return:
      """
      response = client.list_objects_v2(Bucket=bucket_name)

Filter for publishing metadata files. Take the top N and display what they mean at the top or bottom of the home page.

Even better: also record a failure metadata file. Gather and present those too, so the user can find out about errors. If so, keep both N successes and K failures, so that somebody having trouble doesn't bury all the success events.

@RichardBruskiewich RichardBruskiewich added Post-September Relay Changes Post September 2021 Relay bug fixes / feature addition September 2021 Relay September 2021 Relay bug fix / feature addition labels Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Post-September Relay Changes Post September 2021 Relay bug fixes / feature addition September 2021 Relay September 2021 Relay bug fix / feature addition
Projects
None yet
Development

No branches or pull requests

3 participants