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

feat: Replaced alert with custom modal #270

Merged
merged 3 commits into from
Apr 22, 2022

Conversation

amirsaran3
Copy link
Collaborator

@amirsaran3 amirsaran3 commented Apr 21, 2022

Description

Instead of using the alert() function I created a custom component and state to show and hide custom alert box on errors.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Type of change. This type of change is the main reason for the PR.

  • FIX - a PR of this type patches a bug.
  • FEATURE - a PR of this type introduces a new feature.
  • BUILD - a PR of this type introduces build changes.
  • CI - a PR of this type introduces CI changes.
  • DOCS - a PR of this type introduces DOCS improvement.
  • STYLE - a PR of this type introduces style changes.
  • REFACTOR - a PR of this type introduces refactoring.
  • PERFORMANCE - a PR of this type introduces performance changes.
  • TEST - a PR of this type adds more tests.
  • CHORE - a PR introduces other changes than the specified above.

Breaking changes

  • BREAKING CHANGE - SPECIFY: _______
  • NO BREAKING CHANGE - this PR doesn't contain any breaking changes and it's backwards compatible

@amirsaran3 amirsaran3 added the change-request A request to change an existing component or feature label Apr 21, 2022
@amirsaran3 amirsaran3 self-assigned this Apr 21, 2022
@github-actions github-actions bot changed the title Replaced alert with custom modal feat: Replaced alert with custom modal Apr 21, 2022
@amirsaran3 amirsaran3 merged commit 11fe784 into dev Apr 22, 2022
@amirsaran3 amirsaran3 deleted the SQAC-128-migrate-to-custom-alerts branch April 22, 2022 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change-request A request to change an existing component or feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants