Skip to content

Commit

Permalink
update todo and bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
yyngfive committed Jan 26, 2025
1 parent fd111f9 commit b7e620c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Parsers/acs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function getFiguresFromACS(): FiguresData {
if (!figureList) {
return figuresData;
}
//BUG:https://pubs.acs.org/doi/10.1021/cr400354z
//BUG:https://pubs.acs.org/doi/10.1021/cr400354z 无法获取abstract figure
const figures = figureList.querySelectorAll("figure");
console.log(figures.length);

Expand Down
1 change: 0 additions & 1 deletion Parsers/sciencedirect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ function extractFigureInfo_old(input: string): {
type: string;
id: number;
} {
//BUG https://www.sciencedirect.com/science/article/pii/S1385894724022514#f0005
if (/^\d+$/.test(input)) {
return {
type: "fig",
Expand Down
4 changes: 1 addition & 3 deletions entrypoints/popup/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.

//TODO:缓存机制,临时保存页面解析结果,定时清除。
//TODO:可以下载文章PDF文件
import { useEffect, useState } from "react";
import { useImmer } from "use-immer";
import "./App.css";
Expand Down Expand Up @@ -171,8 +170,7 @@ function App() {
console.log("loaded");
setLoaded(true);

//TODO:空下载不显示动画
//TODO:动画显示正在创建下载项目
//BUG:空下载导致动画循环卡死
//TODO:显示下载进度条
function handleDownloading(
request: {
Expand Down

0 comments on commit b7e620c

Please sign in to comment.