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

Implement the like button #4

Closed
tkellogg opened this issue Jan 2, 2024 · 0 comments
Closed

Implement the like button #4

tkellogg opened this issue Jan 2, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers htmx Probably involves mostly changes to HTML or HTMX python Probably involves a lot of changes to Python code

Comments

@tkellogg
Copy link
Owner

tkellogg commented Jan 2, 2024

There's a button, it just doesn't work

Tasks:

  • Create a POST /toots/{id}/favorite endpoint in server.py that forwards the operation to mastodon via requests.post.
  • Setup the hx-post attribute in app/templates/toot.html
@tkellogg tkellogg added htmx Probably involves mostly changes to HTML or HTMX python Probably involves a lot of changes to Python code enhancement New feature or request good first issue Good for newcomers labels Jan 4, 2024
@tkellogg tkellogg closed this as completed Jan 8, 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 good first issue Good for newcomers htmx Probably involves mostly changes to HTML or HTMX python Probably involves a lot of changes to Python code
Projects
None yet
Development

No branches or pull requests

1 participant