-
Notifications
You must be signed in to change notification settings - Fork 9
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
Features/397 invite codes #427
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, Mel! There it is again 😅
I added another table data type code
, which preformats text and makes it copiable. I also completed translations and found a few minor things.
"admin-invite-codes-panel": "Invites", | ||
"admin-subscriber-panel": "Subscribers", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit odd to switch from camelCase to dash-case, but I guess that's because of the route names, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep! I should just group those. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, maybe just a section directly for route names...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I'll make a ticket for it.
<admin-nav> | ||
|
||
</admin-nav> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there supposed to be a child element here or can we use a stand-alone tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reformatting / editor shenanigans, I'll clean that up!
<admin-nav> | ||
|
||
</admin-nav> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And same here: Is there supposed to be a child element here or can we use a stand-alone tag?
Fixes #397
Invite Admin Panel:
Login:
This PR re-introduces the invite admin panel, which allows an admin to generate x number of invites, revoke unused invites, and filter on invites. A user can now optionally enter an invite, and if they're a new user it will "use" that invite allowing them to register. Otherwise they'll see an error.
There is also a navigation bar for the admin panel, and some additions to the data-table component like the ability to conditionally disable buttons.