Compare commits
1 Commits
dependabot
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ffd32afdd8 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,3 @@
|
||||
node_modules/
|
||||
build/
|
||||
.env
|
||||
/.idea
|
||||
|
||||
@@ -5,12 +5,6 @@ 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.5.2] - 2020-09-10
|
||||
|
||||
### Fixed
|
||||
|
||||
- Remember last tracked project and task on card
|
||||
|
||||
## [1.5.1] - 2020-08-04
|
||||
|
||||
### Added
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
- run `yarn start:chrome` or `yarn start:firefox` (`yarn start` is an alias for `yarn start:chrome`)
|
||||
- load extension into browser:
|
||||
- Chrome: visit `chrome://extensions` and load unpacked extension from `build/chrome`
|
||||
- Firefox: visit `about:debugging` and load temporary Add-on from `build/firefox/manifest.json`
|
||||
- the browser should automatically pick up your changes but from time to time it may be useful to reload the extension
|
||||
- Firefox: visit `about:debugging` and load temporary Add-on from `build/firefox`
|
||||
- reload browser extension after change
|
||||
|
||||
## Production Build
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "moco-browser-extensions",
|
||||
"description": "Browser plugin for MOCO",
|
||||
"version": "1.5.2",
|
||||
"version": "1.5.1",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "yarn start:chrome",
|
||||
@@ -17,7 +17,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "^7.10.1",
|
||||
"axios": "^0.19.2",
|
||||
"axios": "^0.20.0",
|
||||
"classnames": "^2.2.6",
|
||||
"date-fns": "^2.15.0",
|
||||
"dotenv": "^8.2.0",
|
||||
@@ -62,7 +62,7 @@
|
||||
"style-loader": "^1.2.1",
|
||||
"svg-inline-loader": "^0.8.2",
|
||||
"uuid": "^8.3.0",
|
||||
"webpack": "^4.44.2",
|
||||
"webpack": "^4.43.0",
|
||||
"webpack-cli": "^3.3.11",
|
||||
"zip-webpack-plugin": "^3.0.0"
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ import UnknownError from "components/Errors/UnknownError"
|
||||
import Header from "./shared/Header"
|
||||
import { head } from "lodash"
|
||||
import TimeInputParser from "utils/TimeInputParser"
|
||||
import {get} from "lodash/fp";
|
||||
|
||||
@observer
|
||||
class App extends Component {
|
||||
@@ -69,12 +68,11 @@ class App extends Component {
|
||||
|
||||
@computed get project() {
|
||||
const { service, projects, lastProjectId } = this.props
|
||||
|
||||
return (
|
||||
findProjectByValue(this.changeset.assignment_id)(projects) ||
|
||||
findProjectByValue(Number(lastProjectId))(projects) ||
|
||||
findProjectByIdentifier(service?.projectId)(projects) ||
|
||||
head(projects.flatMap(get("options")))
|
||||
findProjectByValue(Number(lastProjectId))(projects) ||
|
||||
head(projects)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import "mobx-react-lite/batchingForReactDom"
|
||||
import React, { createRef } from "react"
|
||||
import ReactDOM from "react-dom"
|
||||
import { Transition, animated, config } from "react-spring/renderprops"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import "mobx-react-lite/batchingForReactDom"
|
||||
import React from "react"
|
||||
import ReactDOM from "react-dom"
|
||||
import Options from "./components/Options"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import "mobx-react-lite/batchingForReactDom"
|
||||
import React from "react"
|
||||
import ReactDOM from "react-dom"
|
||||
import App from "./components/App"
|
||||
|
||||
Reference in New Issue
Block a user