[PR #802] [MERGED] app: add user attributes page #961

Closed
opened 2026-02-27 09:10:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/802
Author: @pixelrazor
Created: 1/18/2024
Status: Merged
Merged: 1/23/2024
Merged by: @pixelrazor

Base: mainHead: attributes-ui


📝 Commits (10+)

  • 55225bc ui: add user attributes page
  • 523d418 build(deps): bump actions/cache from 3 to 4
  • 6120a0d server: clean up the attributes, relax the substring filter conditions
  • cf492db Merge branch 'main' into attributes-ui
  • ee72b57 Clippy fixes
  • e947b8e Refactor + review feedback
  • e88db52 split tables
  • c21ac3b Added maddy example config
  • 86698d5 server: Add the attribute schema to the attributes in graphql
  • 91bc8bf server: don't error on global searches if only one side fails

📊 Changes

32 files changed (+1246 additions, -213 deletions)

View changed files

📝 .devcontainer/Dockerfile (+1 -1)
📝 README.md (+1 -0)
app/queries/create_user_attribute.graphql (+5 -0)
app/queries/delete_user_attribute.graphql (+5 -0)
app/queries/get_user_attributes_schema.graphql (+14 -0)
📝 app/src/components/app.rs (+16 -0)
app/src/components/create_user_attribute.rs (+186 -0)
app/src/components/delete_user_attribute.rs (+172 -0)
app/src/components/form/checkbox.rs (+35 -0)
app/src/components/form/field.rs (+42 -0)
app/src/components/form/mod.rs (+4 -0)
app/src/components/form/select.rs (+46 -0)
app/src/components/form/submit.rs (+24 -0)
📝 app/src/components/mod.rs (+4 -0)
📝 app/src/components/router.rs (+4 -0)
app/src/components/user_schema_table.rs (+198 -0)
📝 app/src/infra/mod.rs (+1 -0)
app/src/infra/schema.rs (+59 -0)
example_configs/maddy.md (+83 -0)
📝 schema.graphql (+5 -4)

...and 12 more files

📄 Description

For #67

User attribute page with deletion and creation. Hardcoded attributes have a disabled button - if too confusing, i can remove it, but i think it's a bit odd looking to see the delete buttons seeming randomly present.

A few samples:
Screenshot 2024-01-17 10 37 08 PM
Screenshot 2024-01-17 10 35 40 PM
Screenshot 2024-01-17 10 35 18 PM


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/802 **Author:** [@pixelrazor](https://github.com/pixelrazor) **Created:** 1/18/2024 **Status:** ✅ Merged **Merged:** 1/23/2024 **Merged by:** [@pixelrazor](https://github.com/pixelrazor) **Base:** `main` ← **Head:** `attributes-ui` --- ### 📝 Commits (10+) - [`55225bc`](https://github.com/lldap/lldap/commit/55225bc15bd407101d6a42a51d2816a4e379552f) ui: add user attributes page - [`523d418`](https://github.com/lldap/lldap/commit/523d4184595d419b75983064280b711f69d528d6) build(deps): bump actions/cache from 3 to 4 - [`6120a0d`](https://github.com/lldap/lldap/commit/6120a0dca5b00690158354c7b49577686b630272) server: clean up the attributes, relax the substring filter conditions - [`cf492db`](https://github.com/lldap/lldap/commit/cf492db57048a128e6cc00abaf59cd3a96aea8d3) Merge branch 'main' into attributes-ui - [`ee72b57`](https://github.com/lldap/lldap/commit/ee72b571d02fc40d09491ff3f8bd231ff57c01d5) Clippy fixes - [`e947b8e`](https://github.com/lldap/lldap/commit/e947b8eef0c6e24aaf3fa9b524a5ae1298e91aa3) Refactor + review feedback - [`e88db52`](https://github.com/lldap/lldap/commit/e88db526b4aef43e7814b078866df19e5346f45c) split tables - [`c21ac3b`](https://github.com/lldap/lldap/commit/c21ac3b94800b5a0812aeda80992083688305300) Added maddy example config - [`86698d5`](https://github.com/lldap/lldap/commit/86698d5c9afc597b45ba060abbf2cd89e367fdf1) server: Add the attribute schema to the attributes in graphql - [`91bc8bf`](https://github.com/lldap/lldap/commit/91bc8bff6cfb8c52a8875e70c66e9be2c53bcdf4) server: don't error on global searches if only one side fails ### 📊 Changes **32 files changed** (+1246 additions, -213 deletions) <details> <summary>View changed files</summary> 📝 `.devcontainer/Dockerfile` (+1 -1) 📝 `README.md` (+1 -0) ➕ `app/queries/create_user_attribute.graphql` (+5 -0) ➕ `app/queries/delete_user_attribute.graphql` (+5 -0) ➕ `app/queries/get_user_attributes_schema.graphql` (+14 -0) 📝 `app/src/components/app.rs` (+16 -0) ➕ `app/src/components/create_user_attribute.rs` (+186 -0) ➕ `app/src/components/delete_user_attribute.rs` (+172 -0) ➕ `app/src/components/form/checkbox.rs` (+35 -0) ➕ `app/src/components/form/field.rs` (+42 -0) ➕ `app/src/components/form/mod.rs` (+4 -0) ➕ `app/src/components/form/select.rs` (+46 -0) ➕ `app/src/components/form/submit.rs` (+24 -0) 📝 `app/src/components/mod.rs` (+4 -0) 📝 `app/src/components/router.rs` (+4 -0) ➕ `app/src/components/user_schema_table.rs` (+198 -0) 📝 `app/src/infra/mod.rs` (+1 -0) ➕ `app/src/infra/schema.rs` (+59 -0) ➕ `example_configs/maddy.md` (+83 -0) 📝 `schema.graphql` (+5 -4) _...and 12 more files_ </details> ### 📄 Description For #67 User attribute page with deletion and creation. Hardcoded attributes have a disabled button - if too confusing, i can remove it, but i think it's a bit odd looking to see the delete buttons seeming randomly present. A few samples: ![Screenshot 2024-01-17 10 37 08 PM](https://github.com/lldap/lldap/assets/24706952/c562a163-2b2e-409c-9dea-2d71c46c939f) ![Screenshot 2024-01-17 10 35 40 PM](https://github.com/lldap/lldap/assets/24706952/52b0312d-3357-4e3f-9a5a-e8f701013096) ![Screenshot 2024-01-17 10 35 18 PM](https://github.com/lldap/lldap/assets/24706952/5c525fb3-8fc6-470a-844c-5a14ac569e65) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 09:10:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#961
No description provided.