Skip to content

Conversation

@backportbot-libresign
Copy link

Backport of PR #6309

- Rename selectedId to selectedNodeId in the files store state
- Replace all references to selectedId with selectedNodeId throughout files.js
- Update selectFile() method to use nodeId parameter
- Add getNodeIdByFileId() helper method to map file IDs to node IDs
- Remove unused slugfy() helper function
- Update async addFile() to handle file hydration properly
- Update removeFilesFromEnvelope() to use only fileIds parameter
- Fix getAllFiles() and updateAllFiles() to work with nodeId
- Ensure backward compatibility with file.id property
- Update sign.js to use selectedNodeId from files store

Signed-off-by: Vitor Mattos <[email protected]>
- Replace prop 'fileId' with 'nodeId'
- Rename computed property 'currentFileId' to 'currentNodeId'
- Add new computed property 'currentFile' for cleaner access
- Update template to use currentFile instead of inline store access
- Simplify DOM binding by using currentFile computed property
- Remove unnecessary store property access in template
- Fix previewUrl to use currentFile consistently

Signed-off-by: Vitor Mattos <[email protected]>
- Replace fileId parameter with nodeId in promise handlers
- Update selectFile() calls to receive nodeId instead of fileId
- Ensure consistency with new store API

Signed-off-by: Vitor Mattos <[email protected]>
- Replace selectedId with selectedNodeId in the comparison
- Ensure consistency with updated store structure

Signed-off-by: Vitor Mattos <[email protected]>
…roperties

- Remove envelopeUuid computed property
- Remove envelopeId computed property
- Replace all references to use envelope directly from getFile()
- Simplify envelope.id and envelope.uuid access
- Remove unnecessary envelope property cache
- Update removeFilesFromEnvelope() calls to pass only fileIds
- Remove redundant file count updates in addFilesToEnvelope
- Use consistent nodeId/file.id property naming

Signed-off-by: Vitor Mattos <[email protected]>
- Rename data property 'lastSyncedFileId' to 'lastSyncedNodeId'
- Update watcher from 'filesStore.selectedId' to 'filesStore.selectedNodeId'
- Update handler to work with newNodeId and oldNodeId parameters
- Replace fileId parameter with nodeId in sendNotify method
- Use getFile().id to get the current file ID when needed

Signed-off-by: Vitor Mattos <[email protected]>
- Update file computed property to use source.nodeId instead of source.id
- Replace all source.id references with source.nodeId
- Update selectFile() calls to pass nodeId

Signed-off-by: Vitor Mattos <[email protected]>
- Replace fileId variable with nodeId in selection filter logic
- Update selection logic to use source.nodeId instead of source.id
- Remove debug log statement for shift key selection
- Ensure consistency with store API

Signed-off-by: Vitor Mattos <[email protected]>
… loop

- Replace fileId with nodeId in changeLoadingStatusOfSelectedFiles method
- Update variable naming for consistency

Signed-off-by: Vitor Mattos <[email protected]>
- Replace filesStore.selectedId with filesStore.selectedNodeId
- Ensure consistency with updated store API

Signed-off-by: Vitor Mattos <[email protected]>
- Replace fileId/id with nodeId in initialization loops
- Update selectedId with selectedNodeId in store assignments
- Fix nodeId parameter usage in file lookups

Signed-off-by: Vitor Mattos <[email protected]>
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Jan 5, 2026
@backportbot-libresign backportbot-libresign bot added this to the Next Patch (32) milestone Jan 5, 2026
@vitormattos vitormattos merged commit fa7b08d into stable32 Jan 5, 2026
30 checks passed
@vitormattos vitormattos deleted the backport/6309/stable32 branch January 5, 2026 15:54
@github-project-automation github-project-automation bot moved this from 0. Needs triage to 4. to release in Roadmap Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 4. to release

Development

Successfully merging this pull request may close these issues.

2 participants