-
Notifications
You must be signed in to change notification settings - Fork 219
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
imprv: Security settings screen redesign #9137
base: master
Are you sure you want to change the base?
imprv: Security settings screen redesign #9137
Conversation
|
apps/app/src/client/components/Admin/Security/SecuritySetting.jsx
Outdated
Show resolved
Hide resolved
apps/app/src/client/components/Admin/Security/SecuritySetting.jsx
Outdated
Show resolved
Hide resolved
<div className="dropdown"> | ||
<button | ||
className={`btn btn-outline-secondary dropdown-toggle text-end col-12 | ||
col-md-auto ${adminGeneralSecurityContainer.switchIsShowRestrictedByOwner}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここにメソッドを渡しているのはなぜ? switchIsShowRestrictedByOwner というメソッド自体不要なら AdminGeneralSecurityContainer から削除してください。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switchIsShowRestrictedByOwner を使わないなら削除してください
</table> | ||
</div> | ||
</div> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 「自分のみ」「特定グループのみ」でほぼ同じ構造の要素なのでこの dropdown は共通化できそう
- renderPageDeletePermission() などを参考に
TASK
https://redmine.weseek.co.jp/issues/153742
┗https://redmine.weseek.co.jp/issues/153037
改善前
改善後