Skip to content

Commit ea62492

Browse files
committed
Merge branch 'main' into dev
2 parents 956d6d9 + 2410332 commit ea62492

File tree

5 files changed

+18
-14
lines changed

5 files changed

+18
-14
lines changed

GUIDE.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,15 @@ Ensure that the endpoint you provide is secure and can accept POST requests with
5656

5757
ABC User Feedback's webhook supports the following event types, each with its own specific payload structure:
5858

59-
#### FEEDBACK_CREATION
59+
| No. | Title | Description |
60+
|-----|--------------------|------------------------------------|
61+
| 1 | FEEDBACK_CREATION | When the new Feedback is created. |
62+
| 2 | ISSUE_ADDITION | When an Issue is added to a feedback. |
63+
| 3 | ISSUE_CREATION | When the new Issue is created. |
64+
| 4 | ISSUE_STATUS_CHANGE | When the Issue status is changed. |
65+
66+
67+
#### 1. FEEDBACK_CREATION
6068

6169
This event is triggered when a new piece of feedback is created.
6270

@@ -95,7 +103,7 @@ This event is triggered when a new piece of feedback is created.
95103
}
96104
```
97105

98-
#### ISSUE_ADDITION
106+
#### 2. ISSUE_ADDITION
99107

100108
This event is triggered when an issue is added to an existing piece of feedback.
101109

@@ -144,7 +152,7 @@ This event is triggered when an issue is added to an existing piece of feedback.
144152
}
145153
```
146154

147-
#### ISSUE_CREATION
155+
#### 3. ISSUE_CREATION
148156

149157
This event is triggered when a new issue is created within a project.
150158

@@ -172,7 +180,7 @@ This event is triggered when a new issue is created within a project.
172180
}
173181
```
174182

175-
#### ISSUE_STATUS_CHANGE
183+
#### 4. ISSUE_STATUS_CHANGE
176184

177185
This event is triggered when the status of an issue is updated.
178186

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
![cover image](./assets/cover.png)
44

5-
ABC User Feedback is a standalone web application designed to manage Voice of Customer (VoC) data. It enables you to efficiently gather and categorize customer feedback. The application is currently utilized in services with a reach of 10 million MAU.
6-
5+
ABC User Feedback is a standalone web application designed to manage Voice of Customer (VOC) data. It enables you to efficiently gather and categorize customer feedback. With AI-powered insights, you can manage feedback more effectively. The application is currently utilized in services reaching 10 million monthly active users (MAU).
76
## Quick Start
87

98
To quickly set up and run the application locally, follow these steps:

apps/web/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ createJiti(fileURLToPath(import.meta.url))('./src/env');
77

88
/** @type {import('next').NextConfig} */
99
const nextConfig = {
10-
reactStrictMode: process.env.NODE_ENV === 'production',
10+
reactStrictMode: true,
1111
i18n: i18nConfig.default.i18n,
1212
output: 'standalone',
1313
eslint: { ignoreDuringBuilds: true },

apps/web/src/pages/main/project/[projectId]/feedback.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ const FeedbackManagementPage: NextPageWithLayout<IProps> = (props) => {
6565
return channels?.items.find((channel) => channel.id === currentChannelId);
6666
}, [channels, currentChannelId]);
6767

68-
const fields = (channelData?.fields ?? []).sort((a, b) => a.order - b.order);
68+
const fields = useMemo(
69+
() => [...(channelData?.fields ?? [])].sort((a, b) => a.order - b.order),
70+
[channelData],
71+
);
6972

7073
const filterFields = useMemo(() => {
7174
return (channelData?.fields ?? [])

apps/web/src/shared/ui/feedback-image.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ const FeedbackImage = ({ url, onClick }: Props) => {
3232
const { data: channelData } = useOAIQuery({
3333
path: '/api/admin/projects/{projectId}/channels/{channelId}',
3434
variables: { channelId, projectId },
35-
queryOptions: {
36-
enabled:
37-
router.isReady &&
38-
Number.isFinite(projectId) &&
39-
Number.isFinite(channelId),
40-
},
4135
});
4236

4337
const imageKey = useMemo(() => {

0 commit comments

Comments
 (0)