feat(sharing): add custom share ID input and permission#472
Merged
Conversation
- Add ID input field in create/edit share forms - Add ID input in quick share dialog with maxLength=64 - Add new_id field to ShareUpdate type for renaming - Add customize_share_id permission (bit 15) - Add i18n strings for ID placeholder and permission label
7 tasks
jyxjjj
approved these changes
Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description / 描述
Frontend changes for custom share ID support (backend PR:
OpenListTeam/OpenList#XXXX).
AddOrEdit.tsx)Share.tsx) withmaxLength=64new_idfield toShareUpdatetype for renaming share IDsidfield toSharetype for custom ID on creationcustomize_share_idpermission (bit 15) toUserPermissionsMotivation and Context / 背景
Random share IDs are hard to remember. This enables users with the
customize_share_idpermission to set memorable custom IDs (e.g.my-photos) whencreating or editing shares.
Relates to OpenListTeam/OpenList#1806
How Has This Been Tested? / 测试
customize_share_idpermission checkbox renders in user management pageChecklist / 检查清单
CONTRIBUTING
document.
go fmtor prettier.description if lacking permissions).
Labels needed:
enhancementfeature when applicable.
PR)