Add Sigit ID as a path param #195
No reviewers
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sigit/sigit.io#195
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "issue-171"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #171
Intent
When opening a
/sign
page, we do not link a particularsigit
which we are opening, and we pass the info aboutsigit
in thelocation.state
object.To make it linkable, I've added an optional
:id
param in the/sign
route and stopped providing state in thelocation.state
.id
param is actually theSigit ID
which is thecreate event id
.@ -73,3 +75,1 @@
arrayBuffer: decryptedArrayBuffer,
uploadedZip
} = location.state || {}
const [metaInNavState, setMetaInNavState] = useState<Meta | undefined>()
We should just replace the value of
metaInNavState
without having states.We can just move it out of the destructuring and modify it if needed? Something like?
@ -19,6 +19,7 @@ export const appPrivateRoutes = {
homePage: '/',
create: '/create',
sign: '/sign',
Can we use optional segment? Instead of two routes
/sign
and/sign/:id
we can combine it into/sign/:id?
.Can you please add update the description of the PR with its primarily objective and what changes have been made?
I would like to see:
sigitCreateId
-> selfExplanatory@ -76,0 +81,4 @@
}
/**
* If userAppData (redux) is available, and we have route param (sigit id)
sigit id - what is this? should be defined