Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Render names in authorization list #1066

Merged
merged 3 commits into from
Jan 16, 2024
Merged

Conversation

bfollington
Copy link
Collaborator

@bfollington bfollington commented Jan 9, 2024

Fixes #1060

  • Fetch name of authorizations
  • Render in list view
  • Move to .contextMenu for revocation and sharing
Screen.Recording.2024-01-10.at.9.30.42.am.mov

@bfollington bfollington marked this pull request as ready for review January 9, 2024 23:35
Copy link
Collaborator

@gordonbrander gordonbrander left a comment

Choose a reason for hiding this comment

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

Looks good, just recommend adding one test

@@ -949,6 +968,34 @@ public actor Sphere: SphereProtocol, SpherePublisherProtocol {
}
}

public func authorizationName(authorization: Authorization) async throws -> String {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's add a test for this method

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good call, done!

Copy link
Collaborator

@gordonbrander gordonbrander left a comment

Choose a reason for hiding this comment

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

LGTM

@bfollington bfollington merged commit 4b93044 into main Jan 16, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Authorization list should display the name of each authorization
2 participants