Skip to content

Commit 251b39c

Browse files
committed
1.7.2
1 parent 4dddeac commit 251b39c

File tree

14 files changed

+51
-35
lines changed

14 files changed

+51
-35
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.7.2
2+
3+
- Redesign of the tables for a more modern and clean look.
4+
- All media titles are now represented with the same color for consistency across the app.
5+
- Performance improvements for the table view.
6+
17
## 1.7.1
28

39
- Date format has single digit numbers now lead with a 0 in the text.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _Note:_
3434
**This app does not have a code signing certificate and will give a warning message on installation.**
3535

3636
1. Download the setup file from the latest releases. The setup file is labeled as AniCour-Setup-x.x.x.exe, where x.x.x will denote the version.
37-
<br> **Example: AniCour-Setup-1.7.1.exe**
37+
<br> **Example: AniCour-Setup-1.7.2.exe**
3838
<br> _Some browsers may give a warning when downloading the setup file as it does not use a code signing certificate._
3939
<br> _In this case, to allow the download use the alternate option they provide. (Example: keep file)_
4040
2. Run the setup file, Windows will give a message like below, click on **"More info"** <p align="center"><a href="https://raw.githubusercontent.com/restartq/anicour/main/images/help/AniCourNoCodeSigningInitial.png"><img src="https://raw.githubusercontent.com/restartq/anicour/main/images/help/AniCourNoCodeSigningInitial.png" height="280"/></a></p>

release/app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "anicour",
3-
"version": "1.7.1",
3+
"version": "1.7.2",
44
"description": "Anime, Manga, and Light Novel Tracker Desktop Application for Windows. A fast and interactive way for AniList users to track and manage their anime/manga lists. ",
55
"license": "GPL-3.0",
66
"author": {

src/renderer/components/app/etc/table/TableScore.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33

44
const TableScore = ({ row }: any) => {
55
return (
6-
<Typography fontSize={12} pl={1}>
6+
<Typography fontSize={12} px={1}>
77
{row.mediaListEntry.score === 0 ? '' : row.mediaListEntry.score}
88
</Typography>
99
);

src/renderer/components/app/etc/table/TableTitleMain.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const TableTitleMain = ({ row }: any) => {
1414
const mySidebar: any = useSidebarButton();
1515

1616
return (
17-
<Typography noWrap fontSize={12}>
17+
<Typography noWrap fontSize={12} className="title">
1818
{row.mediaListEntry.notes !== null ? (
1919
<HtmlTooltip title={row.mediaListEntry.notes}>
2020
<MessageIcon fontSize="inherit" sx={{ mr: '5px' }} />

src/renderer/components/app/etc/table/TableTitleOther.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const TableTitleOther = ({ row }: any) => {
3535
);
3636

3737
return (
38-
<Typography noWrap fontSize={12}>
38+
<Typography noWrap fontSize={12} className="title">
3939
{row.mediaListEntry !== null ? (
4040
<HtmlTooltip title="On List">
4141
<PlaylistAddCheckCircleIcon fontSize="inherit" sx={{ mr: '5px' }} />

src/renderer/components/app/etc/table/TanstackTableRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const TanstackTableRow = ({
117117
position: 'absolute',
118118
transform: `translateY(${virtualRow.start}px)`, // this should always be a `style` as it changes on scroll
119119
width: '100%',
120-
background: rowSelection === row.id ? ' #243341' : '#1e1e1e', // #1e1e1e rgba(8, 132, 186, 0.637) #38444c #243341
120+
background: rowSelection === row.id ? '#202A36' : '#151617',
121121
}}
122122
onClick={onClickHandler}
123123
// context menu

src/renderer/components/app/main/tables/MainTanstackTable.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function MainTanstackTable({ props, title }: any) {
5454
cell: (info: any) => info.getValue(),
5555
// header: () => <span>Title</span>,
5656
header: () => 'Title',
57-
size: 290,
57+
size: 270,
5858
},
5959
{
6060
accessorFn: (row: any) => {
@@ -86,7 +86,7 @@ function MainTanstackTable({ props, title }: any) {
8686
},
8787
header: 'Season',
8888
cell: (info: any) => info.getValue(),
89-
size: 94, // 84
89+
size: 110, // 94
9090
},
9191
],
9292
[],
@@ -111,7 +111,7 @@ function MainTanstackTable({ props, title }: any) {
111111
cell: (info: any) => info.getValue(),
112112
// header: () => <span>Title</span>,
113113
header: () => 'Title',
114-
size: 290,
114+
size: 270,
115115
},
116116
{
117117
accessorFn: (row: any) => {
@@ -143,7 +143,7 @@ function MainTanstackTable({ props, title }: any) {
143143
},
144144
header: 'Released',
145145
cell: (info: any) => info.getValue(),
146-
size: 82,
146+
size: 102, // 82
147147
},
148148
],
149149
[],
@@ -179,19 +179,19 @@ function MainTanstackTable({ props, title }: any) {
179179
navigator.userAgent.indexOf('Firefox') === -1
180180
? (element) => element?.getBoundingClientRect().height
181181
: undefined,
182-
overscan: 3,
182+
overscan: 12,
183183
});
184184

185185
// All important CSS styles are included as inline styles for this example. This is not recommended for your code.
186186
return (
187-
<div className="media-table" style={{ marginTop: 0 }}>
187+
<div className="media-table">
188188
<div
189189
className="container-table"
190190
ref={tableContainerRef}
191191
style={{
192192
overflowY: 'auto', // our scrollable table container
193193
position: 'relative', // needed for sticky header
194-
height: 'calc(100vh - 124px)', // should be a fixed height 606 calc(100vh - 134px)
194+
height: 'calc(100vh - 120px)', // should be a fixed height 606 calc(100vh - 134px)
195195
width: '100%',
196196
borderRadius: '3px',
197197
}}

src/renderer/components/app/search/tables/SearchTanstackTable.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function SearchTanstackTable({ props, title }: any) {
5555
cell: (info: any) => info.getValue(),
5656
// header: () => <span>Title</span>,
5757
header: () => 'Title',
58-
size: 390,
58+
size: 370,
5959
},
6060
{
6161
accessorFn: (row: any) => {
@@ -87,7 +87,7 @@ function SearchTanstackTable({ props, title }: any) {
8787
},
8888
header: 'Season',
8989
cell: (info: any) => info.getValue(),
90-
size: 94, // 84
90+
size: 109, // 94
9191
},
9292
],
9393
[],
@@ -112,7 +112,7 @@ function SearchTanstackTable({ props, title }: any) {
112112
cell: (info: any) => info.getValue(),
113113
// header: () => <span>Title</span>,
114114
header: () => 'Title',
115-
size: 390,
115+
size: 370,
116116
},
117117
{
118118
accessorFn: (row: any) => {
@@ -144,7 +144,7 @@ function SearchTanstackTable({ props, title }: any) {
144144
},
145145
header: 'Released',
146146
cell: (info: any) => info.getValue(),
147-
size: 82,
147+
size: 102, // 82
148148
},
149149
],
150150
[],
@@ -180,7 +180,7 @@ function SearchTanstackTable({ props, title }: any) {
180180
navigator.userAgent.indexOf('Firefox') === -1
181181
? (element) => element?.getBoundingClientRect().height
182182
: undefined,
183-
overscan: 3,
183+
overscan: 12,
184184
});
185185

186186
// All important CSS styles are included as inline styles for this example. This is not recommended for your code.
@@ -192,7 +192,7 @@ function SearchTanstackTable({ props, title }: any) {
192192
style={{
193193
overflowY: 'auto', // our scrollable table container
194194
position: 'relative', // needed for sticky header
195-
height: 'calc(100vh - 124px)', // should be a fixed height 606 calc(100vh - 134px)
195+
height: 'calc(100vh - 120px)', // should be a fixed height 606 calc(100vh - 134px)
196196
width: '100%',
197197
borderRadius: '3px',
198198
}}

0 commit comments

Comments
 (0)