Skip to content

Commit

Permalink
Merge pull request #1896 from thematters/stage
Browse files Browse the repository at this point in the history
Release: v3.20.1
  • Loading branch information
robertu7 authored Mar 11, 2021
2 parents 4207e86 + 400db17 commit 3cf0884
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 253 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matters-web",
"version": "3.20.0",
"version": "3.20.1",
"description": "codebase of Matters' website",
"sideEffects": false,
"author": "Matters <[email protected]>",
Expand Down
10 changes: 0 additions & 10 deletions public/static/images/circle-cover-bottom-left.svg

This file was deleted.

6 changes: 0 additions & 6 deletions public/static/images/circle-cover-inner.svg

This file was deleted.

3 changes: 0 additions & 3 deletions public/static/images/circle-cover-mask.svg

This file was deleted.

4 changes: 0 additions & 4 deletions public/static/images/circle-cover-top-left.svg

This file was deleted.

10 changes: 0 additions & 10 deletions public/static/images/circle-cover-top-right.svg

This file was deleted.

1 change: 1 addition & 0 deletions src/common/enums/errorCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const ERROR_CODES = {

// Circle
DUPLICATE_CIRCLE: 'DUPLICATE_CIRCLE',
DUPLICATE_CIRCLE_SUBSCRIPTION: 'DUPLICATE_CIRCLE_SUBSCRIPTION',

// Verification Code
CODE_INVALID: 'CODE_INVALID',
Expand Down
3 changes: 3 additions & 0 deletions src/common/enums/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const TEXT = {
DRAFT_NOT_FOUND: '草稿不存在',
draft: '草稿',
DUPLICATE_CIRCLE: '圍爐名稱已被使用',
DUPLICATE_CIRCLE_SUBSCRIPTION: '無法重複訂閱此圍爐',
DUPLICATE_TAG: '標籤名稱已被使用',
edit: '編輯',
editArticle: '修訂作品',
Expand Down Expand Up @@ -397,6 +398,7 @@ export const TEXT = {
DRAFT_NOT_FOUND: '草稿不存在',
draft: '草稿',
DUPLICATE_CIRCLE: '围炉名称已被使用',
DUPLICATE_CIRCLE_SUBSCRIPTION: '无法重复订阅此围炉',
DUPLICATE_TAG: '标签名称已被使用',
edit: '编辑',
editArticle: '修订作品',
Expand Down Expand Up @@ -722,6 +724,7 @@ export const TEXT = {
DRAFT_NOT_FOUND: 'Draft not found',
draft: 'Draft',
DUPLICATE_CIRCLE: 'Circle is subscribed or already exists.',
DUPLICATE_CIRCLE_SUBSCRIPTION: 'Already subscribed this circle.',
DUPLICATE_TAG: 'The tag name is already in use.',
edit: 'Edit',
editArticle: 'Edit',
Expand Down
1 change: 1 addition & 0 deletions src/common/styles/variables/z-index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
--z-index-sticky-tabs: 110;

/* bottom bar */
--z-index-global-bottom-bar: 149;
--z-index-bottom-bar: 150;
--z-index-over-bottom-bar: 151;

Expand Down
64 changes: 0 additions & 64 deletions src/components/CircleCover/index.tsx

This file was deleted.

120 changes: 0 additions & 120 deletions src/components/CircleCover/styles.css

This file was deleted.

9 changes: 2 additions & 7 deletions src/components/FileUploader/CoverUploader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useState } from 'react'

import {
Button,
CircleCover,
Cover,
CoverProps,
IconCamera24,
Expand Down Expand Up @@ -170,13 +169,9 @@ export const CoverUploader = ({
</Cover>
)}
{isCircle && (
<CircleCover
cover={cover}
fallbackCover={fallbackCover}
inEditor={inEditor}
>
<Cover cover={cover} fallbackCover={fallbackCover} inEditor={inEditor}>
<Mask />
</CircleCover>
</Cover>
)}

<VisuallyHidden>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Layout/NavBar/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
right: 0;
bottom: 0;
left: 0;
z-index: var(--z-index-bottom-bar);
z-index: var(--z-index-global-bottom-bar);
min-height: var(--global-nav-height);
padding: var(--spacing-base) var(--spacing-x-loose);
background: var(--color-white);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Root/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const Root = ({
})

// timeout to mark private fetched as true
await sleep(1000)
await sleep(2000)
if (!privateFetched) {
setPrivateFetched(true)
}
Expand Down
1 change: 0 additions & 1 deletion src/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export * from './PullToRefresh'
export * from './Avatar'
export * from './CircleAvatar'
export * from './Cover'
export * from './CircleCover'

/**
* Compositions
Expand Down
Loading

0 comments on commit 3cf0884

Please sign in to comment.