Page MenuHomePhabricator

Misleading Toast Message for No Data
Closed, ResolvedPublic

Description

Description :

When no data matches the selected filters, the app shows a red error toast saying:

❌ "Aucune donnée trouvée pour les paramètres passées"

This is misleading. It’s not an error, just an empty result.

Difficulty: Beginner

Steps to reproduce (for bugs):

Expected outcome : Show an informational (neutral) toast, not an error one. Example message: ℹ️ "Aucun résultat trouvé pour ces paramètres"

Links or references: https://github.com/kaliacad/mostvisitedarticle

Setup Steps:

This improves user clarity.

screenshot

Screenshot from 2025-07-01 16-28-55.png (641×1 px, 713 KB)

Event Timeline

Change #1168423 had a related patch set uploaded (by Josefanthony; author: Josefanthony):

[labs/tools/mostvisitedarticle@main] fix(toast): misleading toast message for no data (T398331)

https://gerrit.wikimedia.org/r/1168423

A patch has been proposed only, thus nothing has been resolved yet :)

Change #1168423 had a related patch set uploaded (by Aklapper; author: Josefanthony):

[labs/tools/mostvisitedarticle@main] Fix misleading toast message for no data

https://gerrit.wikimedia.org/r/1168423

@BirushaNdegeya @JosefAnthony I see a patch has been submitted for this task. I am removing WMA-HackChallenge-2025 for now.

Hey, is this task taken already?

@JosefAnthony has already claimed the task.

image.png (152×784 px, 12 KB)

@AshuzaAlbin

Try to make pull and then resolve this conflit before I merge

image.png (434×1 px, 53 KB)