-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1352 from thematters/develop
Release: v3.11.0
- Loading branch information
Showing
180 changed files
with
5,761 additions
and
3,504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,9 @@ | |
|
||
NEXT_PUBLIC_SITE_DOMAIN=https://web-develop.matters.news | ||
NEXT_PUBLIC_ASSET_DOMAIN=https://assets-develop.matters.news | ||
NEXT_PUBLIC_API_URL=https://server-stage.matters.news/graphql | ||
NEXT_PUBLIC_WS_URL=wss://server-stage.matters.news/graphql | ||
NEXT_PUBLIC_OAUTH_URL=https://server-stage.matters.news/oauth | ||
NEXT_PUBLIC_API_URL=https://server-develop.matters.news/graphql | ||
NEXT_PUBLIC_WS_URL=wss://server-develop.matters.news/graphql | ||
NEXT_PUBLIC_OAUTH_URL=https://server-develop.matters.news/oauth | ||
NEXT_PUBLIC_SEGMENT_KEY=3gE20MjzN9qncFqlKV0pDvNO7Cp2gWU3 | ||
NEXT_PUBLIC_FB_APP_ID=823885921293850 | ||
NEXT_PUBLIC_SENTRY_DSN=https://[email protected]/2 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"name": "matters-web", | ||
"version": "3.10.2", | ||
"version": "3.11.0", | ||
"description": "codebase of Matters' website", | ||
"sideEffects": false, | ||
"author": "", | ||
"author": "Matters <[email protected]>", | ||
"engines": { | ||
"node": ">=12.16", | ||
"npm": ">=6.14" | ||
}, | ||
"license": "ISC", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"dev": "PORT=\"${PORT:-3000}\"; next -p $PORT", | ||
"start": "PORT=\"${PORT:-3000}\"; next start -p $PORT", | ||
|
@@ -41,7 +41,7 @@ | |
"@reach/alert": "^0.10.5", | ||
"@reach/dialog": "^0.10.5", | ||
"@reach/visually-hidden": "^0.10.4", | ||
"@sentry/browser": "^5.19.1", | ||
"@sentry/browser": "^5.20.0", | ||
"@stripe/react-stripe-js": "^1.1.2", | ||
"@stripe/stripe-js": "^1.8.0", | ||
"@tippyjs/react": "^4.0.4", | ||
|
@@ -56,17 +56,17 @@ | |
"apollo-utilities": "^1.3.4", | ||
"autosize": "^4.0.2", | ||
"classnames": "^2.2.6", | ||
"date-fns": "^2.14.0", | ||
"date-fns": "^2.15.0", | ||
"express": "^4.17.1", | ||
"fingerprintjs2": "^2.1.0", | ||
"firebase": "^7.15.5", | ||
"formik": "^2.1.4", | ||
"firebase": "^7.17.0", | ||
"formik": "^2.1.5", | ||
"graphql": "^14.7.0", | ||
"graphql-tag": "^2.10.3", | ||
"graphql-tag": "^2.10.4", | ||
"helmet": "^3.23.3", | ||
"isomorphic-unfetch": "^3.0.0", | ||
"jump.js": "^1.0.2", | ||
"lodash": "^4.17.15", | ||
"lodash": "^4.17.19", | ||
"next": "^9.4.4", | ||
"next-with-apollo": "^5.1.0", | ||
"nprogress": "^0.2.0", | ||
|
@@ -78,32 +78,32 @@ | |
"react-beautiful-dnd": "^13.0.0", | ||
"react-copy-to-clipboard": "^5.0.2", | ||
"react-dom": "^16.13.1", | ||
"react-focus-lock": "^2.4.0", | ||
"react-focus-lock": "^2.4.1", | ||
"react-remove-scroll": "^2.3.0", | ||
"react-spring": "^9.0.0-rc.3", | ||
"react-use-gesture": "^7.0.15", | ||
"react-virtualized": "^9.21.2", | ||
"react-waypoint": "^9.0.3", | ||
"subscriptions-transport-ws": "^0.9.16", | ||
"subscriptions-transport-ws": "^0.9.17", | ||
"use-debounce": "^3.4.3", | ||
"validator": "^13.1.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/plugin-proposal-optional-chaining": "^7.10.4", | ||
"@svgr/webpack": "^5.4.0", | ||
"@testing-library/react": "^10.4.4", | ||
"@testing-library/react": "^10.4.7", | ||
"@types/autosize": "^3.0.7", | ||
"@types/classnames": "^2.2.10", | ||
"@types/express": "^4.17.4", | ||
"@types/express": "^4.17.7", | ||
"@types/fingerprintjs2": "^2.0.0", | ||
"@types/grecaptcha": "^3.0.1", | ||
"@types/helmet": "0.0.47", | ||
"@types/jest": "^26.0.3", | ||
"@types/jest": "^26.0.5", | ||
"@types/jump.js": "^1.0.3", | ||
"@types/lodash": "^4.14.157", | ||
"@types/lodash": "^4.14.158", | ||
"@types/nprogress": "0.2.0", | ||
"@types/pulltorefreshjs": "^0.1.3", | ||
"@types/react": "^16.9.41", | ||
"@types/react": "^16.9.43", | ||
"@types/react-beautiful-dnd": "^13.0.0", | ||
"@types/react-copy-to-clipboard": "^4.3.0", | ||
"@types/react-dom": "^16.9.8", | ||
|
@@ -113,11 +113,11 @@ | |
"@types/styled-jsx": "^2.2.8", | ||
"@types/validator": "^13.1.0", | ||
"@zeit/next-bundle-analyzer": "^0.1.2", | ||
"apollo": "^2.28.3", | ||
"apollo": "^2.30.1", | ||
"babel-jest": "^26.1.0", | ||
"babel-plugin-dynamic-import-node": "^2.3.3", | ||
"babel-polyfill": "^6.26.0", | ||
"chromedriver": "^83.0.0", | ||
"chromedriver": "^84.0.1", | ||
"cucumber": "^6.0.5", | ||
"cucumber-pretty": "^6.0.0", | ||
"cz-conventional-changelog": "^3.2.0", | ||
|
@@ -132,7 +132,7 @@ | |
"next-compose-plugins": "^2.2.0", | ||
"next-offline": "^5.0.0-beta.10", | ||
"next-optimized-images": "^2.6.1", | ||
"nightwatch": "^1.3.6", | ||
"nightwatch": "^1.3.7", | ||
"nightwatch-api": "^3.0.1", | ||
"postcss-calc": "^7.0.2", | ||
"postcss-color-function": "^4.1.0", | ||
|
@@ -153,7 +153,7 @@ | |
"tslint-config-prettier": "^1.18.0", | ||
"tslint-react": "^4.2.0", | ||
"tslint-react-hooks": "^2.2.2", | ||
"typescript": "^3.9.6" | ||
"typescript": "^3.9.7" | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ export default gql` | |
enum FollowFeedType { | ||
article | ||
comment | ||
tag | ||
} | ||
enum ViewMode { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/components/ArticleDigest/DropdownActions/EditButton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { IconEdit, Menu, TextIcon, Translate } from '~/components' | ||
|
||
const EditArticleButton = ({ editArticle }: { editArticle: () => void }) => { | ||
return ( | ||
<Menu.Item onClick={editArticle}> | ||
<TextIcon icon={<IconEdit size="md" />} size="md" spacing="base"> | ||
<Translate id="editArticle" /> | ||
</TextIcon> | ||
</Menu.Item> | ||
) | ||
} | ||
|
||
export default EditArticleButton |
Oops, something went wrong.