Skip to content

Commit

Permalink
1.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ReStartQ committed Jan 25, 2024
1 parent b2c8027 commit beeef6c
Show file tree
Hide file tree
Showing 16 changed files with 152 additions and 96 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changes

## 1.4.5

- For currently airing anime, you can now see how many episodes have aired in grid view.
- Users can now see the notes they write for each media on their list by hovering the comment icon. Added tooltips for notes and on list icons for grid and compact view.
- Added margin for on list and note icons for a better look.
- Changed icon for notes from notepad to a comment icon.
- Removed colons from labels on the main list media cards.

## 1.4.4

- Changed color of scrollbar back to blue.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ You can download the app [here](https://github.com/ReStartQ/AniCour/releases). C

1. Download the setup file from the latest release and install it on your computer.
2. The setup file is labeled as AniCour-Setup-x.x.x.exe, where x denotes a number for the version.
<br/> **Ex: AniCour-Setup-1.4.4.exe**
<br/> **Ex: AniCour-Setup-1.4.5.exe**
3. When you run the exe file, Windows will give a message like below because there is no code signing certificate, click on "More info" <p align="center"><a href="#"><img src="https://github.com/ReStartQ/anicour/blob/main/images/help/AniCourNoCodeSigningInitial.png" alt="Hello" /></a></p>
4. A new option will appear, "Run anyway". Click on it. <p align="center"><a href="#"><img src="https://github.com/ReStartQ/anicour/blob/main/images/help/AniCourNoCodeSigning.png" alt="Hello" /></a></p>
5. The installer menu will open up to allow you to install it on your computer. <p align="center"><a href="#"><img src="https://github.com/ReStartQ/anicour/blob/main/images/help/AniCourInstallationMenu2.png" alt="Hello" /></a></p>
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"is-online": "^10.0.0",
"jotai": "^2.4.2",
"lodash": "^4.17.21",
"material-react-table": "^2.6.1",
"material-react-table": "^2.7.0",
"moment": "^2.29.4",
"mui-nested-menu": "^3.2.2",
"react": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions release/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anicour",
"version": "1.4.4",
"version": "1.4.5",
"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. ",
"license": "GPL-3.0",
"author": {
Expand Down
31 changes: 27 additions & 4 deletions src/renderer/components/app/etc/ProgressStepper.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import AddIcon from '@mui/icons-material/Add';
import RemoveIcon from '@mui/icons-material/Remove';
import { IconButton, Typography } from '@mui/material';
import { IconButton, Tooltip, Typography } from '@mui/material';
import InfoIcon from '@mui/icons-material/Info';
import { useTheme } from '@mui/material/styles';
import { Box } from '@mui/system';
import { useEffect, useState } from 'react';
Expand Down Expand Up @@ -40,9 +41,31 @@ export default function ProgressStepper({
flexDirection="column"
sx={{ gridColumn: '1/2' /* userSelect: 'none' */ }}
>
<Typography fontSize={12} fontWeight="bold">
{props.type === 'ANIME' ? 'Episodes:' : 'Chapters:'}
</Typography>
{props.nextAiringEpisode !== null ? (
<Box display="flex" flexDirection="row">
<Typography fontSize={12} fontWeight="bold">
{props.type === 'ANIME' ? 'Episodes' : 'Chapters'}
</Typography>
<Tooltip
title={
props.nextAiringEpisode.episode === 0
? `${props.nextAiringEpisode.episode} episodes aired`
: `${props.nextAiringEpisode.episode - 1} episodes aired`
}
arrow
placement="top"
>
<IconButton size="small" sx={{ padding: 0, ml: 0.5 }}>
<InfoIcon sx={{ fontSize: '14px' }} />
</IconButton>
</Tooltip>
</Box>
) : (
<Typography fontSize={12} fontWeight="bold">
{props.type === 'ANIME' ? 'Episodes' : 'Chapters'}
</Typography>
)}

<Box
display="flex"
flexDirection="row"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/app/etc/ProgressVolumesStepper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function ProgressVolumesStepper({
<>
<Box display="flex" flexDirection="column" sx={{ gridColumn: '2/3' }}>
<Typography fontSize={12} fontWeight="bold">
Volumes:{' '}
Volumes{' '}
</Typography>
<Box display="flex" flexDirection="row">
<IconButton
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/app/etc/ScoreSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function ScoreSelect({
return (
<Box display="flex" flexDirection="column" sx={{ gridColumn: '1/2' }}>
<Typography fontSize={12} fontWeight="bold">
Score:{' '}
Score{' '}
</Typography>
<NativeSelect
value={advancedInput.score}
Expand Down
16 changes: 15 additions & 1 deletion src/renderer/components/app/etc/SvgIcons.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { SvgIcon } from '@mui/material';
import PlaylistAddCheckIcon from '@mui/icons-material/PlaylistAddCheck';
import PlaylistAddCheckCircleIcon from '@mui/icons-material/PlaylistAddCheckCircle';
import MessageIcon from '@mui/icons-material/Message';
import CommentIcon from '@mui/icons-material/Comment';
import CheckCircleIcon from '@mui/icons-material/CheckCircle';

export function MediaIcons({ type }: any) {
console.log(type);
if (type === 0) {
/*
return (
<SvgIcon fontSize="small">
<svg
Expand Down Expand Up @@ -135,10 +139,13 @@ export function MediaIcons({ type }: any) {
</svg>
</SvgIcon>
);
*/
return <CommentIcon />;
}

if (type === 0.5) {
// for list table view
/*
return (
<SvgIcon fontSize="inherit" sx={{ mr: '5px', mt: '1px' }}>
<svg
Expand Down Expand Up @@ -269,6 +276,8 @@ export function MediaIcons({ type }: any) {
</svg>
</SvgIcon>
);
*/
return <CommentIcon fontSize="inherit" sx={{ mr: '5px', mt: '1px' }} />;
}

return (
Expand Down Expand Up @@ -479,7 +488,12 @@ export function OnListIcon({ type }: any) {
return <PlaylistAddCheckIcon fontSize="small" />;
}
if (type === 0.5) {
return <CheckCircleIcon sx={{ mr: '5px', mt: '1px' }} fontSize="inherit" />;
return (
<PlaylistAddCheckCircleIcon
sx={{ mr: '5px', mt: '1px' }}
fontSize="inherit"
/>
);
}
return <SvgIcon />;
}
41 changes: 22 additions & 19 deletions src/renderer/components/app/main/MediaCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,20 +283,23 @@ export default function MediaCard({ props }: any) {
}}
/>
{props.mediaListEntry.notes !== null ? (
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
bgcolor: 'rgba(0, 0, 0, 0.69)',
color: 'white',
borderBottomRightRadius: '3px',
height: '24px',
width: '24px',
}}
>
<MediaIcons type={0} />
</Box>
<Tooltip title={props.mediaListEntry.notes} arrow>
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
margin: '5px',
bgcolor: 'rgba(0, 0, 0, 0.69)',
color: 'white',
borderRadius: '3px',
height: '25px',
width: '25px',
}}
>
<MediaIcons type={0} />
</Box>
</Tooltip>
) : null}
</CardActionArea>
<CardContent
Expand Down Expand Up @@ -358,7 +361,7 @@ export default function MediaCard({ props }: any) {
{props.type === 'ANIME' ? (
<Box sx={{ gridColumn: '2/3', gridRow: '2/3' }}>
<Typography fontSize={12} fontWeight="bold">
Studio:{' '}
Studio{' '}
</Typography>
<Typography fontSize={12} noWrap>
{props.mainStudioIndex !== -1
Expand All @@ -377,15 +380,15 @@ export default function MediaCard({ props }: any) {
)}
<Box>
<Typography fontSize={12} fontWeight="bold">
Type:{' '}
Type{' '}
</Typography>
<Typography fontSize={12} noWrap>
{props.format !== null ? formatType(props.format) : '?'}
</Typography>
</Box>
<Box>
<Typography fontSize={12} fontWeight="bold">
Status:{' '}
Status{' '}
</Typography>
<Typography fontSize={12} noWrap>
{props.status !== null ? formatStatus(props.status) : '?'}
Expand All @@ -394,7 +397,7 @@ export default function MediaCard({ props }: any) {
{props.type === 'ANIME' ? (
<Box>
<Typography fontSize={12} fontWeight="bold">
Season:{' '}
Season{' '}
</Typography>
<Typography fontSize={12} noWrap>
{props.season !== null && props.seasonYear !== null
Expand All @@ -405,7 +408,7 @@ export default function MediaCard({ props }: any) {
) : (
<Box>
<Typography fontSize={12} fontWeight="bold">
Released:{' '}
Released{' '}
</Typography>
<Typography fontSize={12} noWrap>
{formatReleaseDateNumbers(
Expand Down
31 changes: 17 additions & 14 deletions src/renderer/components/app/main/MediaCardCompact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,23 @@ export default function MediaCardCompact({ props }: any) {
}}
/>
{props.mediaListEntry.notes !== null ? (
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
bgcolor: 'rgba(0, 0, 0, 0.69)',
color: 'white',
borderBottomRightRadius: '3px',
height: '24px',
width: '24px',
}}
>
<MediaIcons type={0} />
</Box>
<Tooltip title={props.mediaListEntry.notes} arrow>
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
margin: '5px',
bgcolor: 'rgba(0, 0, 0, 0.69)',
color: 'white',
borderRadius: '3px',
height: '25px',
width: '25px',
}}
>
<MediaIcons type={0} />
</Box>
</Tooltip>
) : null}
<Box
sx={{
Expand Down
24 changes: 13 additions & 11 deletions src/renderer/components/app/search/SearchMediaCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,19 @@ export default function SearchMediaCard({ props }: any) {
}}
/>
{props.mediaListEntry !== null ? (
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
bgcolor: 'rgba(0, 0, 0, 0.69)',
color: 'white',
}}
>
<PlaylistAddCheckCircleIcon />
</Box>
<Tooltip title="On List" arrow>
<PlaylistAddCheckCircleIcon
sx={{
position: 'absolute',
top: 0,
left: 0,
margin: '5px',
bgcolor: 'rgba(0, 0, 0, 0.69)',
color: 'white',
borderRadius: '3px',
}}
/>
</Tooltip>
) : null}
</CardActionArea>
<CardContent
Expand Down
24 changes: 13 additions & 11 deletions src/renderer/components/app/search/SearchMediaCardCompact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,19 @@ export default function SearchMediaCardCompact({ props }: any) {
}}
/>
{props.mediaListEntry !== null ? (
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
bgcolor: 'rgba(0, 0, 0, 0.69)',
color: 'white',
}}
>
<PlaylistAddCheckCircleIcon />
</Box>
<Tooltip title="On List" arrow>
<PlaylistAddCheckCircleIcon
sx={{
position: 'absolute',
top: 0,
left: 0,
margin: '5px',
bgcolor: 'rgba(0, 0, 0, 0.69)',
color: 'white',
borderRadius: '3px',
}}
/>
</Tooltip>
) : null}
<Box
sx={{
Expand Down
Loading

0 comments on commit beeef6c

Please sign in to comment.