Skip to content
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

Modify info #14

Merged
merged 2 commits into from
Jul 14, 2019
Merged

Modify info #14

merged 2 commits into from
Jul 14, 2019

Conversation

JosephT5566
Copy link
Contributor

Hi~
最近試著再go through這個專案,稍微修改了一些東西
再麻煩你有空的時候幫忙review一下~ 看哪邊是否真的有需要或是其他建議 > <

Changes

  1. 調整了 Mocha test framework 的配置
    使用npm run test可直接執行,但是還沒認真思考要怎麼拆分進行unit test的部分。
  2. 用 factory mode 修改了 getTreeItem().
  3. 增加了可以透過推文搜尋文章的功能
    但是 ptt-client 沒有這個介面,算是我自己測試的功能。本來想說用處理傳回來的資料來實現,但是如果未來要繼續實現搜尋作者、搜尋文章還是得要回頭去維護 ptt-client 的介面~
    另外我希望文章標題也能顯示出推文以便了解鄉民的傾向,所以也把這個開啟了。
  4. 讓文章顯示的順序依照文章編號排序

1. Modify Mocha using method.
2. Try to write a factory to getTreeItem().
3. Add a search by push feature.
4. Create a member: sn for Article, so that can sort the articles' order.
@Yukaii Yukaii self-requested a review July 12, 2019 01:37
@Yukaii Yukaii added the enhancement New feature or request label Jul 12, 2019
src/store.ts Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
@Yukaii Yukaii merged commit 6c60079 into Yukaii:master Jul 14, 2019
@Yukaii
Copy link
Owner

Yukaii commented Jul 14, 2019

感謝 @JosephT5566 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants