refactor(sh-admin): updated invite flow for the admin dashboard (#4176)

* feat: new success invite link modal introduced

* refactor: replaced button with lucide icon

* style: vertical padding to lucide icon

* feat: new success invite modal component

* refactor: hide copy link button when there are no pending invites

* refactor: changed copy link button to copy invite link

* chore: minor UI update

---------

Co-authored-by: nivedin <nivedinp@gmail.com>
This commit is contained in:
Joel Jacob Stephen
2024-07-26 17:44:41 +03:00
committed by GitHub
parent 9cde6c597b
commit 9e445cda84
6 changed files with 96 additions and 19 deletions

View File

@@ -166,6 +166,8 @@
"link_copied_to_clipboard": "Link copied to clipboard",
"logged_out": "Logged out",
"login_as_admin": "and login with an admin account.",
"login_using_email": "Please ask the user to check their email or share the link below",
"login_using_link": "Please ask the user to login using the link below",
"logout": "Logout",
"magic_link_sign_in": "Click on the link to sign in.",
"magic_link_success": "We sent a magic link to",
@@ -269,10 +271,12 @@
"valid_owner_email": "Please enter a valid owner email"
},
"users": {
"add_user": "Add User",
"admin": "Admin",
"admin_id": "Admin ID",
"cancel": "Cancel",
"created_on": "Created On",
"copy_invite_link": "Copy Invite Link",
"copy_link": "Copy Link",
"date": "Date",
"delete": "Delete",
@@ -296,6 +300,7 @@
"load_list_error": "Unable to Load Users List",
"make_admin": "Make Admin",
"name": "Name",
"new_user_added": "New User Added",
"no_invite": "No pending invites found",
"no_shared_requests": "No shared requests created by the user",
"no_users": "No users found",