You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change api url in [admin/src/App.tsx](https://github.com/refinedev/refine-hackathon/tree/main/job-posting-app/blob/master/admin/src/App.tsx)
@@ -265,5 +265,5 @@ function App() {
265
265
/>
266
266
```
267
267
268
-
<img src="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2021-10-4-admin-panel-with-nestjs/refine_job.png" alt="Refine jobs list page" />
268
+
<img src="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2021/2021-10-4-admin-panel-with-nestjs/refine_job.png" alt="Refine jobs list page" />
@@ -53,7 +53,7 @@ The tables we need to create for our project are as follows:
53
53
-`title` varchar
54
54
55
55
<br />
56
-
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2021-11-12-issue-tracker-refine/common_table.png"alt="Supabase table layout for priority and status entries" />
56
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2021/2021-11-12-issue-tracker-refine/common_table.png"alt="Supabase table layout for priority and status entries" />
57
57
<br />
58
58
59
59
> status
@@ -62,7 +62,7 @@ The tables we need to create for our project are as follows:
62
62
-`title` varchar
63
63
64
64
<br />
65
-
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2021-11-12-issue-tracker-refine/common_table.png"alt="Supabase table layout for priority and status entries" />
65
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2021/2021-11-12-issue-tracker-refine/common_table.png"alt="Supabase table layout for priority and status entries" />
66
66
<br />
67
67
68
68
> users
@@ -71,7 +71,7 @@ The tables we need to create for our project are as follows:
We created our database tables. The important part here is that as you can see, in our tasks table, label, priority, status and users values are defined as bigint. To summarize the reason for this, we relation the label, priority, status and users tables that we created above with the corresponding values in our tasks table.
@@ -114,22 +114,22 @@ Now let's go to the Supabase Table editor and create our constant values.
114
114
115
115
`Label Table`
116
116
117
-
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2021-11-12-issue-tracker-refine/label_value.png"alt="Label value field" />
117
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2021/2021-11-12-issue-tracker-refine/label_value.png"alt="Label value field" />
118
118
<br />
119
119
120
120
`Priority Table`
121
121
122
-
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2021-11-12-issue-tracker-refine/priority_value.png"alt="Priority value field" />
122
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2021/2021-11-12-issue-tracker-refine/priority_value.png"alt="Priority value field" />
123
123
<br />
124
124
125
125
`Status Table`
126
126
127
-
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2021-11-12-issue-tracker-refine/status_value.png"alt="Status value field" />
127
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2021/2021-11-12-issue-tracker-refine/status_value.png"alt="Status value field" />
128
128
<br />
129
129
130
130
Let's create a test task to better understand key relation.
As you can see, since we have defined the ids of our label, status, priority and users tables as references to our tasks table, we can now use their values.
@@ -498,7 +498,7 @@ export default App;
498
498
499
499
Here we define our login and signup pages. We then use the Refine's [router-provider](https://refine.dev/core/docs/packages/documentation/routers/) and [useNavigaton](https://refine.dev/core/docs/core/hooks/navigation/useNavigation/) hooks to switch between login and signup.
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2021-11-12-issue-tracker-refine/task_list.png"alt="Task list view" />
917
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2021/2021-11-12-issue-tracker-refine/task_list.png"alt="Task list view" />
918
918
<br />
919
919
920
920
Using Refine's [tableSearch](https://refine.dev/core/docs/guides-and-concepts/search/table-search) and list, we can create our list and perform filtering.
By using Refine's basic views such as [create](https://refine.dev/core/docs/ui-frameworks/antd/components/basic-views/create), [edit](https://refine.dev/core/docs/ui-frameworks/antd/components/basic-views/edit/) and [show](https://refine.dev/core/docs/ui-frameworks/antd/components/basic-views/show/), we can now create tasks, edit these tasks and view their details.
Copy file name to clipboardExpand all lines: documentation/blog/2022-01-18-csv-import.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ function App() {
95
95
96
96
Here, once the user-selected file has been successfully uploaded, we can process and display the file. Now let's load a sample CSV file and see it output on our console.
As you can see, we can now read a selected CSV file. We can convert this file, which we read as a plain text type, into an Array of Object with JavaScript and place it inside a Table element.
We formatted the CSV file that came in plain text format, using Javascript [slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice) and [split](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split) methods, and created two separate array. Then we converted Header and Rows arrays to Array of Object format as Key, Value.
@@ -216,7 +216,7 @@ The CSV import with **Refine** is very simple and out-of-the-box feature. How to
216
216
217
217
## Refine CSV Import Usage
218
218
219
-
<img src="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2022-01-18-csv-import/importing.avif" alt="CSV file import in progress" />
219
+
<img src="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2022/2022-01-18-csv-import/importing.avif" alt="CSV file import in progress" />
220
220
<br />
221
221
222
222
Importing CSV files is simple and fast using the [`useImport`](https://refine.dev/core/docs/core/hooks/import-export/useImport/) hook and [`ImportButton`](https://refine.dev/core/docs/ui-frameworks/antd/components/buttons/import-button/) provided by **Refine**.
As you have seen, our example project is ready. Now let's examine how the features offered by **Refine** are included in a project and how they are used.
@@ -338,7 +338,7 @@ return (
338
338
339
339
Now our i18n Provider is ready to use, let's test it together.
340
340
341
-
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2022-02-21-react-antd-admin/i8n-overview.avif"alt="Refine i18n provider language selector" />
341
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2022/2022-02-21-react-antd-admin/i8n-overview.avif"alt="Refine i18n provider language selector" />
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2022-02-21-react-antd-admin/table-i18n.avif"alt="Data table with i18n translated labels" />
422
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2022/2022-02-21-react-antd-admin/table-i18n.avif"alt="Data table with i18n translated labels" />
423
423
<br />
424
424
425
425
You can add the translation you want and organize your content according to different languages together with the **Refine** i18n Provider.
@@ -513,7 +513,7 @@ Our project is now Realtime! Thanks to **Refine** Live Provider, we made our pro
513
513
514
514
Let's see how our RealTime Project works.
515
515
516
-
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2022-02-21-react-antd-admin/realtime.gif"alt="Real-time data updates demonstration" />
516
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2022/2022-02-21-react-antd-admin/realtime.gif"alt="Real-time data updates demonstration" />
Here, if the selected role is Admin, the 'Hit' section will appear in our Table. We have stated that the Editor role cannot display this section.
811
811
812
-
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog/2022-02-21-react-antd-admin/access-control.avif"alt="Access control provider in action" />
812
+
<imgsrc="https://refine.ams3.cdn.digitaloceanspaces.com/blog-yearly/2022/2022-02-21-react-antd-admin/access-control.avif"alt="Access control provider in action" />
813
813
<br />
814
814
815
815
Check out [**Refine** Access Control](https://refine.dev/core/docs/guides-and-concepts/access-control/) Provider for more detailed information and step-by-step guide
0 commit comments