Skip to content

Commit

Permalink
Merge pull request #1 from Teamwork/feature/editTasks+release
Browse files Browse the repository at this point in the history
Feature/edit tasks+release
  • Loading branch information
DeeJayTC authored Jul 23, 2019
2 parents d6429d6 + db09cbc commit 290fabd
Show file tree
Hide file tree
Showing 91 changed files with 3,901 additions and 1,705 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ typings/

# next.js build output
.next
out/
35 changes: 35 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
}
20 changes: 20 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
38 changes: 11 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,21 @@ To use the Extension you must configure it first!
This extension contributes the following settings:

* `twp.ShowTeamworkPanel`: Use Teamwork Panel instead of AdaptiveCards for Preview, *Currently not working!
* `twp.APIKey`: Your Teamwork API Key
* `twp.APIRoot`: The installation URL of your Teamwork Projects Account

## Known Issues
* Teamwork Embedded view not working due to CORS issues
* `twp.OnlySelfAssigned`: Only show your own tasks
* `twp.showUnAssigned`: Show tasks not assigned to anyone (default yes)

## Release Notes
### 0.5.8
** This is a pre-release version and under development **
* fixed initial project selection for new folders
### 1.0.0
** Release Version **
* Performance improvements on loading tasks and task lists
* Bugfixes
* New Login using our OAuth Flow.

### 0.5.7
### 0.6.0
** This is a pre-release version and under development **
* fixed logo not visible
* Active Project - Can now set the active project by clicking on the taskbar label
* Adding Tasks - Select any piece of code - right click - add a task
* Add tasks is using the active project as target

### 0.5.6
** This is a pre-release version and under development **
* fixed some tasks not being displayed properly
* fixed a few display issues on the task info screen
* few improvements to styling of the Preview Card
* tasks now show priority
* tasks now show wether or not its linked to Teamwork Desk
* can complete a task from the tree

### 0.5.5
** This is a pre-release version and under development **
* fixed some tasks not being displayed properly

### 0.5.2

** This is a pre-release version and under development **
You can use the extension but some features might not work or might be changed in later versions.


18 changes: 7 additions & 11 deletions media/cards/exampleCardDataFilled.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"type": "AdaptiveCard",
"body": [
{
"type": "Image",
"url": "https://s3.amazonaws.com/tw-desk/i/1/doclogo/197378.20190228210102000.197378.20190228210102000rlycm.png",
"size": "Large"
},
{
"type": "Container",
"items": [
Expand All @@ -20,7 +15,7 @@
"size": "Medium",
"weight": "Bolder",
"wrap": true,
"text": "Archived projects being added once clicked \"Add to all projects\""
"text": "Something we want to do"
},
{
"type": "TextBlock",
Expand All @@ -32,11 +27,11 @@
"facts": [
{
"title": "Project:",
"value": "[Teamwork Projects App](undefined/projects/13215117)"
"value": "[Teamwork Projects App](url/projects/421)"
},
{
"title": "TaskList:",
"value": "[Minor Bugs](undefined/tasklists/1136000)"
"value": "[Minor Bugs](url/tasklists/123)"
},
{
"title": "Assigned to:",
Expand All @@ -57,7 +52,7 @@
{
"type": "Image",
"style": "Person",
"url": "https://s3.amazonaws.com/TWFiles/1/userAvatar/userlogo1493205327729946000.jpg",
"url": "https://url/TWFiles/1/userAvatar/userlogo1493205327729946000.jpg",
"size": "Small"
}
],
Expand Down Expand Up @@ -102,6 +97,7 @@
"type": "Column",
"items": [
{
"spacing": "large",
"type": "Image",
"url": "https://tw-synthesiscore-beta.us.teamworkops.com/img/projects/file.png"
}
Expand All @@ -114,7 +110,7 @@
{
"type": "TextBlock",
"text": "Attachments:",
"spacing": "Medium",
"spacing": "large",
"separator": true,
"color": "Accent",
"weight": "Bolder"
Expand Down Expand Up @@ -187,7 +183,7 @@
{
"type": "Image",
"style": "Person",
"url": "https://s3.amazonaws.com/TWFiles/1/userAvatar/tf_7d5af3ea-984b-429d-ae8c-0dffbbf01523.avatar.jpg",
"url": "https://url/TWFiles/1/userAvatar/avatar.avatar.jpg",
"size": "Small"
}
],
Expand Down
8 changes: 4 additions & 4 deletions media/cards/exampleData.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"predecessors": [],
"canEdit": true,
"viewEstimatedTime": true,
"creator-avatar-url": "https://s3.amazonaws.com/TWFiles/1/userAvatar/tf_7D864F78-C68B-E861-6305DA288F04819E.6D362E6B-5DDD-4952-ADA5-3C34DA20A184.jpeg",
"creator-avatar-url": "https://url/TWFiles/1/userAvatar/tf_7D864F78-C68B-E861-6305DA288F04819E.6D362E6B-5DDD-4952-ADA5-3C34DA20A184.jpeg",
"canLogTime": false,
"commentFollowerSummary": "Michael Carew",
"commentFollowerIds": "153196",
Expand All @@ -63,7 +63,7 @@
"private": "0",
"lockdown-id": "",
"datetime": "Wed-04-2019 03:35",
"author-avatar-url": "https://s3.amazonaws.com/TWFiles/1/userAvatar/tf_7D864F78-C68B-E861-6305DA288F04819E.6D362E6B-5DDD-4952-ADA5-3C34DA20A184.jpeg",
"author-avatar-url": "https://url/TWFiles/1/userAvatar/tf_7D864F78-C68B-E861-6305DA288F04819E.6D362E6B-5DDD-4952-ADA5-3C34DA20A184.jpeg",
"author_id": "153196",
"canEdit": true,
"id": "6595662",
Expand Down Expand Up @@ -93,7 +93,7 @@
"categoryId": "",
"filename": "image.png",
"projectId": "328110",
"thumbnail": "https://s3.amazonaws.com/TWFiles/1/thumb_p328110.tf_14A0E8F9-C4FC-FA82-017D4A1B976CAC17.image.png",
"thumbnail": "https://url/TWFiles/1/thumb_p328110.tf_14A0E8F9-C4FC-FA82-017D4A1B976CAC17.image.png",
"fileLocked": "0",
"canEdit": true,
"version": "1",
Expand Down Expand Up @@ -150,7 +150,7 @@
}],
"commentsCountRead": "0",
"commentsCount": "0",
"thumbURL": "https://s3.amazonaws.com/TWFiles/1/thumb_p328110.tf_7597B63F-D36C-11AC-F541699BC2147FE6.image.png",
"thumbURL": "https://surl/TWFiles/1/thumb_p328110.tf_7597B63F-D36C-11AC-F541699BC2147FE6.image.png",
"canDelete": true,
"latestversion": "1",
"categoryColor": "",
Expand Down
25 changes: 13 additions & 12 deletions media/cards/hostconfig.dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@
"choiceSetInputValueSeparator": ",",
"supportsInteractivity": true,
"spacing": {
"small": 8,
"default": 12,
"medium": 16,
"large": 20,
"extraLarge": 24,
"padding": 16
"small": 6,
"default": 10,
"medium": 15,
"large": 25,
"extraLarge": 30,
"padding": 15
},
"separator": {
"lineThickness": 1,
"lineColor": "#EEEEEE"
"lineColor": "#EEEEEE",
"spacing": 15
},
"fontStyles": {
"default": {
"fontFamily": "'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",
"fontFamily": "'Open Sans'",
"fontSizes": {
"small": 12,
"default": 14,
Expand All @@ -29,8 +30,8 @@
"bolder": 600
}
},
"monospace": {
"fontFamily": "'Courier New', Courier, monospace",
"opensans": {
"fontFamily": "'Open Sans'",
"fontSizes": {
"small": 12,
"default": 14,
Expand Down Expand Up @@ -264,7 +265,7 @@
"actionAlignment": "Left"
},
"adaptiveCard": {
"allowCustomStyle": false
"allowCustomStyle": true
},
"imageSet": {
"imageSize": "Medium",
Expand All @@ -285,6 +286,6 @@
"weight": "Default",
"warp": true
},
"spacing": 16
"spacing": 15
}
}
Loading

0 comments on commit 290fabd

Please sign in to comment.