Skip to content
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

Add user management screen #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Dedac
Copy link
Contributor

@Dedac Dedac commented Sep 23, 2024

Fixes #2

Add user management functionality to the settings page.

  • Beam.Client/Pages/Settings.razor

    • Add a user management section with a list of users and options to add, edit, and delete users.
    • Add a form to add new users.
    • Add buttons to edit and delete existing users.
    • Update the OnInitializedAsync method to fetch the list of users.
    • Add methods AddUser, EditUser, and DeleteUser to handle user management actions.
    • Add a prompt method to get user input for editing user names.
  • Beam.Client/Services/DataService.cs

    • Add methods AddUser, EditUser, and DeleteUser to manage users.
    • Add a method GetUsers to fetch the list of users.
    • Add an event UpdatedUsers to notify when the user list is updated.

For more details, open the Copilot Workspace session.

Fixes #2

Add user management functionality to the settings page.

* **Beam.Client/Pages/Settings.razor**
  - Add a user management section with a list of users and options to add, edit, and delete users.
  - Add a form to add new users.
  - Add buttons to edit and delete existing users.
  - Update the `OnInitializedAsync` method to fetch the list of users.
  - Add methods `AddUser`, `EditUser`, and `DeleteUser` to handle user management actions.
  - Add a `prompt` method to get user input for editing user names.

* **Beam.Client/Services/DataService.cs**
  - Add methods `AddUser`, `EditUser`, and `DeleteUser` to manage users.
  - Add a method `GetUsers` to fetch the list of users.
  - Add an event `UpdatedUsers` to notify when the user list is updated.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/octodemo/BeamCodespacesDemo/issues/2?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a new user management screen
1 participant