-
Notifications
You must be signed in to change notification settings - Fork 0
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
proxmoxでmemberページが表示できるようにする #231
Conversation
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.
回答よろしくお願いします!
僕じゃ全然わかんないとこあったので、つっきーにも見てもらおうと思います!
僕の見た限りではApproveです!
@@ -17,10 +17,10 @@ | |||
"highlight.js": "^11.6.0", | |||
"highlightjs": "^9.16.2", | |||
"marked": "^4.1.1", | |||
"next": "12.0.3", | |||
"react": "17.0.2", | |||
"next": "^13.5.6", |
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.
ここってv14に変更することもできますか?
(やってほしいわけではなくて教えて欲しいことです!)
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.
できる!
ただ、14に変えるともっと色々変えなきゃいけないところ増えると思うからとりあえず13にしたよ
もし14にあげたいなら、今のwaningを直す前に14にしちゃってもいいかもね
<Link href='/records'legacyBehavior> | ||
<a>Record</a> | ||
</Link> | ||
</li> | ||
<li> | ||
<Link href='/curriculums'> | ||
<Link href='/curriculums' legacyBehavior> | ||
<a>Curriculum</a> | ||
</Link> | ||
</li> | ||
<li> | ||
<Link href='/projects'> | ||
<Link href='/projects' legacyBehavior> | ||
<a>Project</a> | ||
</Link> | ||
</li> | ||
<li> | ||
<Link href='/users'> | ||
<Link href='/users' legacyBehavior> | ||
<a>Member</a> | ||
</Link> | ||
</li> | ||
<li> | ||
<Link href='/skills'> | ||
<Link href='/skills' legacyBehavior> | ||
<a>Skills</a> | ||
</Link> | ||
</li> | ||
<li> | ||
<Link href='/categories'> | ||
<Link href='/categories' legacyBehavior> |
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.
フロント部分も直していただきありがとうございます!
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.
とりあえずエラーが出ないようにしただけだから、また直して欲しい
Linkの中でaタグを使うとエラーがでるんだけど、legacyBehaviorを書けば許された
legacyBehaviorを消してaタグも消すか、これにするかだね
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.
aタグをpタグに直してしまえばlegacyBehaviorは必要なくなると思います!
aタグならaタグ、LinkコンポーネントならLinkコンポーネント単体で使ったほうが良いと思います!
@@ -1 +1 @@ | |||
eXqxkmurqSMGQLTcA4rpLtPwuuD+MCPVm2PYdaHdhPOT4tdXQSbdOJtX7HVe/6iyHGpQN22aZOLH8OkoTBPPhIBUMc8TD642OceiYDIq0YhtgvCw/MG+o5ncsioyLFw9FEMuohTRpS1ryrovuJtvXAciO58iz7J86lAB8CUzhVrlOJXMDRAX4YFS0+sh3f9xQZho7t2Y0g4k09leaCjWeKdD3QeMlYf0PdmigOre7hQoHhUw3viRjCqm9p4L/75WLL07MQVppS7lF0QLY/dh8L6L76H7aWw1dsUyNMsXIgQoEEEAiKJq9OPJTpSqC0Rdar+d/gROGw5NuSYtPUApiTygbpj3l0uJxzSPpsmrAKJihkxv8TWl2UHVdQW7b3kUFLFnIud8ccRa9UXOOQIG/iO/tiiwcXeSXpD2--naOrfFmuyFZmSsQM--AqntabeEV/PNcpBu/XLXXg== | |||
f8ko3J21oiEzt+rXqJbVgEJ5XVCMDljL/dqszMhBp0Sg5eVv+OV8nlMldfhGk3FYw2QFhV1gy0rziJ+NQwrBqOQpfveibMbKjwLYDJK5D9lTG3tHifLZoYVbhG4tp6pV8T2o6IxH75bcIKGj8krtpkL+Ijpz4xNUAmslvz/tEXUxtydvrGM+Z/GXqhoNZiVBjwpNWsahleeRvdG8OqnqrzbPxrCKJRoJmNRs537HEZlhwtn8xsUYQ1DBg9Syg3SA0HsC39ouAoKamc2g4k0fHSneSgVuZmFNeh7XwGSMNKpwxZCv4EXF79Lk8/7xDBrdONZ+AEQted7/CdGEV5fvoTu7wc9MHWbleUTClb1cnlbzGMpaKL2bmvOyy3xkIDMVykpT/YJkc+P5p/aNdAvD2ez4eopExX1Bioq2--wdAQtBxw3dn/BJo2--1Cr/bd3OcCoyXUJJ6WN3Ug== |
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.
mastaer.keyってなんの文字列なんですか?
credentials.yml.encってどんなこと書いてるファイルなんですか?
(教えていただけるとありがたいです🙇🏻♂️)
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.
railsの公開鍵みたいなものだと思ってる。
railsの本番環境はこれとmaster.key(これはsettingsの中にある、こっとが秘密鍵)が必要で、どっちもないといけない。
master.keyは前に変えたんだけどこっちは変え忘れてたから、今回のPRで変更しとした。
<DataTable | ||
columns={props.columns} | ||
data={filteredItems} | ||
pagination | ||
highlightOnHover | ||
pointerOnHover | ||
onRowClicked={(row) => { | ||
if (row.curriculum) router.push(`/${props.route}/${row.curriculum.id}`); | ||
else router.push(`/${props.route}/${row.id}`); | ||
}} | ||
customStyles={CUSTOM_STYLES} | ||
/> | ||
{loader ? ( | ||
<div>Loading</div> | ||
) : ( | ||
<DataTable | ||
columns={props.columns} | ||
data={filteredItems} | ||
pagination | ||
highlightOnHover | ||
pointerOnHover | ||
onRowClicked={(row) => { | ||
if (row.curriculum) router.push(`/${props.route}/${row.curriculum.id}`); | ||
else router.push(`/${props.route}/${row.id}`); | ||
}} | ||
customStyles={CUSTOM_STYLES} | ||
/> | ||
)} |
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.
https://stackoverflow.com/questions/75068071/react-data-table-component-pagination-error-hydration-failed-because-the-in
これと同じエラーが起きてこう書いたけど、無駄なstateな気がしてる
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.
https://github.com/Selman-S/React-Data-Table-Component
このライブラリ、2年前から更新ないやん
リファクタ案件かも~
対応Issue
resolve #230
概要
proxmoxでmemberページが表示できるようにした
実装内容
画面スクリーンショット等
テスト項目
備考
いまいまいがslackで言ってたことを実装しないとまたメンバーページが見れなくなるので、そこ早急に実装して欲しいです。
あと、アップデートして死ぬほどwarning出てるからこれも解消お願いします。