HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: cofacts --- # Cofacts Next list pages TODO items ## Release blocker ### Message list filter 文章列表至少應該要有「熱門回報」filter,亦即現在 production 上的「僅顯示兩個回報以上」的功能。 因為這是原本 production 上有的重要功能,因此希望可以先有這個。 #### As-is ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_d0622de8a8c191168d0543325b8c06e7.png) #### To-be * 增加「熱門回報」選項( `ListArticleFilter` 的 `replyRequestCount >= 2` ) ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_c54506e917c572c231dc3ca1395856f6.png) :::info - Github Project Card: https://github.com/orgs/cofacts/projects/5#card-37494391 - Spec: https://g0v.hackmd.io/@NFi0czulSemxCM8RNSlz8Q/HJ8xT3QVU/%2FahtI6xsFRQyxktrIlc1VcQ - Mockup: https://www.figma.com/file/zpD45j8nqDB2XfA6m2QskO/Cofacts-website?node-id=428%3A37 ::: ### For-You 等你來答 「等你來答」目前 filter 跟 spec 不符。由於我們需要評估此新功能的效果,因此希望可以實作之。 #### As-is For-You filter 跟 article list 預設目前一致。 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_2e2c1d900293ee07033092c4c3a633d6.png) #### To-be 1. 列表的 `ListArticleFilter`,根據 [spec](https://g0v.hackmd.io/@NFi0czulSemxCM8RNSlz8Q/HJ8xT3QVU/%2FN8I2-zkJTaS35BP8VH8ZQA) 應使用 `replyRequestCount >= 2` 且 `hasArticleReplyWithMorePositiveFeedback = false`。 2. 導覽列數字的`ListArticleFilter`,根據 [spec](https://g0v.hackmd.io/@NFi0czulSemxCM8RNSlz8Q/HJ8xT3QVU/%2FN8I2-zkJTaS35BP8VH8ZQA) 應使用`replyRequestCount >= 2` 且 `hasArticleReplyWithMorePositiveFeedback = false`。 - spec 中「自己沒有送過任何 normal articleReply」尚無可用 API,因此先跳過,僅使用上面條件顯示數字。另在 [rumors-api#165](https://github.com/cofacts/rumors-api/issues/165) 追蹤 API 進度。 :::info - Issue: - Github Project Card: https://github.com/orgs/cofacts/projects/5#card-37456782 - Spec: - 列表內容 https://g0v.hackmd.io/@NFi0czulSemxCM8RNSlz8Q/HJ8xT3QVU/%2FN8I2-zkJTaS35BP8VH8ZQA - 導覽列數字 https://g0v.hackmd.io/iJm9_nZaTA2GyInn7ycxoA#%E7%AD%89%E4%BD%A0%E4%BE%86%E7%AD%94-Query - Mockup: https://www.figma.com/file/zpD45j8nqDB2XfA6m2QskO/Cofacts-website?node-id=436%3A1 ::: ## Enhancements ### Reply list 過濾日期功能 #### As-is 目前左上角過濾日期功能是使用 `createdAt` 進行過濾,因此即使訊息最近有被回過,也無法正確顯示。 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_f7c7c2ba7dffdba816ca74baf423913f.png) #### To-Be 根據 Spec,應使用 `ListArticleFilter` 中的 `repliedAt`。[`repliedAt` 使用的](https://github.com/cofacts/rumors-api/blob/master/src/graphql/queries/ListArticles.js#L291-L311)才是 spec 裡規定的 `article.articleReplies.createdAt`。 :::info - Issue: - Github Project Card: - Spec: https://g0v.hackmd.io/@NFi0czulSemxCM8RNSlz8Q/HJ8xT3QVU/%2FZZWHWi2BTuyhkSWzAvKLAw - Mockup: ::: ### Other message list filters implementation #### As-is ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_d0622de8a8c191168d0543325b8c06e7.png) #### To-be * 拿掉 unsolved / solved / all filter * 增加下面選項: - 還未有效查核(`ListArticleFilter` 的 `hasArticleReplyWithMorePositiveFeedback = false`) - 熱門討論(`ListArticleFilter` 的 `replyCount >= 3`) ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_c54506e917c572c231dc3ca1395856f6.png) :::info - Github Project Card: https://github.com/orgs/cofacts/projects/5#card-37494391 - Spec: https://g0v.hackmd.io/@NFi0czulSemxCM8RNSlz8Q/HJ8xT3QVU/%2FahtI6xsFRQyxktrIlc1VcQ - Mockup: https://www.figma.com/file/zpD45j8nqDB2XfA6m2QskO/Cofacts-website?node-id=428%3A37 ::: ### Reply list filters implementation #### As-is ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_be6f431bb498ef86dbd5bd3f6f0f35ea.png) #### To-be * 拿掉 unsolved / solved / all filter * 增加下面選項: - 還未有效查核(`ListArticleFilter` 的 `hasArticleReplyWithMorePositiveFeedback = false`) - 熱門討論(`ListArticleFilter` 的 `replyCount >= 3`) - 熱門回報( `ListArticleFilter` 的 `replyRequestCount >= 2` ) ![](https://user-images.githubusercontent.com/108608/80923827-88646080-8db8-11ea-8dea-faf365456f67.png) :::info - Github Project Card: https://github.com/orgs/cofacts/projects/5#card-37494391 - Spec: https://g0v.hackmd.io/@NFi0czulSemxCM8RNSlz8Q/HJ8xT3QVU/%2FZZWHWi2BTuyhkSWzAvKLAw - Mockup: https://www.figma.com/file/zpD45j8nqDB2XfA6m2QskO/Cofacts-website?node-id=79%3A9 ::: ### Alignment of date filter and sorting #### As-is ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_1bca97104add2bd0c6df61dbca708763.png) #### To-Be Desktop 左右 control 高度一致 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_882c8d3a16a7a9f31e4b6bfe2f133bdf.png) Mobile 注意 control 高度與 desktop 不同,但左右高度一致 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_6016392c20cb63a2775d7b5b9dfdb977.png) :::info - Mockup: https://www.figma.com/file/zpD45j8nqDB2XfA6m2QskO/Cofacts-website?node-id=304%3A138 ::: ### Subscribe button alignment #### As-is ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_d72ead9c1d7eee3a7e3a375e26a7be3d.png) #### To-Be Desktop: 在標題右邊、垂直擲中 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_91f272bea5ac942e5776703f2e950352.png) Mobile: 在標題下面、跟標題一起置中 ![](https://s3-ap-northeast-1.amazonaws.com/g0v-hackmd-images/uploads/upload_6847e6f04d8667813460fe44f6499513.png) :::info - Mockup: https://www.figma.com/file/zpD45j8nqDB2XfA6m2QskO/Cofacts-website?node-id=304%3A138 :::

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

Sign in via GitHub

New to HackMD? Sign up

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions

Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.