1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

feat: tags (#7029)

* feat: tags

* feat: optimize code

* feat: optimize ui

* feat: update title

* feat: update title

* Feat: tags status management

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize rebase

---------

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
Co-authored-by: 杨国璇 <ygx@192.168.1.2>
This commit is contained in:
杨国璇
2024-11-22 17:11:55 +08:00
committed by GitHub
parent 0f6911bf50
commit 25860d1ab8
140 changed files with 5047 additions and 664 deletions

View File

@@ -254,6 +254,17 @@ class Context {
return this.metadataAPI.getPeoplePhotos(repoID, recordId, start, limit);
};
// file tag
addFileTags = (recordId, tagIds) => {
const repoID = this.settings['repoID'];
return this.metadataAPI.addFileTags(repoID, recordId, tagIds);
};
updateFileTags = (recordId, tagIds) => {
const repoID = this.settings['repoID'];
return this.metadataAPI.updateFileTags(repoID, recordId, tagIds);
};
}
export default Context;