[PR #1186] [MERGED] chore: rename user_id field to username #1309

Closed
opened 2025-11-01 21:15:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1186
Author: @kolaente
Created: 7/28/2025
Status: Merged
Merged: 7/28/2025
Merged by: @kolaente

Base: mainHead: chore/rename-userid-field


📝 Commits (1)

  • 96622de chore: rename user_id field to username

📊 Changes

6 files changed (+12 additions, -14 deletions)

View changed files

📝 frontend/src/components/sharing/UserTeam.vue (+5 -5)
📝 frontend/src/modelTypes/IUserShareBase.ts (+1 -1)
📝 frontend/src/models/userShareBase.ts (+1 -1)
📝 frontend/src/services/userProject.ts (+2 -2)
📝 pkg/models/project_team.go (+1 -2)
📝 pkg/models/project_users.go (+2 -3)

📄 Description

The field is actually the username, but it was called user_id for some reason. This change makes this more clear


🔄 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/go-vikunja/vikunja/pull/1186 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 7/28/2025 **Status:** ✅ Merged **Merged:** 7/28/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `chore/rename-userid-field` --- ### 📝 Commits (1) - [`96622de`](https://github.com/go-vikunja/vikunja/commit/96622dea340f09845da0371a569c227269d7f9e9) chore: rename user_id field to username ### 📊 Changes **6 files changed** (+12 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/sharing/UserTeam.vue` (+5 -5) 📝 `frontend/src/modelTypes/IUserShareBase.ts` (+1 -1) 📝 `frontend/src/models/userShareBase.ts` (+1 -1) 📝 `frontend/src/services/userProject.ts` (+2 -2) 📝 `pkg/models/project_team.go` (+1 -2) 📝 `pkg/models/project_users.go` (+2 -3) </details> ### 📄 Description The field is actually the username, but it was called user_id for some reason. This change makes this more clear --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-01 21:15:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#1309