Making WordPress.org

Attachments (2)

image (13).png (178.0 KB) - added by sumitsingh 11 months ago.
Ui issue screenshot
image (13).2.png (178.0 KB) - added by sumitsingh 11 months ago.
UI issue screenshot

Download all attachments as: .zip

Change History (10)

@sumitsingh
11 months ago

Ui issue screenshot

@sumitsingh
11 months ago

UI issue screenshot

#1 @sumitsingh
11 months ago

Anyone can delete the twice image?

This ticket was mentioned in PR #166 on WordPress/wordpress.org by @Amieiro.


10 months ago
#2

  • Keywords has-patch added

## Problem

Currently, we have 5 tabs in the right sidebar to show different information:

  • Meta.
  • Discuss.
  • History.
  • Other locales.
  • Translation memory (TM).

https://i0.wp.com/github.com/WordPress/wordpress.org/assets/1667814/490dd241-cb6e-4f3b-ae08-1ef993afcf46

These tabs take up a lot of horizontal space with small devices and/or screens, showing tabs with only a few letters and without the number of elements, with a bad usability.

https://i0.wp.com/github.com/GlotPress/gp-translation-helpers/assets/1667814/b2912bb1-e4e0-4961-a8ec-5b442e2097ef

## Solution

This PR merges the content from the "History", "Other locales" and "TM" in a new tab, called "Others", removing the three previous tabs.

https://i0.wp.com/github.com/WordPress/wordpress.org/assets/1667814/cfbfe930-5748-4c02-a8c1-e7ce69b7867e

This PR adds "summary" elements, so the user could show or hide the different elements. This PR remembers the status of each summary (opened or closed) when you change to another row.

https://i0.wp.com/github.com/WordPress/wordpress.org/assets/1667814/f7a82423-47e6-4a29-8821-8471c4294716

This PR also solves a problem with the "Other locales" UI, reported here.

Problem

https://i0.wp.com/github.com/WordPress/wordpress.org/assets/1667814/9b6d78cf-e2ca-4fce-aead-fd7186526a8e

Solution

https://i0.wp.com/github.com/WordPress/wordpress.org/assets/1667814/108053d3-54b2-47a7-a70c-6bf1193f1d8b

## Testing instructions

To test this PR, you need to use the branch from this gp-translation-helpers' PR.

To test this PR, you have to access to some projects with:

  • 0 or some elements in the "Translation memory" summary.
  • 0 or some elements in the "Other locales" summary.
  • 0 or some History summary.

You need to check some of these combinations to be sure all work as expected.

@akirk commented on PR #166:


10 months ago
#3

Do I also need to have a specific version of GlotPress? For me it looks like this:
https://i0.wp.com/github.com/WordPress/wordpress.org/assets/203408/073ddad6-bb36-4566-a04c-dd7bc240854f

For consistency, should the "Other locales" be called "Other languages" now that we have more space?

@Amieiro commented on PR #166:


10 months ago
#4

Do I also need to have a specific version of GlotPress? For me it looks like this: https://i0.wp.com/user-images.githubusercontent.com/203408/256231187-073ddad6-bb36-4566-a04c-dd7bc240854f.png

For consistency, should the "Other locales" be called "Other languages" now that we have more space?

You don't need a specific version of GlotPress. This PR moves the content from 3 tabs (Translation memory, Other locales and History) to a new one (Others) (1), maintaining the TM and the Other Locales at the bottom (2).

I hope that in the medium term we will be able to remove the elements at the bottom, but it is something I want to discuss with the community.

https://i0.wp.com/github.com/WordPress/wordpress.org/assets/1667814/c6531914-5646-4170-be24-2dd2b955c3dd

Related with the "Other locales" name, we always talk about "locales", not "languages", so I think this is the correct term. E.g., you can see it at https://translate.wordpress.org/

https://i0.wp.com/github.com/WordPress/wordpress.org/assets/1667814/11440b40-5d63-438f-b7a1-f48ccf5da0db

@Amieiro commented on PR #166:


10 months ago
#5

Added the loading indicator

https://i0.wp.com/github.com/WordPress/wordpress.org/assets/1667814/fa33675f-ea7c-4710-b617-6450b4992480

trymebytes commented on PR #166:


10 months ago
#6

I tested again ensuring that the gp-translation-helpers plugin is on the tab-others branch and the js errors do not appear anymore, apparently I was not on the right branch for gp-translation-helpers

@akirk commented on PR #166:


6 months ago
#7

@amieiro will rebase this and we'll merge it then

@Amieiro commented on PR #166:


5 months ago
#8

I close this PR, as it has been deployed at translate.wordpress.org

Note: See TracTickets for help on using tickets.