From 7fdd95ec6df8a8307e4addcd2bda44b89122af8e Mon Sep 17 00:00:00 2001 From: yami Date: Sat, 26 Aug 2023 18:23:47 +0530 Subject: [PATCH] version up --- .github/workflows/blank.yml | 44 +------------------------------------ changelog.md | 36 ++++++++++++++++-------------- package.json | 2 +- src/Components/Reader.tsx | 3 --- 4 files changed, 22 insertions(+), 63 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 0d5af56..831855b 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -1,4 +1,5 @@ name: make and release +run-name: Make and Release permissions: contents: write @@ -16,9 +17,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 -# - name: test -# run: | -# cat changelog.md - name: Use Node.js uses: actions/setup-node@v3 with: @@ -29,55 +27,25 @@ jobs: run: yarn ci --network-timeout 1000000 - name: forge make run: yarn make:deb - - # - name: Read Changelog - # id: read_changelog - # run: echo "{name}={cat ./changelog.md}" >> $GITHUB_OUTPUT - - # - name: testtttt - # run: | - # cd ./out/full - # ls - uses: actions/upload-artifact@v3 with: name: linux-build-file path: ./out/full/Yomikiru-${{ github.ref_name }}-amd64.deb - # - name: testttttt - # run: | - # cd ./out/full/ - # ls - # echo ./out/full/Yomikiru-win32-${{ github.ref_name }}-Portable.zip - build: needs: buildDeb runs-on: windows-latest steps: - uses: actions/checkout@v3 -# - name: test -# run: | -# cat changelog.md - name: Use Node.js uses: actions/setup-node@v3 with: node-version: 18.15.0 - # - name: testing... - # run: node -v - name: Install dependencies run: yarn ci --network-timeout 1000000 - name: forge make run: yarn make - - # - name: Read Changelog - # id: read_changelog - # run: echo "{name}={cat ./changelog.md}" >> $GITHUB_OUTPUT - - # - name: testttttt - # run: | - # cd ./out/full/ - # ls - # echo ./out/full/Yomikiru-win32-${{ github.ref_name }}-Portable.zip - uses: actions/download-artifact@v3 id: linux-build-file-downloader @@ -85,14 +53,6 @@ jobs: name: linux-build-file path: ./out/full/ - # - name: 'Echo download path' - # run: echo ${{steps.linux-build-file-downloader.outputs.download-path}} - - # - name: testtttttttttt - # run : | - # cd ./out/full - # ls - - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') @@ -105,8 +65,6 @@ jobs: ./out/full/Yomikiru-${{ github.ref_name }}-Setup.exe ./out/full/Yomikiru-${{ github.ref_name }}-Setup-x64.exe ./out/full/Yomikiru-${{ github.ref_name }}-amd64.deb - # ./out/full/Yomikiru-${{ github.ref_name }}-amd64.deb -# body: ${{ steps.read_changelog.outputs.changelog }} body_path: changelog-temp.md generate_release_notes: true discussion_category_name: General diff --git a/changelog.md b/changelog.md index a1b30a9..d4c9023 100644 --- a/changelog.md +++ b/changelog.md @@ -4,27 +4,31 @@ Does not follow semver. ## Added -- added #227, theme option for code-text-color. -- added option to reset all changes in theme maker. -- added rar support, works only if WinRAR is present in system PATHS. -- added "copy path" to bookmark/history context menu/ -- added #238. Sort options. +- #242, sort by date option in reader-side-list. +- epub letter spacing option. +- added "dbl-click zen-mode" to epub body right click. +- added #241, reader size shortcut keys. +- added scroll reader with mouse grab. +- #202, open single .txt or xhtml file. `experimental` ## Changed -- Check for update every 5 hour if app is open. -- UI Changes: - - theme prop name changes - - epub-reader-settings layout - - reader-settings layout - - color picked UI layout changes - - removed "-" , "+" on size change popup - - added context menu separator +- #234, linked select hover/focused color to context-menu +- #244, open epub from bookmark/history using chapterName -> chapterURL. +- epub line (<HR/>) color to font-color from divider-color. +- tab click focusable switches. +- disable dbl-click zen-mode when "epub: text select" is enabled. +- hide quotes in epub font select options. +- change top-bar color when window is not focused. +- Select Option: + - focus on selected option on open. + - click matching alphabet to scroll option into view. ## Fixed -- fixed #235 -- fixed #236 -- fixed reader-settings space/enter not working in keyboard navigation. +- fixed epub chapter reset after clicking a reference link. +- epub font select working even when disabled. +- fixed, image size over 100% not working right. +- "NaN%" progress in epub zen mode if body have no scroll. --- \ No newline at end of file diff --git a/package.json b/package.json index 1ddf56c..816a825 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yomikiru", "productName": "Yomikiru", - "version": "2.17.2", + "version": "2.17.3", "description": "App to read manga / comic / epub offline on desktop", "main": ".webpack/main", "author": { diff --git a/src/Components/Reader.tsx b/src/Components/Reader.tsx index 4b5a3d8..e6dbb3c 100644 --- a/src/Components/Reader.tsx +++ b/src/Components/Reader.tsx @@ -2,8 +2,6 @@ import { useCallback, useContext, useEffect, useLayoutEffect, useRef, useState } import { AppContext } from "../App"; import ReaderSideList from "./ReaderSideList"; import ReaderSettings from "./ReaderSettings"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faQuestionCircle } from "@fortawesome/free-regular-svg-icons"; import { useAppDispatch, useAppSelector } from "../store/hooks"; import { setReaderSettings } from "../store/appSettings"; import { setMangaInReader } from "../store/mangaInReader"; @@ -12,7 +10,6 @@ import { setLoadingMangaPercent } from "../store/loadingMangaPercent"; import { setLoadingManga } from "../store/isLoadingManga"; import { setLinkInReader } from "../store/linkInReader"; import { newHistory } from "../store/history"; -// import { setContextMenu } from "../store/contextMenu"; import AnilistSearch from "./anilist/AnilistSearch"; import AnilistEdit from "./anilist/AnilistEdit";