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: kind based nostr permissions #3054

Merged
merged 45 commits into from
Mar 21, 2024
Merged

feat: kind based nostr permissions #3054

merged 45 commits into from
Mar 21, 2024

Conversation

pavanjoshi914
Copy link
Contributor

@pavanjoshi914 pavanjoshi914 commented Feb 20, 2024

Describe the changes you have made in this PR

kind based nostr permissions + overall permission refactoring in extension

Type of change

  • feat: New feature (non-breaking change which adds functionality)

How has this been tested?

try permisisons functionality

Checklist

  • Self-review of changed code
  • Manual testing
  • Added automated tests where applicable
  • Update Docs & Guides
  • For UI-related changes
  • Darkmode
  • Responsive layout

@reneaaron reneaaron changed the title feat: initia nostr permission suffix feat: nostr permissions Feb 22, 2024
@pavanjoshi914 pavanjoshi914 changed the title feat: nostr permissions feat: kind based nostr permissions Mar 15, 2024
@pavanjoshi914 pavanjoshi914 marked this pull request as ready for review March 18, 2024 07:08
Copy link
Contributor

@reneaaron reneaaron left a comment

Choose a reason for hiding this comment

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

Great progress 💯 Can't wait to finally use it myself.

src/app/components/PermissionModal/index.tsx Outdated Show resolved Hide resolved
src/app/components/Badge/index.tsx Outdated Show resolved Hide resolved
src/app/components/Badge/index.tsx Outdated Show resolved Hide resolved
src/i18n/locales/en/translation.json Outdated Show resolved Hide resolved
src/app/components/SitePreferences/index.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@reneaaron reneaaron left a comment

Choose a reason for hiding this comment

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

image

NIP04 / NIP44 translations are currently missing, please just use "Decrypt / Encrypt data", no mention of NIP04 / NIP44 - users won't know what this is.

Can we possibly also merge them into one nostr/encrypt / nostr/decrypt permission? For a user I think it makes no difference which internal method is used to encrypt / decrypt data.

src/app/components/Badge/index.tsx Outdated Show resolved Hide resolved
src/app/components/PermissionModal/index.tsx Outdated Show resolved Hide resolved
src/app/components/SitePreferences/index.tsx Outdated Show resolved Hide resolved
src/app/components/SitePreferences/index.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@reneaaron reneaaron left a comment

Choose a reason for hiding this comment

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

tACK

@reneaaron reneaaron merged commit 1896074 into master Mar 21, 2024
7 checks passed
@reneaaron reneaaron deleted the nostr-permissions-suffix branch March 21, 2024 12:51
This pull request was closed.
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