Skip to content

[new feature] 增加題目分類 #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

RuChuanLin
Copy link

Issue

目前題目沒有分類,不知道自己在刷什麼類型的題目。

Solution

New Feature 1

增加題目分類

image

New Feature 2

根目錄增加 retrieveTopicTag.js 檔,目前設定執行它的話會去找你原本寫的 data.json 檔,然後打 Leetcode 官網的 API,去把每題的分類一一找出來;找完之後輸出到 public/localData.json

我現在把你的 src/views/ProblemRating.vue 中的 url 變數暫時改成 localData.json;vue.config.js 中的 proxy 加了一個 localData.json,然後暫時指向部署好的專案根目錄,你再看看你要怎麼修改~我沒有很瞭解你的想法😆

TO-DO

本來想做但是本人的 vue 已經忘得7788,也沒用過 Element-UI,所以就放在這裡,等面試完後再看看要不要做吧(或你也可以做🤪)

  • 篩選器,可以多選篩選器來篩選分類
  • 點擊題目中的 tag 本身可以增加篩選器
  • 美化 tag

@zerotrac
Copy link
Owner

zerotrac commented Jan 8, 2023

Hi,感谢你对于本项目的贡献!

但根据 #15,这个项目的初衷并不是成为一个 LeetCode 的替代品,所以我们并不会把 LeetCode 本身的 feature 加进来。你可以考虑给 https://github.com/zhang-wangz/LeetCodeRating 这个基于本项目的插件项目进行 feature 和代码的贡献~

@zerotrac zerotrac added the wontfix This will not be worked on label Jan 8, 2023
@RuChuanLin RuChuanLin closed this Jan 10, 2023
@RuChuanLin
Copy link
Author

好的~我沒仔細看那篇🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants