Skip to content

Commit 4670c17

Browse files
Release 0.3.15
* fix: incorrect member management display logic * fix: badge display logic - hide expired badges * fix: update website links in README and various components - Changed website links from 'ricecall.com.tw' to 'ricecall.com' for consistency across the application. - Updated feedback, FAQ, agreement, and contact links in the Header and other components to reflect the new domain. - Commented out unused report link functionality in ChannelList and DirectMessage components for future implementation. * chore: bump version to 0.3.15 and update README badge * chore: update i18n --------- Co-authored-by: zhChen <eric0406qq@gmail.com>
1 parent d126dd4 commit 4670c17

12 files changed

Lines changed: 36 additions & 25 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div height="20px"> </div>
44
<div>
55
<a title="Crowdin" target="_blank" href="https://discord.gg/adCWzv6wwS"><img src="https://img.shields.io/badge/Join-Discord-blue?logo=discord"/></a>
6-
<a title="Crowdin" target="_blank" href="https://ricecall.com"><img src="https://img.shields.io/badge/Latest-0.3.14-green"/></a>
6+
<a title="Crowdin" target="_blank" href="https://ricecall.com"><img src="https://img.shields.io/badge/Latest-0.3.15-green"/></a>
77
<a title="Crowdin" target="_blank" href="https://crowdin.com"><img src="https://badges.crowdin.net/ricecall/localized.svg"></a>
88
</div>
99
</div>
@@ -42,7 +42,7 @@ Thank you for your support and participation!
4242

4343
Please read the documentation before downloading.
4444

45-
> [Official Website Download](https://ricecall.com.tw)
45+
> [Official Website Download](https://ricecall.com)
4646
> [GitHub Download](https://github.com/NerdyHomeReOpen/RiceCall/releases/tag/latest)
4747
4848
## Technical Architecture

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "ricecall",
3-
"version": "0.3.14",
3+
"version": "0.3.15",
44
"private": false,
55
"description": "Ricecall",
66
"author": {
77
"name": "RiceCall Group",
8-
"email": "support@ricecall.com.tw",
9-
"url": "https://ricecall.com.tw"
8+
"email": "support@ricecall.com",
9+
"url": "https://ricecall.com"
1010
},
1111
"main": "./build/main.js",
1212
"engines": {

src/app/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const Header: React.FC<HeaderProps> = React.memo(({ user, currentServer, friendA
8383
id: 'feedback',
8484
label: t('feedback'),
8585
icon: 'feedback',
86-
onClick: () => window.open('https://forms.gle/AkBTqsZm9NGr5aH46', '_blank'),
86+
onClick: () => window.open('https://ricecall.com/feedback', '_blank'),
8787
},
8888
{
8989
id: 'language-select',
@@ -105,22 +105,22 @@ const Header: React.FC<HeaderProps> = React.memo(({ user, currentServer, friendA
105105
{
106106
id: 'faq',
107107
label: t('faq'),
108-
onClick: () => window.open('https://ricecall.com.tw/#faq', '_blank'),
108+
onClick: () => window.open('https://ricecall.com/#faq', '_blank'),
109109
},
110110
{
111111
id: 'agreement',
112112
label: t('agreement'),
113-
onClick: () => window.open('https://ricecall.com.tw/terms', '_blank'),
113+
onClick: () => window.open('https://ricecall.com/terms', '_blank'),
114114
},
115115
// {
116-
// id: 'specification',
117-
// label: t('specification'),
118-
// onClick: () => window.open('https://ricecall.com.tw/specification', '_blank'),
116+
// id: 'privacy-policy',
117+
// label: t('privacy-policy'),
118+
// onClick: () => window.open('https://ricecall.com/privacy-policy', '_blank'),
119119
// },
120120
{
121121
id: 'contact-us',
122122
label: t('contact-us'),
123-
onClick: () => window.open('https://ricecall.com.tw/contact', '_blank'),
123+
onClick: () => window.open('https://ricecall.com/contact', '_blank'),
124124
},
125125
{
126126
id: 'about-us',

src/components/BadgeList.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@ interface BadgeListProps {
1616

1717
const BadgeList: React.FC<BadgeListProps> = React.memo(({ badges, position = 'left-top', direction = 'right-bottom', maxDisplay = 21, grid = false }) => {
1818
// Variables
19-
const filteredBadges = useMemo(() => badges.slice(0, maxDisplay).sort((a, b) => a.order - b.order), [badges, maxDisplay]);
19+
const filteredBadges = useMemo(
20+
() =>
21+
badges
22+
.filter((b) => b.showTo <= 0 || b.showTo >= Date.now())
23+
.slice(0, maxDisplay)
24+
.sort((a, b) => a.order - b.order),
25+
[badges, maxDisplay],
26+
);
2027

2128
return (
2229
<div className={`${badgeStyle['badge-viewer-wrapper']} ${grid ? badgeStyle['grid'] : ''}`}>

src/components/ChannelList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const ChannelList: React.FC<ChannelListProps> = React.memo(({ user, currentServe
122122
icon: 'report',
123123
disabled: true,
124124
onClick: () => {
125-
/* TODO: handleOpenReport */
125+
// window.open('https://ricecall.com/report-server', '_blank');
126126
},
127127
},
128128
{

src/components/UserTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const UserTab: React.FC<UserTabProps> = React.memo(({ user, currentServer, curre
190190
{
191191
id: 'member-management',
192192
label: t('member-management'),
193-
show: !isSelf && isSuperior && Permission.isMember(memberPermission) && (!!channelCategoryId ? Permission.isServerAdmin(permissionLevel) : Permission.isChannelAdmin(permissionLevel)),
193+
show: !isSelf && isSuperior && Permission.isMember(memberPermission) && (!!channelCategoryId ? Permission.isChannelAdmin(permissionLevel) : Permission.isServerAdmin(permissionLevel)),
194194
icon: 'submenu',
195195
hasSubmenu: true,
196196
submenuItems: [

src/i18n/locales/pt-BR/app.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"all": "Todos",
2323
"all-channel": "Todos os canais",
2424
"always-on-top-label": "Manter a janela do RiceCall sempre no topo",
25-
"announcement": "anúncio",
25+
"announcement": "Anúncio",
2626
"anti-spam-setting": "Configurações de privacidade",
2727
"anyone-can-access-label": "Qualquer um pode acessar",
2828
"applicants": "Pedidos",
@@ -66,7 +66,7 @@
6666
"channel-admin": "Moderador do canal",
6767
"channel-announcement": "Anúncio do canal",
6868
"channel-audio-quality": "Qualidade de áudio do canal",
69-
"channel-event": "incidente no canal",
69+
"channel-event": "Incidente no canal",
7070
"channel-forbid-guest-text-message": "Este canal foi configurado para proibir mensagens de visitantes",
7171
"channel-forbid-text-message": "Este canal foi configurado para permitir mensagens somente de administradores",
7272
"channel-guest-text-gap-time-message": "Você pode enviar uma mensagem em {{0}} segundos",
@@ -259,8 +259,8 @@
259259
"is-official": "Equipe oficial do RC Voice",
260260
"is-receive-member-application-label": "Receber pedidos para se tornar membro",
261261
"join-channel": "Entrar no canal",
262-
"join-current-channel": "Entre no canal atual",
263-
"join-current-server": "Junte-se ao grupo de voz",
262+
"join-current-channel": "Entrou no canal atual",
263+
"join-current-server": "Juntou-se ao grupo de voz",
264264
"join-date": "Data de entrada",
265265
"join-server": "Conectar-se ao grupo",
266266
"join-user-channel": "Conectar-se ao canal do usuário",
@@ -535,7 +535,7 @@
535535
"system-setting": "Configurações",
536536
"taiwan-groups": "Grupos de Taiwan",
537537
"take-mic": "Pegar microfone",
538-
"take-mic-directly": "Entrar na fila",
538+
"take-mic-directly": "Modo livre",
539539
"take-mic-in-queue": "Entrar na fila",
540540
"team-members": "Time do RiceCall",
541541
"terminate-member": "Remover membro",

src/i18n/locales/pt-BR/badge.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"ncse-description": "Guoyun Network, a melhor opção para serviços em nuvem!",
2424
"official-developer": "Desenvolvedores oficiais",
2525
"official-developer-description": "Desenvolvedor Oficial do RC Voice - {{nickname}}",
26-
"official-entertainment-staff": "pessoal oficial de entretenimento",
26+
"official-entertainment-staff": "Pessoal oficial de entretenimento",
2727
"official-entertainment-staff-description": "Equipe Oficial de Entretenimento da RC Voice - {{nickname}}",
2828
"official-support-staff": "Pessoal oficial de atendimento ao cliente",
2929
"official-support-staff-description": "Representante Oficial de Atendimento ao Cliente da RC Voice - {{nickname}}",

src/i18n/locales/pt-BR/website.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
},
269269
"forget": {
270270
"forgetTitle": "Esqueci minha senha",
271-
"enterAccount": "Por favor, insira o número da sua conta e enviaremos um link para redefinir a senha para o endereço de e-mail cadastrado.",
271+
"enterAccount": "Por favor, informe o seu usuário da sua conta que enviaremos um link para redefinir a sua senha para o endereço de e-mail cadastrado.",
272272
"account": "número de conta",
273273
"sendEmail": "Enviar link de redefinição",
274274
"sendingEmail": "Enviando...",

src/pages/Login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const LoginPageComponent: React.FC<LoginPageProps> = React.memo(({ display, setS
7070
};
7171

7272
const handleForgotPassword = () => {
73-
window.open('https://ricecall.com.tw/forget', '_blank');
73+
window.open('https://ricecall.com/forget', '_blank');
7474
};
7575

7676
// Effects

0 commit comments

Comments
 (0)