mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[PR #75] [MERGED] Implement a CommonComponent to refactor common functionality in app components #528
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#528
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/75
Author: @nitnelave
Created: 10/31/2021
Status: ✅ Merged
Merged: 10/31/2021
Merged by: @nitnelave
Base:
main← Head:common📝 Commits (10+)
50e91a9app: Create CommonComponentf0f6184app: Migrate change_password to CommonComponent5d80105app: Migrate group_details to CommonComponentc7e0787app,infra: Move more functionality in CommonComponent866dc15app: Migrate user_details to CommonComponented29afcapp: Migrate Login to CommonComponentb197162app: Migrate AddGroupMember to CommonComponent1302db7app: Migrate AddUserToGroup to CommonComponent79a1f4aapp: Migrate CreateGroup to CommonComponentd9231d4app: Migrate CreateUser to CommonComponent📊 Changes
18 files changed (+758 additions, -727 deletions)
View changed files
📝
app/src/components/add_group_member.rs(+49 -65)📝
app/src/components/add_user_to_group.rs(+49 -65)📝
app/src/components/change_password.rs(+32 -53)📝
app/src/components/create_group.rs(+21 -28)📝
app/src/components/create_user.rs(+40 -47)📝
app/src/components/delete_group.rs(+55 -46)📝
app/src/components/delete_user.rs(+55 -46)📝
app/src/components/group_details.rs(+47 -65)📝
app/src/components/group_table.rs(+31 -50)📝
app/src/components/login.rs(+31 -42)📝
app/src/components/logout.rs(+30 -34)📝
app/src/components/remove_user_from_group.rs(+33 -45)📝
app/src/components/user_details.rs(+31 -49)📝
app/src/components/user_details_form.rs(+44 -46)📝
app/src/components/user_table.rs(+32 -45)📝
app/src/infra/api.rs(+2 -1)➕
app/src/infra/common_component.rs(+175 -0)📝
app/src/infra/mod.rs(+1 -0)📄 Description
This makes the implementation more standard, and regularizes the use of
error,task,propsand so on.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.