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

商品を編集する画面の追加 #14

Open
Tracked by #6
exflikt opened this issue Aug 15, 2024 · 1 comment
Open
Tracked by #6

商品を編集する画面の追加 #14

exflikt opened this issue Aug 15, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request task Work, todo, refactor by maintainers; see also 'ask' label

Comments

@exflikt
Copy link
Collaborator

exflikt commented Aug 15, 2024

  • 編集フォーム: GET /products
  • 編集リクエスト: POST /products?product_id=$product_id&name=$name&...

画像はSQLiteに埋め込む形で保存することを想定して GET /products/{product_id}/image で取得します。もしかしたらキャッシュ生成と相性が悪いかもしれないという懸念点があります。

@exflikt
Copy link
Collaborator Author

exflikt commented Aug 15, 2024

フォーム送信エラーが発生したときに、アップロードする画像ファイルを保持するために特殊な書き方をしないといけないらしい:
https://htmx.org/examples/file-upload-input/

@exflikt exflikt self-assigned this Aug 15, 2024
@exflikt exflikt added the task Work, todo, refactor by maintainers; see also 'ask' label label Aug 18, 2024
@exflikt exflikt added the enhancement New feature or request label Sep 18, 2024
@exflikt exflikt changed the title 商品を追加する画面の追加 商品を編集する画面の追加 Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request task Work, todo, refactor by maintainers; see also 'ask' label
Projects
None yet
Development

No branches or pull requests

1 participant