platformplatform / PlatformPlatform

šŸš€ Pre-alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
226 stars 24 forks source link

Add User Management page with dummy data and Admin Center skeleton #478

Closed Maximus404 closed 2 months ago

Maximus404 commented 3 months ago

Summary & Motivation

Create a new User Management page with dummy data. This includes displaying a table with avatars and user profile data, along with resizing, sorting, and pagination functionality. The page also features unimplemented buttons for filtering, inviting users, and navigation to tabs like invited users and user groups.

Additionally, this update introduces the skeleton for the Admin Center, including main navigation and breadcrumbs.

Checklist

tjementum commented 3 months ago

@Maximus404 Awesome progress. As you might know, Iā€™m not good at doing frontend. However, I did have some problems with, e.g., missing ā€˜avatar.png,ā€™ and when I added one, the table became way too big. So, Iā€™ve done a bunch of small adjustments and ā€œimprovementsā€ to align it with the Figma design. Also, Iā€™ve tried to play with the table and column resizing. I actually think itā€™s pretty decent, although still not perfect.

I pushed my changes to a branch in the main repository with the same name. Feel free to incorporate my changes and force push them to your fork. Iā€™m sure that the Tailwind needs some cleaning up/reordering as I donā€™t know the conventions.

But heyā€¦ this is one of the things Iā€™ve been looking forward to for a very long time, and it is just great to see that we can make something that is very close to the Figma design (although I did not manage to remove the outer border from the React Aria Table, which would be great if we could). Also, the accessibility of it is just amazing.

One comment about naming of things, which I did not change. But in the API I use the following names. It would be great if we use the exact same names in the frontend code, which will make it easier to understand and change.

When querying:

When you get the result it will contain this:

I guess I need to add Title, and also we will have to find a good way to change e.g. TenantOwner to just Owner.