-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1558 from sora-xor/release/1.41.0
Release 1.41.0
- Loading branch information
Showing
140 changed files
with
4,582 additions
and
2,744 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,55 @@ | ||
# Task | ||
### **Description** | ||
- **What does this PR do?** | ||
- _A brief explanation of the change, its purpose, and how it impacts the codebase._ | ||
|
||
- **Why is this change needed?** | ||
- _Describe the problem the PR solves or the feature it adds._ | ||
|
||
[PW-XXXX]: Title. | ||
### **Type of change** | ||
- [ ] Bug fix | ||
- [ ] New feature | ||
- [ ] Refactor (cleaning up code without changing functionality) | ||
- [ ] Documentation update | ||
- [ ] Tests | ||
- [ ] Other (describe below): | ||
|
||
## Changes | ||
--- | ||
|
||
1. Description. | ||
### **Checklist** | ||
- [ ] Code adheres to coding guidelines and standards. | ||
- [ ] Linting and formatting checks have passed, no local issues. | ||
- [ ] Existing tests pass successfully, no local errors. | ||
- [ ] Pull request is linked to a relevant issue or task. | ||
- [ ] Tests are written for new features or fixes. | ||
- [ ] Documentation has been updated (if applicable). | ||
|
||
--- | ||
|
||
### **Related Issue/Task** | ||
- Issue/Task link: _[Paste link to issue or Jira ticket]_ | ||
|
||
[PW-XXXX]: https://soramitsu.atlassian.net/browse/PW-XXXX | ||
--- | ||
|
||
### **Testing** | ||
- **How has this been tested?** | ||
- _Describe manual testing steps or link to relevant automated tests._ | ||
|
||
- **Edge cases covered:** | ||
- _List any specific cases handled by this PR._ | ||
|
||
--- | ||
|
||
### **Screenshots/Video/Link to dedicated environment (if applicable)** | ||
- _Include any visual examples of the change + dedicated environment (if there is a sort of automation)._ | ||
|
||
--- | ||
|
||
### **Additional Notes** | ||
- _Add any information the reviewer should consider, especially cross-project impacts, UX changes, or potential risks._ | ||
|
||
--- | ||
|
||
### **Reviewer Tasks** | ||
- [ ] Review logic for correctness and clarity. | ||
- [ ] Verify that the code is following best practices. | ||
- [ ] Test or review related areas if this PR affects other projects. |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions
70
src/components/App/BrowserNotification/BrowserNotifsBlockedRotatePhone.vue
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<template> | ||
<dialog-base class="browser-notification" :visible.sync="isVisible"> | ||
<div class="browser-notification-dialog"> | ||
<img src="@/assets/img/mobile/rotate_phone.svg" alt="mobile-rotate-phone" /> | ||
<p class="notification-title">{{ t('browserNotificationDialog.rotatetitle') }}</p> | ||
<p class="notification-message">{{ t('browserNotificationDialog.rotateMessage') }}</p> | ||
<s-button | ||
type="primary" | ||
class="s-typography-button--large browser-notification-dialog__btn" | ||
:loading="loading" | ||
@click="agree" | ||
> | ||
{{ t('browserNotificationDialog.agree') }} | ||
</s-button> | ||
</div> | ||
</dialog-base> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { mixins, components } from '@soramitsu/soraneo-wallet-web'; | ||
import { Component, Mixins } from 'vue-property-decorator'; | ||
import TranslationMixin from '@/components/mixins/TranslationMixin'; | ||
@Component({ | ||
components: { | ||
DialogBase: components.DialogBase, | ||
}, | ||
}) | ||
export default class AppBrowserNotifsBlockedRotatePhone extends Mixins( | ||
TranslationMixin, | ||
mixins.DialogMixin, | ||
mixins.LoadingMixin | ||
) { | ||
agree(): void { | ||
this.closeDialog(); | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.browser-notification-dialog { | ||
@include browser-notification-dialog; | ||
justify-content: center; | ||
align-items: center; | ||
max-height: 230px; | ||
} | ||
img { | ||
height: 113px; | ||
width: 113px; | ||
} | ||
.notification-title { | ||
margin-top: 33px; | ||
margin-bottom: 14px; | ||
font-size: 24px; | ||
font-weight: 600; | ||
color: var(--s-color-base-content-primary); | ||
} | ||
.notification-message { | ||
font-size: 13px; | ||
font-weight: 500; | ||
color: var(--s-color-base-content-secondary); | ||
max-width: 200px; | ||
text-align: center; | ||
margin-bottom: 14px; | ||
} | ||
</style> |
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
Oops, something went wrong.