-
Notifications
You must be signed in to change notification settings - Fork 303
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
Amina/wall 575/maintenance notifications for site and cashier #9064
Merged
vinu-deriv
merged 19 commits into
deriv-com:master
from
amina-deriv:amina/wall-575/site_maintenance_notifications
Aug 15, 2023
Merged
Changes from 4 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
08e264a
fix: notifications_in_cashier_and_accounts
amina-deriv 9874cbf
fix: notification for maintenance
amina-deriv 654e1d7
Merge branch 'master' into amina/wall-575/site_maintenance_notifications
amina-deriv 74a509d
Merge branch 'master' into amina/wall-575/site_maintenance_notifications
amina-deriv f60b287
fix: notification_filter
amina-deriv a3daf5f
Merge branch 'amina/wall-575/site_maintenance_notifications' of githu…
amina-deriv 4a07ecc
fix: notification_filter
amina-deriv 29dab29
fix: filter notifications in mobile
amina-deriv aaeeaf2
fix: code_review_suggestions
amina-deriv 44390b1
chore: merge master
amina-deriv 64c0961
chore: merge master
amina-deriv 921b7ae
chore: resolve conflict
amina-deriv bc76b83
fix: showing notification in mobile
amina-deriv 39c0fc0
Merge branch 'master' into amina/wall-575/site_maintenance_notifications
amina-deriv f66881a
fix: conflicts
amina-deriv 1a325a9
fix: resolve conflicts
amina-deriv 1575fad
Merge branch 'master' into amina/wall-575/site_maintenance_notifications
amina-deriv 430de3f
fix: resolve conflicts
amina-deriv 0d089de
Merge branch 'amina/wall-575/site_maintenance_notifications' of githu…
amina-deriv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1729,19 +1729,6 @@ export default class ClientStore extends BaseStore { | |
|
||
responseWebsiteStatus(response) { | ||
this.website_status = response.website_status; | ||
if (this.website_status.message && this.website_status.message.length) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is great 👍🏼 |
||
this.root_store.notifications.addNotificationMessage({ | ||
key: 'maintenance', | ||
header: localize('Site is being updated'), | ||
message: localize(this.website_status.message), | ||
type: 'warning', | ||
is_persistent: true, | ||
}); | ||
} else { | ||
this.root_store.notifications.removeNotificationMessage({ | ||
key: 'maintenance', | ||
}); | ||
} | ||
} | ||
|
||
responseLandingCompany(response) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
z-index: 6; | ||
position: absolute; | ||
right: 0; | ||
margin-top: 1.6rem; | ||
|
||
> div { | ||
display: flex; | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this is removed from personal details component?
Could there be notifications which should be only displayed when the user is in personal details route?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i removed it from this component and added in parent account/app.tsx .