Skip to content

QuickAccess: change link address from hard link to VxURL#2635

Merged
tamlok merged 1 commit intovnotex:masterfrom
Schips-Wong:master
Aug 5, 2025
Merged

QuickAccess: change link address from hard link to VxURL#2635
tamlok merged 1 commit intovnotex:masterfrom
Schips-Wong:master

Conversation

@Schips-Wong
Copy link
Contributor

@Schips-Wong Schips-Wong commented Jul 30, 2025

Use the format '#signature:fileName' for QuickAccess instead of absolute file paths (though compatibility support for absolute paths is still maintained).

Now each record in QuickAccess dynamically retrieves its absolute address when opened, which helps prevent broken links caused by file renaming or moving.

#2636

if (fileObj["name"].toString() == currentFileName) {
signature = fileObj["signature"].toString();
break;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A problem with "arrow code", The number of if else layers should try not to reach three

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. All files modified in the new commit have been reviewed.

@Schips-Wong Schips-Wong closed this Aug 4, 2025
@Schips-Wong Schips-Wong changed the title QuickAccess: change link address from hard link to '#signature' 【ErrorBranch】QuickAccess: change link address from hard link to '#signature' Aug 4, 2025
Use the format '#signature:fileFullName' (VxURL) for QuickAccess instead of absolute file paths (though compatibility support for absolute paths is still maintained).

Now each record in QuickAccess dynamically retrieves its absolute address when opened, which helps prevent broken links caused by file renaming or moving.
@Schips-Wong Schips-Wong reopened this Aug 4, 2025
@Schips-Wong Schips-Wong changed the title 【ErrorBranch】QuickAccess: change link address from hard link to '#signature' QuickAccess: change link address from hard link to '#signature' Aug 4, 2025
@Schips-Wong Schips-Wong changed the title QuickAccess: change link address from hard link to '#signature' QuickAccess: change link address from hard link to VxURL Aug 4, 2025
@tamlok tamlok merged commit f094b24 into vnotex:master Aug 5, 2025
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants