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

Minor alert bug fixes #4274

Merged
merged 2 commits into from
Oct 22, 2019
Merged

Minor alert bug fixes #4274

merged 2 commits into from
Oct 22, 2019

Conversation

ranbena
Copy link
Contributor

@ranbena ranbena commented Oct 22, 2019

  • Refactor
  • Bug Fix

Description

Looked at the code and found some non-crucial bugs/unnecessary code in the alert implementation.

  1. Removed "canceling" state - since Separated Alert to View / Edit / New page components #4183 clicking cancel doesn't actually redirect but instead immediately changes state.mode so the canceling state is redundant.
  2. HelpTrigger was getting the flex column style 😬 Moved it into a <div>.
  3. <Query> shouldn't have an onChange in view mode so I removed the prop. It was undefined anyway 😬
  4. The "Loading query data" indicator was showing up twice cause it's already part of <Query>, so I removed the duplicate.

@ranbena ranbena self-assigned this Oct 22, 2019
@kravets-levko
Copy link
Collaborator

@ranbena Please synchronize this branch with master - it will resolve conflicts and hide duplicate changes

Copy link
Collaborator

@kravets-levko kravets-levko left a comment

Choose a reason for hiding this comment

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

👍

@ranbena ranbena merged commit 5d58503 into master Oct 22, 2019
@ranbena ranbena deleted the alert-fixes branch October 22, 2019 13:58
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.

2 participants