Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v4.28.3 #4086

Merged
merged 27 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
254e98e
feat: add `withDialog` HOC to resolve nested components
robertu7 Dec 6, 2023
007e774
feat: apply withDialog HOC to UserProfile/DropdownActions
robertu7 Dec 6, 2023
4e64d4f
feat(admin): support toggle recommend for article
robertu7 Dec 7, 2023
191dbbf
feat(admin): exclude admin code on build
robertu7 Dec 7, 2023
7809d8b
feat(admin): revise `vercel-build` script
robertu7 Dec 7, 2023
6fae430
feat(admin): support archive and restrict user for user
robertu7 Dec 7, 2023
a79a11f
feat(admin): use dynamic imports
robertu7 Dec 7, 2023
e1232d5
Merge branch 'develop' into feat/admin-mutations
robertu7 Dec 7, 2023
734b8d6
Merge pull request #4072 from thematters/fix/to-path
robertu7 Dec 8, 2023
4451284
Merge pull request #4074 from thematters/fix/book-shadow
robertu7 Dec 8, 2023
133ca36
feat(nomad-badges): Implementation of Digital Nomad program
Nov 30, 2023
939ef08
Fix/revise nomad badges (#4076)
wlliaml Dec 8, 2023
385be1d
feat(nomad-badges): Implementation of Digital Nomad program
Dec 7, 2023
b30eab7
Fix/badges dialog render issus (#4079)
wlliaml Dec 11, 2023
629e1a3
Merge branch 'develop' into feat/admin-mutations
robertu7 Dec 12, 2023
8b4b8bf
Merge pull request #4063 from thematters/feat/admin-mutations
robertu7 Dec 12, 2023
172dae2
fix(comments): alway load latest responses in article detail pages
Dec 12, 2023
6666b24
Merge pull request #4081 from thematters/fix/article-page-fetch-lates…
gary02 Dec 12, 2023
8d13e43
Merge pull request #4049 from thematters/feat/nomad-badges
tx0c Dec 12, 2023
e546642
feat(nomad-badges): remove `LV?` prefix & add campaign link
Dec 11, 2023
e423b6b
Merge branch 'develop' into feat/nomad-badges
tx0c Dec 12, 2023
c933583
fix(nomad): revise nomad styles
robertu7 Dec 13, 2023
babead8
feat(nomad-badges): add spacing to share button mobile
Dec 11, 2023
bcfa4e0
Merge pull request #4085 from thematters/fix/nomad-styles
robertu7 Dec 13, 2023
0db296d
fix(admin): fix copy and UI of admin actions
robertu7 Dec 14, 2023
27fc32c
Merge pull request #4087 from thematters/fix/admin-ui
robertu7 Dec 14, 2023
b67127a
Release/v4.28.3 #4086
Dec 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ NEXT_PUBLIC_SITE_DOMAIN=web-develop.matters.town
NEXT_PUBLIC_SITE_BRAND_NAME=Matters.Town
NEXT_PUBLIC_SITE_DOMAIN_TLD=matters.town
NEXT_PUBLIC_SITE_DOMAIN_TLD_OLD=matters.news
NEXT_PUBLIC_ADMIN_VIEW=false
NEXT_PUBLIC_EMBED_ASSET_DOMAIN=assets-develop.matters.news
NEXT_PUBLIC_CF_IMAGE_URL=https://imagedelivery.net/kDRCweMmqLnTPNlbum-pYA/non-prod
NEXT_PUBLIC_NEXT_ASSET_DOMAIN=assets-next-dev.mattersprotocol.io
Expand All @@ -33,6 +34,7 @@ NEXT_PUBLIC_GOOGLE_CLIENT_ID=315393900359-2r9fundftis7dc0tdeo2hf8630nfdd8h.apps.
NEXT_PUBLIC_TWITTER_CLIENT_ID=X3d6Szg5bnVCMm5wRWxSVmhXUTc6MTpjaQ
NEXT_PUBLIC_FACEBOOK_CLIENT_ID=203337806078602
NEXT_PUBLIC_CLOUDFLARE_TURNSTILE_SITE_KEY=0x4AAAAAAAKiedvR5qiLUhIs
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK=/@rsdyobw/22048-launching-the-nomad-matters-initiative
DEBUG=false
PLAYWRIGHT_RUNTIME_ENV=ci
PLAYWRIGHT_TEST_BASE_URL=https://web-develop.matters.town
Expand Down
2 changes: 2 additions & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ NEXT_PUBLIC_SITE_DOMAIN=web-develop.matters.town
NEXT_PUBLIC_SITE_BRAND_NAME=Matters.Town
NEXT_PUBLIC_SITE_DOMAIN_TLD=matters.town
NEXT_PUBLIC_SITE_DOMAIN_TLD_OLD=matters.news
NEXT_PUBLIC_ADMIN_VIEW=false
NEXT_PUBLIC_EMBED_ASSET_DOMAIN=assets-develop.matters.news
NEXT_PUBLIC_CF_IMAGE_URL=https://imagedelivery.net/kDRCweMmqLnTPNlbum-pYA/non-prod
NEXT_PUBLIC_NEXT_ASSET_DOMAIN=
Expand All @@ -29,6 +30,7 @@ NEXT_PUBLIC_LOGBOOKS_URL=https://logbooks-vercel.matters.town
NEXT_PUBLIC_ALCHEMY_KEY=1dMo8xjAFo8M6Y4sQ45WTD3Zie2-MA4C
NEXT_PUBLIC_USDT_CONTRACT_ADDRESS=0xfe4F5145f6e09952a5ba9e956ED0C25e3Fa4c7F1
NEXT_PUBLIC_CURATION_CONTRACT_ADDRESS=0xa219c6722008aa22828b31a13ab9ba93bb91222c
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK=/@rsdyobw/22048-launching-the-nomad-matters-initiative
DEBUG=false
PLAYWRIGHT_RUNTIME_ENV=local
PLAYWRIGHT_TEST_BASE_URL=https://web-develop.matters.town
Expand Down
3 changes: 3 additions & 0 deletions .env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ NEXT_PUBLIC_SITE_DOMAIN=matters.town
NEXT_PUBLIC_SITE_BRAND_NAME=Matters.Town
NEXT_PUBLIC_SITE_DOMAIN_TLD=matters.town
NEXT_PUBLIC_SITE_DOMAIN_TLD_OLD=matters.news
NEXT_PUBLIC_ADMIN_VIEW=false
NEXT_PUBLIC_EMBED_ASSET_DOMAIN=assets.matters.news
NEXT_PUBLIC_CF_IMAGE_URL=https://imagedelivery.net/kDRCweMmqLnTPNlbum-pYA/prod
NEXT_PUBLIC_NEXT_ASSET_DOMAIN=assets-next.mattersprotocol.io
Expand All @@ -34,3 +35,5 @@ DEBUG=false
NEXT_PUBLIC_GOOGLE_CLIENT_ID=751677068109-rkml7q9ujf8ems09cclh7qckf14svcgs.apps.googleusercontent.com
NEXT_PUBLIC_TWITTER_CLIENT_ID=cmdKbUlyd1ZZZDZYa3dTampidGo6MTpjaQ
NEXT_PUBLIC_FACEBOOK_CLIENT_ID=161556310354354
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK_EN=
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK=
38 changes: 38 additions & 0 deletions lang/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
"defaultMessage": "Unknown error. Please try again later.",
"description": "UNKNOWN_ERROR"
},
"/faseS": {
"defaultMessage": "Share link copied"
},
"/jJLYy": {
"defaultMessage": "Transactions"
},
Expand Down Expand Up @@ -308,6 +311,9 @@
"defaultMessage": "Oops. Something went wrong. Please try again later.",
"description": "BAD_USER_INPUT"
},
"76yoL6": {
"defaultMessage": "Moonlight Dream"
},
"77tYPg": {
"defaultMessage": "After deletion, the {commentType} will be removed immediately",
"description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx"
Expand Down Expand Up @@ -341,6 +347,9 @@
"8KFsZN": {
"defaultMessage": "Read Counts"
},
"8MeJ4b": {
"defaultMessage": "Nimbus Ferry"
},
"8UWUW8": {
"defaultMessage": "Collect Article",
"description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx"
Expand Down Expand Up @@ -541,6 +550,10 @@
"defaultMessage": "Badges",
"description": "src/components/UserProfile/index.tsx"
},
"DdVBFV": {
"defaultMessage": "Wings have sprouted on the badge, and the halo of dreams is beginning to spin. You have gathered 10 companions on the Nomad's path. Invite another 10 fellow travelers to move towards the final destination together, where the highest level of honor awaits you.",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"Dq29Hb": {
"defaultMessage": "You have not connected your email yet. For security, email is required for top-up.",
"description": "src/components/Dialogs/BindEmailHintDialog/index.tsx"
Expand Down Expand Up @@ -647,6 +660,10 @@
"defaultMessage": "New Followers This Month",
"description": "src/views/Circle/Analytics/FollowerAnalytics/index.tsx"
},
"GxTjwK": {
"defaultMessage": "Under the moonlight, dreams are about to come true. The Moonlight Dream badge signifies your participation in the Nomad Matters, whether as a contestant or a supporter of exceptional projects. Next, invite 5 companions to join the journey with you, and you'll earn an even higher-level badge?",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"H0JBH6": {
"defaultMessage": "Log Out"
},
Expand Down Expand Up @@ -962,6 +979,9 @@
"defaultMessage": "Please add email first",
"description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx"
},
"Rc4Oij": {
"defaultMessage": "Firebolt"
},
"Ro0CuW": {
"defaultMessage": "You do not have permission to perform this operation",
"description": "FORBIDDEN"
Expand Down Expand Up @@ -1025,6 +1045,9 @@
"TF1OhT": {
"defaultMessage": "This login code has expired, please try to resend"
},
"TKsfIS": {
"defaultMessage": "Meteor Canoe"
},
"TSDiqB": {
"defaultMessage": "Subscribers",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
Expand Down Expand Up @@ -1161,6 +1184,10 @@
"defaultMessage": "Go to Settings",
"description": "src/components/Dialogs/BindEmailHintDialog/index.tsx"
},
"XfkltT": {
"defaultMessage": "The dazzling light of a meteor shower is enough to illuminate the night sky. You have already invited 5 companions to participate in the Nomad Matters. Invite 5 more, and you can continue to level up!",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"XgdZSb": {
"defaultMessage": "Authors"
},
Expand Down Expand Up @@ -1310,6 +1337,10 @@
"defaultMessage": "Featured",
"description": "src/components/Comment/PinnedLabel/index.tsx"
},
"cQ+Lyq": {
"defaultMessage": "Nomad Matters Badge",
"description": "src/views/User/UserProfile/Badges/index.tsx"
},
"cQYXjl": {
"defaultMessage": "Currency",
"description": "src/views/Me/Settings/Misc/Currency/index.tsx"
Expand Down Expand Up @@ -1660,6 +1691,10 @@
"defaultMessage": "Following",
"description": "src/components/UserProfile/index.tsx"
},
"p0oPHP": {
"defaultMessage": "Breaking through history! The torch you've ignited will be the most dazzling support on the Nomad's journey. Congratulations on reaching the final destination of the Nomad Matters with 20 friends and earning the highest-level Firebolt badge.",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"p5qZnJ": {
"defaultMessage": "liked",
"description": "src/components/Notice/ArticleNotice/ArticleNewAppreciationNotice.tsx"
Expand Down Expand Up @@ -2025,6 +2060,9 @@
"defaultMessage": "left a comment in {circleName}",
"description": "src/components/Notice/CircleNotice/CircleNewDiscussionComments.tsx"
},
"znJ06J": {
"defaultMessage": "<a>About Nomad Matters</a>"
},
"zvNfwL": {
"defaultMessage": "Operation too frequent, please try again later.",
"description": "ACTION_LIMIT_EXCEEDED"
Expand Down
38 changes: 38 additions & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
"defaultMessage": "Unknown error. Please try again later.",
"description": "UNKNOWN_ERROR"
},
"/faseS": {
"defaultMessage": "Share link copied"
},
"/jJLYy": {
"defaultMessage": "Transactions"
},
Expand Down Expand Up @@ -308,6 +311,9 @@
"defaultMessage": "Oops. Something went wrong. Please try again later.",
"description": "BAD_USER_INPUT"
},
"76yoL6": {
"defaultMessage": "Moonlight Dream"
},
"77tYPg": {
"defaultMessage": "After deletion, the {commentType} will be removed immediately",
"description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx"
Expand Down Expand Up @@ -341,6 +347,9 @@
"8KFsZN": {
"defaultMessage": "Read Counts"
},
"8MeJ4b": {
"defaultMessage": "Nimbus Ferry"
},
"8UWUW8": {
"defaultMessage": "Collect Article",
"description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx"
Expand Down Expand Up @@ -541,6 +550,10 @@
"defaultMessage": "Badges",
"description": "src/components/UserProfile/index.tsx"
},
"DdVBFV": {
"defaultMessage": "Wings have sprouted on the badge, and the halo of dreams is beginning to spin. You have gathered 10 companions on the Nomad's path. Invite another 10 fellow travelers to move towards the final destination together, where the highest level of honor awaits you.",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"Dq29Hb": {
"defaultMessage": "You have not connected your email yet. For security, email is required for top-up.",
"description": "src/components/Dialogs/BindEmailHintDialog/index.tsx"
Expand Down Expand Up @@ -647,6 +660,10 @@
"defaultMessage": "New Followers This Month",
"description": "src/views/Circle/Analytics/FollowerAnalytics/index.tsx"
},
"GxTjwK": {
"defaultMessage": "Under the moonlight, dreams are about to come true. The Moonlight Dream badge signifies your participation in the Nomad Matters, whether as a contestant or a supporter of exceptional projects. Next, invite 5 companions to join the journey with you, and you'll earn an even higher-level badge?",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"H0JBH6": {
"defaultMessage": "Log Out"
},
Expand Down Expand Up @@ -962,6 +979,9 @@
"defaultMessage": "Please add email first",
"description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx"
},
"Rc4Oij": {
"defaultMessage": "Firebolt"
},
"Ro0CuW": {
"defaultMessage": "You do not have permission to perform this operation",
"description": "FORBIDDEN"
Expand Down Expand Up @@ -1025,6 +1045,9 @@
"TF1OhT": {
"defaultMessage": "This login code has expired, please try to resend"
},
"TKsfIS": {
"defaultMessage": "Meteor Canoe"
},
"TSDiqB": {
"defaultMessage": "Subscribers",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
Expand Down Expand Up @@ -1161,6 +1184,10 @@
"defaultMessage": "Go to Settings",
"description": "src/components/Dialogs/BindEmailHintDialog/index.tsx"
},
"XfkltT": {
"defaultMessage": "The dazzling light of a meteor shower is enough to illuminate the night sky. You have already invited 5 companions to participate in the Nomad Matters. Invite 5 more, and you can continue to level up!",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"XgdZSb": {
"defaultMessage": "Authors"
},
Expand Down Expand Up @@ -1310,6 +1337,10 @@
"defaultMessage": "Featured",
"description": "src/components/Comment/PinnedLabel/index.tsx"
},
"cQ+Lyq": {
"defaultMessage": "Nomad Matters Badge",
"description": "src/views/User/UserProfile/Badges/index.tsx"
},
"cQYXjl": {
"defaultMessage": "Currency",
"description": "src/views/Me/Settings/Misc/Currency/index.tsx"
Expand Down Expand Up @@ -1660,6 +1691,10 @@
"defaultMessage": "Following",
"description": "src/components/UserProfile/index.tsx"
},
"p0oPHP": {
"defaultMessage": "Breaking through history! The torch you've ignited will be the most dazzling support on the Nomad's journey. Congratulations on reaching the final destination of the Nomad Matters with 20 friends and earning the highest-level Firebolt badge.",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"p5qZnJ": {
"defaultMessage": "liked",
"description": "src/components/Notice/ArticleNotice/ArticleNewAppreciationNotice.tsx"
Expand Down Expand Up @@ -2025,6 +2060,9 @@
"defaultMessage": "left a comment in {circleName}",
"description": "src/components/Notice/CircleNotice/CircleNewDiscussionComments.tsx"
},
"znJ06J": {
"defaultMessage": "<a>About Nomad Matters</a>"
},
"zvNfwL": {
"defaultMessage": "Operation too frequent, please try again later.",
"description": "ACTION_LIMIT_EXCEEDED"
Expand Down
38 changes: 38 additions & 0 deletions lang/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
"defaultMessage": "不知道哪里出错了,过几分钟看看",
"description": "UNKNOWN_ERROR"
},
"/faseS": {
"defaultMessage": "已复制分享连结"
},
"/jJLYy": {
"defaultMessage": "交易记录"
},
Expand Down Expand Up @@ -308,6 +311,9 @@
"defaultMessage": "出错了,请检查你输入的内容",
"description": "BAD_USER_INPUT"
},
"76yoL6": {
"defaultMessage": "月之梦"
},
"77tYPg": {
"defaultMessage": "确认删除后,{commentType}会立即消失。",
"description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx"
Expand Down Expand Up @@ -341,6 +347,9 @@
"8KFsZN": {
"defaultMessage": "阅读次数"
},
"8MeJ4b": {
"defaultMessage": "光轮号"
},
"8UWUW8": {
"defaultMessage": "关联作品",
"description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx"
Expand Down Expand Up @@ -541,6 +550,10 @@
"defaultMessage": "徽章",
"description": "src/components/UserProfile/index.tsx"
},
"DdVBFV": {
"defaultMessage": "徽章长出了羽翼,梦想的光轮正开始转动,你已在游牧者之路聚集了 10 位伙伴。再邀请 10 位同行者,一起迈向终点站,最高等级的荣誉正在等着你。",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"Dq29Hb": {
"defaultMessage": "你尚未绑定邮箱。基于资金安全考虑,储值需绑定邮箱。",
"description": "src/components/Dialogs/BindEmailHintDialog/index.tsx"
Expand Down Expand Up @@ -647,6 +660,10 @@
"defaultMessage": "本月新增追踪人数",
"description": "src/views/Circle/Analytics/FollowerAnalytics/index.tsx"
},
"GxTjwK": {
"defaultMessage": "月色之下梦想即将实现,月之梦徽章代表你参与了游牧者计划(参赛或支持了优质计划)。接下来邀请 5 位伙伴一同踏上旅程,将获得更高等级的徽章。",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"H0JBH6": {
"defaultMessage": "登出"
},
Expand Down Expand Up @@ -962,6 +979,9 @@
"defaultMessage": "请先绑定邮箱",
"description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx"
},
"Rc4Oij": {
"defaultMessage": "火闪电"
},
"Ro0CuW": {
"defaultMessage": "你尚无权限进行该操作",
"description": "FORBIDDEN"
Expand Down Expand Up @@ -1025,6 +1045,9 @@
"TF1OhT": {
"defaultMessage": "临时密码已过期,请尝试重新发送"
},
"TKsfIS": {
"defaultMessage": "流星号"
},
"TSDiqB": {
"defaultMessage": "付费人数",
"description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx"
Expand Down Expand Up @@ -1161,6 +1184,10 @@
"defaultMessage": "去绑定",
"description": "src/components/Dialogs/BindEmailHintDialog/index.tsx"
},
"XfkltT": {
"defaultMessage": "流星雨的绚烂光芒足以点亮夜空,你已经邀请了 5 位伙伴关注游牧者计划,再邀请 5 位就能继续升级!",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"XgdZSb": {
"defaultMessage": "值得关注"
},
Expand Down Expand Up @@ -1310,6 +1337,10 @@
"defaultMessage": "作者精选",
"description": "src/components/Comment/PinnedLabel/index.tsx"
},
"cQ+Lyq": {
"defaultMessage": "游牧者计画纪念徽章",
"description": "src/views/User/UserProfile/Badges/index.tsx"
},
"cQYXjl": {
"defaultMessage": "汇率币别",
"description": "src/views/Me/Settings/Misc/Currency/index.tsx"
Expand Down Expand Up @@ -1660,6 +1691,10 @@
"defaultMessage": "追踪中",
"description": "src/components/UserProfile/index.tsx"
},
"p0oPHP": {
"defaultMessage": "突破历史!你点燃的火炬将是游牧者路途上最耀眼的支持。恭喜你与 20 位好友一同抵达游牧者计画的终点,并获得最高等级火闪电徽章。",
"description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx"
},
"p5qZnJ": {
"defaultMessage": "赞赏了",
"description": "src/components/Notice/ArticleNotice/ArticleNewAppreciationNotice.tsx"
Expand Down Expand Up @@ -2025,6 +2060,9 @@
"defaultMessage": "在 {circleName} 中留言",
"description": "src/components/Notice/CircleNotice/CircleNewDiscussionComments.tsx"
},
"znJ06J": {
"defaultMessage": "<a>关于游牧者计划</a>"
},
"zvNfwL": {
"defaultMessage": "操作过于频繁,请稍候重试",
"description": "ACTION_LIMIT_EXCEEDED"
Expand Down
Loading
Loading