Closed Bug 1243137 Opened 4 years ago Closed 29 days ago

[translate] Implement empty strings filter

Categories

(Webtools :: Pontoon, defect, P3)

defect

Tracking

(firefox47 affected)

RESOLVED FIXED
Tracking Status
firefox47 --- affected

People

(Reporter: mathjazz, Assigned: abowler2, Mentored)

Details

(Whiteboard: outreachyround19)

Attachments

(1 file, 1 obsolete file)

Use text like <empty string> with style that is distinguishable from original text style. Also make sure helpers and things like word count and copy work as expected.
Priority: P3 → P2
Mentor: m
Assignee: nobody → m
The best solution might be to simply create a filter called "Empty strings".
Priority: P2 → P3

Hey, I am outreachy applicant want to work on this issue

Hi, I am an outreachy applicant, can I start work on this issue?

Hi :MonikaMaheshwari, I've assigned the bug to you! Please let me know if you have any questions, either here or in #pontoon on IRC.

You can start by installing Pontoon locally using Docker.

Once you have a working local environment, please make sure to read our contribution docs. It contains information on how to style code, how to run tests, how to name your commits, etc. All the things you need to know if you want your work to be merged into Pontoon!

--

Albiona, sorry but :MonikaMaheshwari came here first. Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1564841#c8. :)

Assignee: m → monikamaheshwari1996
Status: NEW → ASSIGNED

Okay will start by installing Pontoon :)

Hello, I am an Outreachy Intern, how do i contribute?

Hi justine, please pick one of the unassigned Mentored bugs (red background):
https://wiki.mozilla.org/L10n:Pontoon#Get_involved

We'll give you more details on how to contribute under the bug you pick.

Hi Matjaz, I have started Pontoon locally. Can you describe the bug to let me start like how I can test it :)

Flags: needinfo?(m)

I see the bug title and description are pretty confusing, so I'm fixing that as the first step.

You need to add a new filter in the "Extra filters" category that will search for empty strings.

The backend code (which will return the right list of entities) should be located here:
https://github.com/mozilla/pontoon/blob/master/pontoon/base/models.py#L2080

The frontend code (which renders the filter in the UI) should be located here:
https://github.com/mozilla/pontoon/blob/master/frontend/src/modules/search/index.js#L57

Flags: needinfo?(m)
Summary: [translate] Presentation of empty strings → [translate] Implement empty strings filter

Hey, How can I test my code?

Flags: needinfo?(m)

You can submit an empty translation for example and the filter should catch it.

Flags: needinfo?(m)

:MonikaMaheshwari: let me know if this bug is overwhelming - it's one of the most complex mentored bugs we have. If you want, we can try to find something else for you to work on.

:mathjazz: It would be great if you can find something that I can start with.

Flags: needinfo?(m)
Assignee: monikamaheshwari1996 → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(m)
Attachment #9099554 - Attachment is obsolete: true
Assignee: nobody → abowler2
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Whiteboard: outreachyround19
You need to log in before you can comment on or make changes to this bug.