Asana: read task title from single task pane

This commit is contained in:
Manuel Bouza 2020-01-09 19:19:42 +01:00
parent 58bc2ff7fa
commit 33dd3299d9
3 changed files with 10 additions and 3 deletions

@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.3.3] - 019-10-17
## [1.3.4] - 2020-01-09
### Added
- Asana: read task title from single task pane
## [1.3.3] - 2019-10-17
### Fixed

@ -1,7 +1,7 @@
{
"name": "moco-browser-extensions",
"description": "Browser plugin for MOCO",
"version": "1.3.3",
"version": "1.3.4",
"license": "MIT",
"scripts": {
"start": "yarn start:chrome",

@ -16,7 +16,8 @@ export default {
description: document =>
document.querySelector(".ItemRow--highlighted textarea")?.textContent?.trim() ||
document.querySelector(".ItemRow--focused textarea")?.textContent?.trim() ||
document.querySelector(".SingleTaskPane textarea")?.textContent?.trim(),
document.querySelector(".SingleTaskPane textarea")?.textContent?.trim() ||
document.querySelector(".SingleTaskTitleInput-taskName textarea")?.textContent?.trim(),
projectId: projectIdentifierBySelector(".TopbarPageHeaderStructure-titleRow h1"),
},