MystPi / aviate

Use your imagination to create fun and magical statuses, then use them on Scratch (and across the web!) with a simple API.
https://aviate.scratchers.tech
MIT License
17 stars 2 forks source link

My Aviate Ideas #12

Closed Norbiros closed 1 year ago

Norbiros commented 2 years ago
  1. Link tag: {link <website> <text>} (text is optional).
  2. Tags Completion, when you start typing text with { it shows list with possible values, you can select value using arrows and click tab to select it (something like in Minecraft).
  3. Status per language - you can return different status, for different languages.
  4. Better jokes - not just programming.
  5. Status Icons - something like in github/discord.
  6. Import status from ocular - if user's status isn't set, you can import from ocular.
  7. When user mentions someone, it converts it to link (but this is client side code)
  8. Words blacklist - system that blocks swearing in statuses.
  9. Recently loved project (link to recently loved project) Can you accept/reject my ideas?
MystPi commented 2 years ago

2. Tags Completion, when you start typing text with { it shows list with possible values, you can select value using arrows and click tab to select it (something like in Minecraft).

That sounds really cool but hard to implement.

3. Status per language - you can return different status, for different languages.

Do you mean spoken language? If so, it would be hard to determine what language to use just from an API call.

4. Better jokes - not just programming.

Feel free to make a PR with any if you want! I just copied random programming jokes from the internet. :P

5. Status Icons - something like in github/discord.

I'm trying to limit Aviate to just statuses, but that's a good idea. Bear in mind that you could just set your status to something like 🤒 out sick which is basically the same thing.

6. Import status from ocular - if user's status isn't set, you can import from ocular.

Another great idea!

8. Words blacklist - system that blocks swearing in statuses.

I don't like blacklists since it's very hard for them to be perfect. I think Aviate's mods will do a good enough job, and nobody has ever done it AFAIK so far.

I'm going to reject anything with client-side code, sorry. :(

Norbiros commented 2 years ago
  1. Status per language - you can return different status, for different languages.

Do you mean spoken language? If so, it would be hard to determine what language to use just from an API call.

We can get language using SA api (which returns language set in scratch settings).

  1. Status Icons - something like in github/discord.

I'm trying to limit Aviate to just statuses, but that's a good idea. Bear in mind that you could just set your status to something like 🤒 out sick which is basically the same thing.

So I should work on this or not?

I'm going to reject anything with client-side code, sorry. :(

It is client decision right? So If W_L accepts, can I create client side things in SA? Maybe I can use document.createElement to add href element (xss is not possible)?

MystPi commented 2 years ago

So I should work on this or not?

If you want to, of course!

It is client decision right? So If W_L accepts, can I create client side things in SA? Maybe I can use document.createElement to add href element (xss is not possible)?

I'm still not going to implement those components though. I think it's best not to implement that in SA for now either.

Norbiros commented 2 years ago

It is client decision right? So If W_L accepts, can I create client side things in SA? Maybe I can use document.createElement to add href element (xss is not possible)?

I'm still not going to implement those components though. I think it's best not to implement that in SA for now either.

But what with mentioning? No needs for new components?

MystPi commented 2 years ago

It is client decision right? So If W_L accepts, can I create client side things in SA? Maybe I can use document.createElement to add href element (xss is not possible)?

I'm still not going to implement those components though. I think it's best not to implement that in SA for now either.

But what with mentioning? No needs for new components?

No, just components like {link}.

MystPi commented 2 years ago

I added the import from ocular button: image You can try it out if you want at https://aviateapp.eu.org/dashboard.

Norbiros commented 2 years ago

Another idea, show name of user that fetches status. For example: Hey {visitor}!

MystPi commented 2 years ago

Another idea, show name of user that fetches status. For example: Hey {visitor}!

Done in https://github.com/MystPi/aviate/commit/811a0a0bb4feb0163163d9f72b1a96a7e3b8020e.

MystPi commented 2 years ago

Another idea, show name of user that fetches status. For example: Hey {visitor}!

Done in 811a0a0.

The 'visitors' feature was actually removed due to security reasons; I just forgot to post that here. 😅

MystPi commented 2 years ago

The problem with no. 9 is that SDB doesn't provide that information; otherwise, I would have already implemented it.

Norbiros commented 2 years ago

But what with scratch API?

MystPi commented 2 years ago

Extra API calls aren't really preferrable, but I'll look into it. :)

MystPi commented 2 years ago

Do you know what the API endpoint for recently loved is? All I could find is recently favorited.

Norbiros commented 2 years ago

You can get first element from loved projects.

MystPi commented 2 years ago

Yeah, but what endpoint would you use? I've looked at this and can't seem to find anything.

Adzboy commented 1 year ago
  1. Better jokes - not just programming.

Some good dad jokes would be nice

MystPi commented 1 year ago
  1. Better jokes - not just programming.

Some good dad jokes would be nice

Feel free to make a PR to add jokes to the list.