-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Grant modal UI fixes for mobile (#57)
* Added changeset * Added logs and mobile fix * Trying in tab strategy * Added polling * Polished polling * Update dashboard url * Testing fetch fix * Cleanup, isolated types * Updated connection * Added connecting modal, simplified flow * Added close button to connected modal * Removed old prop * Fixed destructuring error * Added new changeset --------- Co-authored-by: justin <[email protected]>
- Loading branch information
1 parent
e7a8b2b
commit 5e0d06f
Showing
14 changed files
with
208 additions
and
78 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@burnt-labs/abstraxion": major | ||
"abstraxion-dashboard": minor | ||
"demo-app": minor | ||
--- | ||
|
||
Moved display logic to internal "useModal" hook. Consumers will need to change their strategy from a custom piece of state within their app to utilizing this new hook. The login flow will now be a single tab experience. |
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,6 @@ | ||
--- | ||
"abstraxion-dashboard": minor | ||
"@burnt-labs/ui": minor | ||
--- | ||
|
||
Added font files and small ui tweaks |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
export interface GrantsResponse { | ||
grants: Grant[]; | ||
pagination: Pagination; | ||
} | ||
|
||
export interface Grant { | ||
granter: string; | ||
grantee: string; | ||
authorization: Authorization; | ||
expiration: string; | ||
} | ||
|
||
export interface Authorization { | ||
"@type": string; | ||
grants: GrantAuthorization[]; | ||
} | ||
|
||
export interface GrantAuthorization { | ||
contract: string; | ||
limit: Limit; | ||
filter: Filter; | ||
} | ||
|
||
export interface Limit { | ||
"@type": string; | ||
remaining: string; | ||
} | ||
|
||
export interface Filter { | ||
"@type": string; | ||
} | ||
|
||
export interface Pagination { | ||
next_key: null | string; | ||
total: string; | ||
} |
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
Oops, something went wrong.