Skip to content

Commit

Permalink
Swapped "Estimate" and "Tracked Time" in column display
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJHockley committed Aug 21, 2020
1 parent 66ecded commit d595f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Better ActiveCollab Chrome Extension
This is a simple chrome extension to add some extra data to the ActiveCollab tasks column view. This does not work on the list view.

The extension will add the total estimates and tracked time for every task in a list. This will be displayed next to the number of tasks in a list in the format "\[Estimate / Tracked Time\], e.g: "Backlog (2) \[8 / 9\]".
The extension will add the total estimates and tracked time for every task in a list. This will be displayed next to the number of tasks in a list in the format "\[Tracked Time / Estimate\], e.g: "Backlog (2) \[8 / 9\]".

Each card in a list must also have an estimate added to it. If it does not have an estimate, a '🤷‍♀️' will be added to the right side of the card to remind you. How helpful.

Expand Down
2 changes: 1 addition & 1 deletion content.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function updateDisplayElement(element, content) {

function getDisplayText(list) {
if (!list.sumEstimate && !list.sumTracked) return '';
return `[${list.sumEstimate || '0'} / ${list.sumTracked || '0'}]`;
return `[${list.sumTracked || '0'} / ${list.sumEstimate || '0'}]`;
}

// Displays estimate and tracked time info for each list.
Expand Down

0 comments on commit d595f6d

Please sign in to comment.