No description
Find a file
dakkar c927c30567 mark grouped notifs by oldest id - sort-of fix 1139
Misskey's code does the same, but our groups behave differently enough
that this may be not the best choice

for example, let's say we have:

- notifications 1-5 for reaction to note A
- notifications 6-8 for reaction to note B
- notifications 9-12 for reaction to note A
- notification 13-19 for non-groupable events
- notification 20 for reaction to note A

and that events happened one every minute (so the last notification is
from 20 minutes ago)

client requests the most recent 10 notifications; we fetch
notifications 1-10, and reply:

- grouped id 6 for reactions 6-8 to note B
- grouped id 10 for reactions 1-5, 9-10 to note A

then the client requests 10 more notifications, untilId=10; we fetch
notifications 11-20, and reply:

- non-grouped notifications 13-19
- grouped id 20 for reactions 11,12,20 to note A

because we sort by id, and also the `createdAt` marks the _newest_
event in each group, the client will then show:

  6 reactions to note B, 6 minutes ago
  4 reactions to note A, 1 minute ago
  notifications 13-19, 13 minutes to 19 minutes ago
  3 reactions to note A, 11 minutes ago

I don't know how to make this work better ☹
2025-07-03 14:16:20 +01:00
.config comment new property 2025-05-30 12:29:07 -04:00
.devcontainer add mediaDirectory config option to configure location of uploaded media 2025-05-26 22:52:00 +10:00
.gitlab
.okteto
.vscode
assets
chart
cypress enable TypeScript incremental mode to speed up IDEs 2025-05-28 21:31:39 -04:00
eslint
fluent-emojis@cae981eb4c
idea
locales show signup reason in user admin screen 2025-06-13 20:01:06 -04:00
packages mark grouped notifs by oldest id - sort-of fix 1139 2025-07-03 14:16:20 +01:00
scripts Merge branch 'misskey-develop' into merge/2025-03-24 2025-04-29 15:54:11 -04:00
sharkey-locales show signup reason in user admin screen 2025-06-13 20:01:06 -04:00
tossface-emojis@3c0ac3f7bd
.dockerignore
.dockleignore
.editorconfig
.gitattributes
.gitignore add TS caches to gitignore 2025-05-28 21:31:40 -04:00
.gitlab-ci.yml
.gitmodules
.node-version
.npmrc
.vsls.json
CHANGELOG.md Merge branch 'misskey-develop' into merge/2025-03-24 2025-04-29 15:54:11 -04:00
CODE_OF_CONDUCT.md
codecov.yml
compose.local-db.yml
compose_example.yml
CONTRIBUTING.md document cache implementations 2025-06-09 11:02:53 -04:00
COPYING
crowdin.yml
cypress.config.ts
Dockerfile update package list for docker 2025-06-19 08:26:00 +00:00
healthcheck.sh
IMPORTANT_NOTES.md
LICENSE
package.json set version for release 2025.4.3 2025-06-16 14:57:15 +01:00
pnpm-lock.yaml downgrade htmlparser2 to match cheerio 2025-06-12 21:18:52 -04:00
pnpm-workspace.yaml
Procfile
README.md
renovate.json5
ROADMAP.md
SECURITY.md
UPGRADE_NOTES.md

Sharkey logo

🌎 Sharkey is an open source, decentralized social media platform that's free forever! 🚀


create an instance become a contributor join the community donate

Features

  • ActivityPub support
    Not on Sharkey? No problem! Not only can Sharkey instances talk to each other, but you can make friends with people on other networks like Mastodon and Pixelfed!
  • Federated Backgrounds and Music status
    You can add a background to your profile as well as a music status via ListenBrainz, show everyone what music you are currently listening to
  • Mastodon API
    Sharkey implements the Mastodon API unlike normal Misskey
  • UI/UX Improvements
    Sharkey makes some UI/UX improvements to make it easier to navigate
  • Sign-Up Approval
    With Sharkey, you can enable sign-ups, subject to manual moderator approval and mandatory user-provided reasons for joining.
  • Rich Web UI
    Sharkey has a rich and easy to use Web UI! It is highly customizable, from changing the layout and adding widgets to making custom themes. Furthermore, plugins can be created using AiScript, an original programming language.
  • And much more...

Documentation

Sharkey Documentation can be found at Sharkey Documentation