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

PageIndexの修正 #1160

Merged
merged 2 commits into from
May 21, 2024
Merged

PageIndexの修正 #1160

merged 2 commits into from
May 21, 2024

Conversation

wentzzz
Copy link
Contributor

@wentzzz wentzzz commented May 15, 2024

課題・背景

  • PageIndexがリンクとして認識しづらい
  • indexにソートが効いておらず表示順がデタラメになっている

やったこと

  • リンクのスタイルをBoxLinkを参考にしたものに変更してみた
  • titleでソートされるように修正

やらなかったこと

動作確認

@wentzzz wentzzz requested review from Qs-F and uknmr May 15, 2024 08:52
Copy link

netlify bot commented May 15, 2024

Deploy Preview for smarthr-design-system ready!

Name Link
🔨 Latest commit ca32eb9
🔍 Latest deploy log https://app.netlify.com/sites/smarthr-design-system/deploys/6646ad0853ff4700099cc299
😎 Deploy Preview https://deploy-preview-1160--smarthr-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@wentzzz wentzzz requested a review from ayumizu May 15, 2024 08:53
Qs-F
Qs-F previously approved these changes May 15, 2024
Copy link
Contributor

@Qs-F Qs-F left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良さそうな気がしました 👍

ayumizu
ayumizu previously approved these changes May 15, 2024
Copy link
Contributor

@ayumizu ayumizu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

意匠としてはLGTMです!

Copy link
Collaborator

@uknmr uknmr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ただ下線が引かれたリンクでも良さそうに思ったんですが、BoxLink に近い意匠を増やした方がよさそう、という判断ですか?

@wentzzz
Copy link
Contributor Author

wentzzz commented May 17, 2024

BoxLink に近い意匠を増やした方がよさそう、という判断ですか?

その認識であっています。理由は、私がこの機能をnext/prevのショートカットと捉えたからですね。
PageIndexをこの機能のショートカットを捉えるならば、意匠を合わせた方が地続きのコンテキストが継承されたショートカットと認識しやすいと思ったからです。

一方で、この意匠によって特定のユースケース(階層の地続きでないページのIndexとして利用する場合など)で使いづらくなるかもなとも思うので、下線+TEXT_LINKの方が無難なきもしてきました。

@wentzzz wentzzz dismissed stale reviews from ayumizu and Qs-F via ca32eb9 May 17, 2024 01:04
@wentzzz
Copy link
Contributor Author

wentzzz commented May 17, 2024

下線だけに変えてみた

before:
CleanShot 2024-05-17 at 09 55 53

After:
CleanShot 2024-05-17 at 10 05 38

@wentzzz wentzzz requested review from uknmr, Qs-F and ayumizu May 17, 2024 01:06
Copy link
Contributor

@ayumizu ayumizu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wentzzz wentzzz merged commit 8e0b39e into main May 21, 2024
5 checks passed
@wentzzz wentzzz deleted the update-page-index branch May 21, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants