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

GO-181 Create InboxTag in order to filter only delivered significant messages #546

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

luciajanikova
Copy link
Member

@luciajanikova luciajanikova commented Feb 5, 2025

Co chceme dosiahnut:

  • aby vlakno bolo oznacene za neprecitane iba ak pride plnohodnotna inboxova sprava
  • aby vlakna, ktore obsahuju aspon jednu plnohodnotnu inboxovu spravu boli oznacene Inboxovym stitkom (ten je aktualne schovany, ale umoznuje vytvorit filter "Doručené", kt. sa správa podobne ako v gmaili).

Potrebujeme to preto, aby po odosielani podani sa nenasypalo do GO velke mnozstvo odoslanych sprav, ktore sa tvaria ako nove a treba ich otvorit a vyhodnotit (ci to je nieco na spracovanie).

Comment on lines +1 to +5
class AddInboxTagToThreadsJob < ApplicationJob
def perform
MessageThread.find_each { |message_thread| AddInboxTagToThreadJob.perform_later(message_thread) }
end
end
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tento job, aj ten dalsi, ktory sa scheduluje v tomto jobe su iba docasne, aby sme mali ako vykonat hromadne update na uz existujucich vlaknach (kedze v migracii by to cele nezbehlo). Potom zmazeme.

@luciajanikova luciajanikova requested a review from jsuchal February 5, 2025 15:31
@luciajanikova
Copy link
Member Author

Otocila som este pomenovanie tej metody @jsuchal

@luciajanikova luciajanikova requested a review from jsuchal February 6, 2025 11:51
@luciajanikova luciajanikova merged commit 1d9fd22 into main Feb 6, 2025
3 checks passed
@luciajanikova luciajanikova deleted the GO-181/filter_only_delivered_messages branch February 6, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants