WordPress.org

Making WordPress.org

Opened 3 years ago

Closed 3 years ago

#1590 closed enhancement (fixed)

Adding/editing a PTE on Rosetta site is very slow

Reported by: ChantalC Owned by:
Milestone: Priority: high
Component: International Sites (Rosetta) Keywords:
Cc:

Description

When adding/editing a PTE on Rosetta, you have to wait a long time for all projects to be loaded. Adding/editing one PTE takes about 10-15 mins.

Maybe it is better not to load them before hand and just do a query after a search.

Any ideas how to improve this?

Attachments (1)

1590.patch (6.7 KB) - added by ocean90 3 years ago.

Download all attachments as: .zip

Change History (17)

This ticket was mentioned in Slack in #polyglots by chantal. View the logs.


3 years ago

#2 @ocean90
3 years ago

  • Priority changed from normal to high

#3 @ocean90
3 years ago

In 2522:

Rosetta Roles: Fix the _.union statement, variadic arguments are no longer supported, see [WP36580].

Props adamsilverstein.
See #1590.

This ticket was mentioned in Slack in #polyglots by ocean90. View the logs.


3 years ago

@ocean90
3 years ago

#5 @ocean90
3 years ago

In 2543:

Translate: Store the timestamp of the last update for projects.

See #1590.

#6 @ocean90
3 years ago

In 2544:

Rosetta, Roles: Improve performance of the edit page.

  • When searching filter the sub-projects collection directly and re-render the list once. Previously a CSS class was added/removed and thus every item was re-rendered. H/t adamsilverstein.
  • Only render the first 100 sub-projects of a project. The others can be revealed through a search.
  • Add an Ajax handler for the projects data and store the JSON data in browser's local storage.

See #1590.

#7 @ocean90
3 years ago

In 2545:

Translate, Roles: Add a loading indicator while the projects list is generated.

See #1590.

#8 @ocean90
3 years ago

In 2546:

Rosetta, Roles: Improve styling of the loading indicator added in [2545].

See #1590.

#9 @ocean90
3 years ago

In 2548:

Rosetta Roles: Use the string_score library to sort search results by match score.

See #1590.

#10 @ocean90
3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

This ticket was mentioned in Slack in #polyglots by ocean90. View the logs.


3 years ago

#12 @ocean90
3 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

dyrer [20:00]:
@ocean90: When add to an PTE a new plugin then all the previous plugins are removed

#13 @ocean90
3 years ago

In 2618:

Rosetta Roles: Store selected projects in a collection and sync them with a hidden input field.

Prevents losing checked projects when the list gets filtered.

See #1590.

#14 @ocean90
3 years ago

In 2650:

Rosetta Roles: In projects.getLocalProjects() return false if the cached value of lastUpdated is 'undefined'.

See #1590.

#15 @ocean90
3 years ago

In 2697:

Rosetta Roles: Use the new blog option for the last_updated value.

See #1590, #1352.

#16 @ocean90
3 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.