Answer OverflowAOAnswer Overflow
Powered by
totaldevT
Answer Overflow•3y ago•
3 replies
totaldev

How does AnswerOverflow determine ordering (2 part question)

part 1: how does it determine ordering for the forum/threads on the left sidebar
part 2: how does it determine ordering for the messages in each forum/thread?

Looking at https://github.com/AnswerOverflow/AnswerOverflow/blob/main/packages/api/src/router/messages/messages.ts#L51, it appears it just follows the ordering of whatever discord gives it, but wanted to verify here.
GitHub
AnswerOverflow/packages/api/src/router/messages/messages.ts at main...
Indexing Discord Help Channel Questions into Google - AnswerOverflow/AnswerOverflow
AnswerOverflow/packages/api/src/router/messages/messages.ts at main...
Solution
1. Not actually sure I think it's in order they get written to the db, there's no specific order
2. It just orders them as they're sent
Jump to solution
Answer OverflowJoin
329Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
Rhys

## Convert to GitHub issue You can now convert any message into a GitHub issue directly on Discord It intelligently handles: - Extracting the description & title - Multiple issues in the same message You're able to edit the content & create the issues all without having to go to GitHub Next up for this is being able to run it on an entire thread, i.e if you have a thread for beta testing it'll be able to parse all of that feedback into issues. Let me know any feedback!

Rhys · 2mo ago

Rhys

## New features: [AI Chat](https://answeroverflow.com/chat] - Chat with any GitHub repo - Chat with any indexed Discord server - Rich responses, embeds replies, server invites, messages Discord Bot - Lock & archive on solve - Remove tags on solve Dashboard - Date range charts - Filter your analytics by custom date ranges Website - Channel categories are now displayed - You can now link to your github sponsor account (or any sponsor url) and it will appear in your sidebar

Rhys · 2mo ago

Rhys

Forum tag support is now here! You can filter & search by forum tags on community pages, and on the message pages it will show what tags a post had These will currently only apply to new posts, I'm looking into doing a backfill of them

Rhys · 3mo ago

Similar Threads

answeroverflow down, 10AM PST 8/6?
totaldevTtotaldev / questions
2y ago
how can I find my community's landing page on answeroverflow.com?
j0rgeJj0rge / questions
3y ago
What happens if a bot posted to an answeroverflow channel?
totaldevTtotaldev / questions
3y ago
How long does indexing take?
bunBbun / questions
3y ago