Skip to content

Commit

Permalink
Merge branch 'develop' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
xMartin committed Apr 7, 2021
2 parents 3993c47 + 7bc1df1 commit f95759f
Show file tree
Hide file tree
Showing 33 changed files with 3,604 additions and 3,124 deletions.
5,365 changes: 2,779 additions & 2,586 deletions package-lock.json

Large diffs are not rendered by default.

31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,35 @@
},
"homepage": "https://grouptabs.net/",
"dependencies": {
"@types/jest": "^26.0.19",
"@types/node": "^14.14.13",
"@seznam/compose-react-refs": "^1.0.6",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.37",
"@types/pouchdb": "^6.4.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.12",
"@types/react-test-renderer": "^17.0.0",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-redux": "^7.1.16",
"@types/react-test-renderer": "^17.0.1",
"@types/redux-first-router": "^2.1.5",
"@types/uuid": "^8.3.0",
"debug": "^4.3.1",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"lodash.orderby": "^4.6.0",
"lodash.throttle": "^4.1.1",
"pouchdb": "^7.2.2",
"pouchdb-adapter-memory": "^7.2.2",
"pouchdb-all-dbs": "github:xMartin/pouchdb-all-dbs#grouptabs",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-redux": "^7.2.1",
"react-scripts": "4.0.0",
"react-test-renderer": "^17.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.3",
"react-scripts": "4.0.3",
"react-test-renderer": "^17.0.2",
"redux": "^4.0.5",
"redux-first-router": "^2.1.5",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"smooth-scroll": "^16.1.3",
"typescript": "~4.0.3",
"typescript": "^4.2.3",
"uuid": "^8.3.2",
"workbox-background-sync": "^5.1.4",
"workbox-broadcast-update": "^5.1.4",
Expand Down
7 changes: 7 additions & 0 deletions release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ description: >
Track expenses in a group of people!
releases:
- version: 1.5.0
date: 2021-04-07
description: Animated screen transitions and smaller bugfixes and improvements
added:
- Animated screen transitions
changed:
- Removed migration from PouchDB's all-dbs data - it has been around for more than a year now
- version: 1.4.0
date: 2020-12-14
description: Clean URLs and smaller bugfixes and improvements
Expand Down
2 changes: 2 additions & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
getTabs,
getTransactions,
getAccounts,
getCurrentLocation,
} from "./redux/selectors";
import {
navigateToTabs,
Expand Down Expand Up @@ -34,6 +35,7 @@ import { Transaction } from "./types";
function mapStateToProps(state: AllState) {
return {
location: state.location,
currentLocation: getCurrentLocation(state),
initialLoadingDone: state.app.initialLoadingDone,
tabInfo: getTabInfo(state),
transaction: state.app.docsById[
Expand Down
57 changes: 27 additions & 30 deletions src/components/__snapshots__/editentry.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders empty form 1`] = `
<div
className="scene editEntryScene"
>
Array [
<div
className="header"
>
Expand Down Expand Up @@ -37,8 +35,10 @@ exports[`renders empty form 1`] = `
/>
</svg>
</button>
</div>
<div>
</div>,
<div
className="content"
>
<form
id="edit-entry-form"
onSubmit={[Function]}
Expand All @@ -53,7 +53,6 @@ exports[`renders empty form 1`] = `
className="form-row-input description"
>
<input
autoFocus={true}
onChange={[Function]}
placeholder="Description"
type="text"
Expand Down Expand Up @@ -241,7 +240,7 @@ exports[`renders empty form 1`] = `
className="participant"
>
<input
autoFocus={true}
autoFocus={false}
onChange={[Function]}
placeholder="Name …"
type="text"
Expand Down Expand Up @@ -278,7 +277,7 @@ exports[`renders empty form 1`] = `
className="participant"
>
<input
autoFocus={true}
autoFocus={false}
onChange={[Function]}
placeholder="Name …"
type="text"
Expand Down Expand Up @@ -330,14 +329,12 @@ exports[`renders empty form 1`] = `
className="row"
/>
</form>
</div>
</div>
</div>,
]
`;

exports[`renders loader in edit mode with no data 1`] = `
<div
className="scene editEntryScene"
>
Array [
<div
className="header"
>
Expand All @@ -357,8 +354,10 @@ exports[`renders loader in edit mode with no data 1`] = `
<h2>
Edit transaction
</h2>
</div>
<div>
</div>,
<div
className="content"
>
<div
className="load-error"
>
Expand All @@ -379,14 +378,12 @@ exports[`renders loader in edit mode with no data 1`] = `
OK
</button>
</div>
</div>
</div>
</div>,
]
`;

exports[`renders loader when checking remote tab 1`] = `
<div
className="scene editEntryScene"
>
Array [
<div
className="header"
>
Expand All @@ -406,19 +403,17 @@ exports[`renders loader when checking remote tab 1`] = `
<h2>
New transaction
</h2>
</div>
</div>,
<div
className="loader tab-loader"
>
<div />
</div>
</div>
</div>,
]
`;

exports[`renders prefilled form 1`] = `
<div
className="scene editEntryScene"
>
Array [
<div
className="header"
>
Expand Down Expand Up @@ -452,8 +447,10 @@ exports[`renders prefilled form 1`] = `
/>
</svg>
</button>
</div>
<div>
</div>,
<div
className="content"
>
<form
id="edit-entry-form"
onSubmit={[Function]}
Expand Down Expand Up @@ -697,6 +694,6 @@ exports[`renders prefilled form 1`] = `
</span>
</div>
</form>
</div>
</div>
</div>,
]
`;
7 changes: 3 additions & 4 deletions src/components/__snapshots__/form.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ exports[`renders empty form 1`] = `
className="form-row-input description"
>
<input
autoFocus={true}
onChange={[Function]}
placeholder="Description"
type="text"
Expand Down Expand Up @@ -203,7 +202,7 @@ exports[`renders empty form 1`] = `
className="participant"
>
<input
autoFocus={true}
autoFocus={false}
onChange={[Function]}
placeholder="Name …"
type="text"
Expand Down Expand Up @@ -240,7 +239,7 @@ exports[`renders empty form 1`] = `
className="participant"
>
<input
autoFocus={true}
autoFocus={false}
onChange={[Function]}
placeholder="Name …"
type="text"
Expand Down Expand Up @@ -483,7 +482,7 @@ exports[`renders prefilled form 1`] = `
className="amountInput"
>
<input
autoFocus={true}
autoFocus={false}
onChange={[Function]}
placeholder="0"
step="any"
Expand Down
Loading

1 comment on commit f95759f

@vercel
Copy link

@vercel vercel bot commented on f95759f Apr 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.