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 Flash Messages #81

Merged
merged 10 commits into from
Jul 22, 2024
Merged

Add Flash Messages #81

merged 10 commits into from
Jul 22, 2024

Conversation

VladislavSokov
Copy link
Collaborator

@VladislavSokov VladislavSokov commented Jul 18, 2024

image

Closes #86
Closes #79

@VladislavSokov VladislavSokov requested a review from ka8725 July 18, 2024 15:20
flashMessages.forEach(function(flashMessage) {
flashMessage.style.display = 'none';
});
}, 5000);
Copy link
Member

Choose a reason for hiding this comment

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

Let's make it simple for now without a magic. I mean no need to hide it

@VladislavSokov VladislavSokov force-pushed the add-rollback-all-button branch from d312aff to e38b754 Compare July 18, 2024 16:30
Base automatically changed from add-rollback-all-button to main July 18, 2024 17:11
@VladislavSokov VladislavSokov marked this pull request as ready for review July 19, 2024 07:21
@ka8725
Copy link
Member

ka8725 commented Jul 19, 2024

@VladislavSokov please rebase it

@VladislavSokov VladislavSokov marked this pull request as draft July 19, 2024 13:31
@VladislavSokov VladislavSokov marked this pull request as ready for review July 19, 2024 13:41
@@ -51,5 +51,8 @@
<p>No phantom migrations found.</p>
<% end %>
</div>
<% flash.each do |key, message| %>
<div class="flash <%= key %>"><%= message %></div>
<% end %>
Copy link
Member

Choose a reason for hiding this comment

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

@VladislavSokov if there are too many migrations, will the user see this message? Is it ok? Please think about users

Copy link
Member

@ka8725 ka8725 left a comment

Choose a reason for hiding this comment

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

Think about users please

@ka8725
Copy link
Member

ka8725 commented Jul 21, 2024

@VladislavSokov also please add an issue for this PR.

@ka8725 ka8725 merged commit faa1b80 into main Jul 22, 2024
8 checks passed
@ka8725 ka8725 deleted the handle-errors-ui branch July 22, 2024 13:10
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.

Add Flash Messages Show a loader for running migration
2 participants