Skip to content

Integration with ADAMANT Notification Service #658

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

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open

Conversation

bludnic
Copy link
Member

@bludnic bludnic commented Aug 7, 2024

New notification service https://github.com/adamant-im/adamant-ns
Created the PR just to trigger the build.

Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
adamant-im ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2025 8:37pm

Copy link

github-actions bot commented Aug 7, 2024

Deployed to https://msg-adamant-pr-658.surge.sh 🚀

@bludnic
Copy link
Member Author

bludnic commented Dec 4, 2024

@bludnic bludnic changed the title Testing ADAMANT Notification Service Integration with ADAMANT Notification Service Feb 3, 2025
@bludnic bludnic requested a review from S-FrontendDev March 18, 2025 18:13
const { type, payload } = mutation
if (type === 'chat/setFulfilled' && payload) {
getCurrentAccount().then((account) => {
const pk = account.privateKey
Copy link
Collaborator

Choose a reason for hiding this comment

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

    const { privateKey } = account

Copy link
Collaborator

Choose a reason for hiding this comment

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

it's just a syntactic sugar.

Copy link
Member Author

Choose a reason for hiding this comment

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

The point here is about shortname pk. It's not clear what does it mean. Better to use privateKey

Copy link
Collaborator

Choose a reason for hiding this comment

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

can we use ts here?

Copy link
Collaborator

Choose a reason for hiding this comment

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

As of now none of the plugins are in .ts, that small plugin in js should not be an issue for now.

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't matter. You can import TS in JS, the configuration allow this

Comment on lines +263 to +275
data: function () {
return {
passwordDialog: false,
selectedNotificationValue: 0,
notificationItems: [
{ title: 'No Notifications', value: notificationType['No Notifications'] },
{ title: 'Background Fetch', value: notificationType['Background Fetch'] },
{ title: 'Push', value: notificationType['Push'] }
],
showInfo: true,
infoText: this.$t('options.notifications_info')
}
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

what purpose for function?

let's move new vars to setup hook

Copy link
Collaborator

Choose a reason for hiding this comment

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

We'll do that later.

Copy link
Member Author

Choose a reason for hiding this comment

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

@NikIvv Please don't resolve the conversation until it's fixed

Copy link
Collaborator

@NikIvv NikIvv Apr 13, 2025

Choose a reason for hiding this comment

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

Ok, I did not notice it has been already changed.

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.

3 participants