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

Add UI directive, progress bar, and status counts #56

Merged
merged 21 commits into from
Feb 23, 2024

Conversation

kennsippell
Copy link
Member

@kennsippell kennsippell commented Feb 8, 2024

User is now greeted with a default "Getting Started" message
image

Once you have a user staged and ready for creation, the next step is clear
image

When user uploads, they see a progress bar
image

Once they upload, they are prompted to save the credentials
image

In a future change, the tags on the rigth side can be updated to be used as filters. #61

Progress bar in #18
In response to, but not a fix for #53
Closes #64

@jonathanbataire
Copy link

Demo'ed and tested these UI changes it looks great and work for me @freddieptf @kennsippell

<div class="hero-body">
{% if progress.inProgressCount > 0 %}
{% include "place/directive_3_in_progress.html" %}
{% elsif progress.successCount > 0 %}
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should show the upload prompt anytime we have anything staged

Copy link
Member Author

Choose a reason for hiding this comment

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

In the nav bar or in this "directive" page? If we are showing it all the time, I'm inclined to use the navbar.

Copy link
Collaborator

Choose a reason for hiding this comment

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

In the directive, if we upload successfully we get the download prompt. If we stage new changes after the initial upload, I'd expect the download prompt to change to the upload prompt again

Copy link
Member Author

@kennsippell kennsippell Feb 13, 2024

Choose a reason for hiding this comment

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

ok. i have made the change as suggested. i thought you wanted to show both at once if there were complete ones + staged ones...

what if you upload 300 new users and there are 3 failures? should users see upload, download, or something else?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think download with an option to retry failed works in that case

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we have consistent header sizes and spacing with the views that already exist on the page? I also find the shadow/elevation on the boxes unnecessary

Copy link
Member Author

Choose a reason for hiding this comment

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

Can we have consistent header sizes and spacing with the views that already exist on the page?

Sorry, I don't know what this means. Would you clarify?

Copy link
Member Author

@kennsippell kennsippell Feb 12, 2024

Choose a reason for hiding this comment

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

I also find the shadow/elevation on the boxes unnecessary

This is what the UI looks like without boxes. I don't particularly like this because nothing is aligned. I find there is no line to the page.
image

I'm currently using the default box control from Bulma. Can I ask what you would like to see? Are you thinking no boxes (above) or less elevated boxes? Happy to implement, but I'm really bad at design and need a little more input to make your dream a reality.

Copy link
Collaborator

@freddieptf freddieptf Feb 12, 2024

Choose a reason for hiding this comment

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

I meant the headers in the directives are super huge compared to the other headers on the page. I find the elevation weird because it's makes the boxes a level higher than the navbar. Also the two boxes don't share the same background color. It's not a blocker so we can keep it and get a designer to have a look

Copy link
Member Author

Choose a reason for hiding this comment

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

Capturing in #67 to get a designer to look at this. For now I'll reduce header size, match background color, remove elevation, and send another screenshot.

Copy link
Member Author

Choose a reason for hiding this comment

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

image

Choose a reason for hiding this comment

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

it looks better the way it was before

@kennsippell kennsippell changed the base branch from main to 17-retries February 13, 2024 04:04
Base automatically changed from 17-retries to main February 23, 2024 03:53
@kennsippell kennsippell merged commit a96e383 into main Feb 23, 2024
1 check passed
@kennsippell kennsippell deleted the 18-upload-progress-bar branch February 23, 2024 04:21
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.

Progress bar indicating status of bulk uploads
3 participants