Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • About Bonfire
dansup
@dansup@mastodon.social  路  activity timestamp yesterday

I'm proud of how far the Loops API has come.

This is the comment resource response, it's not bloated, and contains only contextually useful data.

We also return cursor pagination data in the response so you don't have to parse headers.

And mention indices, so you don't need to parse HTML to handle mention links in your client.

It's not magic, it's just an API designed by a fellow app developer 馃槈

#loops #loopsDev

Loops comment api resource response
Loops comment api resource response
Loops comment api resource response
  • Copy link
  • Flag this post
  • Block
dansup
@dansup@mastodon.social  路  activity timestamp yesterday

contenteditable="true"

I wanted to replicate the interactive mention/hashtags across our "<textarea>"s in Loops, like Facebook and Twitter does.

It wasn't easy though, but the user experience is much better IMO.

It's attention to the smallest details that really matters.

All those delays and missed deadlines did in fact pay off 馃殌

#loops #loopsDev #smallestDetails

Loops comment section showing a comment reply mock <textarea> with mentions and hashtags rendered as links
Loops comment section showing a comment reply mock <textarea> with mentions and hashtags rendered as links
Loops comment section showing a comment reply mock <textarea> with mentions and hashtags rendered as links
  • Copy link
  • Flag this post
  • Block
dansup
@dansup@mastodon.social  路  activity timestamp yesterday

Just fixed an Http Signature bug in Loops that affected outgoing activities, specifically a malformed/missing Digest header.

https://github.com/joinloops/loops-server/commit/2b2a2f2a8f1b1c0d664b79bc3f67520bbacb6b2c

Loops has also switched from Laravel Sanctum to Laravel Passport for oAuth, I updated the install guide, but if you're seeing 500 errors on API requests, you simply need to run

```
php artisan passport:keys
```

And re-deploy!

https://github.com/joinloops/loops-server/blob/main/INSTALLATION.md#4-generate-passport-keys

#loops #loopsdev

GitHub

loops-server/INSTALLATION.md at main 路 joinloops/loops-server

The federated short video sharing platform. Contribute to joinloops/loops-server development by creating an account on GitHub.
  • Copy link
  • Flag this post
  • Block
Log in

A small Bonfire corner on the internet

This is a small personal instance of Bonfire in the Fediverse.

A small Bonfire corner on the internet: About 路 Code of conduct 路 Privacy 路
Bonfire social 路 1.0.0-rc.3.6 no JS en
Automatic federation enabled
  • Explore
  • About
  • Code of Conduct
Home
Login