Data Request API helper #10
No reviewers
Labels
No labels
Compat
Breaking
Compat
Compatible
Foundry/v14
Kind
Bug
Kind
DevOps
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
Status
Unable to Complete
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Foundry/taf#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/data-requests"
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?
WIP: Data Request API helperto Data Request API helper@ -0,0 +8,4 @@`taf.notifs.error.malformed-socket-payload`,{event: `query.cancel`,details: `A request ID must be provided`,Localizing this would be nice
@ -0,0 +14,4 @@};ChatMessage.implementation.create({flavor: `Data Query Notification`,Localizing this would be nice
@ -0,0 +14,4 @@`taf.notifs.error.malformed-socket-payload`,{event: `query.prompt`,details: `A request ID must be provided`,Localizing this would be nice
@ -0,0 +26,4 @@`taf.notifs.error.malformed-socket-payload`,{event: `query.prompt`,details: `A list of users must be provided`,Localizing this would be nice
@ -0,0 +11,4 @@`taf.notifs.error.malformed-socket-payload`,{event: `query.submit`,details: `A request ID must be provided`,Localizing this would be nice
@ -0,0 +148,4 @@};export async function addResponse(requestID, userID, answers) {const data = queries.get(requestID);Add check to ensure that the query isn't undefined
@ -0,0 +43,4 @@await addReleaseAsset(release.data.id, `system.json`);} catch (e) {console.error(`Failed to add assets to the release`);console.error(e)Remove console error now
@ -0,0 +47,4 @@process.exit(1);};console.log(`Release created, and files uploaded successfully!`);Remove bit about file uploads
@ -0,0 +57,4 @@try {const response = await s3Client.send(new PutObjectCommand(params));console.log("Upload successful");console.log(response);Remove log
@ -0,0 +59,4 @@console.log("Upload successful");console.log(response);} catch (err) {console.error("Error", err);Remove inclusion of
err@ -2,1 +2,4 @@--prosemirror-background: var(--color-cool-5);/* Chip Variables */--chip-color: #fff7ed;Need to add light theme of these variables
@ -0,0 +1,8 @@<div class="control-row"><button data-action="cancelRequest">Cancel RequestLocalizing this would be nice
@ -0,0 +3,4 @@Cancel Request</button><button data-action="finishEarly">Finish Request EarlyLocalizing this would be nice
@ -0,0 +8,4 @@<div class="grow">{{ user.name }}</div>{{#if (eq user.status "cancelled")}}Cancelled is no longer a user status supported
@ -0,0 +25,4 @@type="button"data-action="promptUser">Send RequestLocalize
@ -0,0 +1,16 @@{{#if answers}}<table class="taf-query-summary"><tr><td>Key</td>Localize
@ -0,0 +2,4 @@<table class="taf-query-summary"><tr><td>Key</td><td>Value</td>Localize