U4-11560 - Angularize translation pages

Created by Sébastien Sougnez 07 Aug 2018, 20:00:44 Updated by Sébastien Sougnez 09 Aug 2018, 20:37:47

Tags: Up For Grabs

Angularize translation pages

Comments

Sebastiaan Janssen 08 Aug 2018, 07:29:02

Yas! That would be awesome!


Sébastien Sougnez 08 Aug 2018, 07:48:50

Can you assign it to me or something? I'm already working on it.


Sébastien Sougnez 09 Aug 2018, 20:37:47

Hi,

I have a question for that one. I created a tree controller for the translation section. Basically, there are two folders:

  • Tasks assigned to me
  • Tasks created by me

Basically, these two folders point to two view that are almost the same. Few things changes:

  • The title of the page (in the header of the editor view)
  • The tasks retrieved
  • Other minor details

But for the rest, the two pages are almost the same. Therefore, my idea would be to create a reusable component with some bindings defining which tasks to retrieve. However, I don't know where to put them. It seems that "src/common/directives/components/" contains such components but the one I want to create is not really one that could be reused in another context than this pages.

So the questions are:

  • Is a component the way to go?
  • If so, where can I put it?

Moreover, would it be possible to have an example of the legacy version of the XML file? Indeed, in the current code, it seems that the code expects some task element to contain other task element, however, the current version of Umbraco generates a tasks element with multiple task children when I download the XML of all the tasks so I wondered if it's even possible to have nested task element. That's why I would need an example of the legacy version, maybe in this one, task element are nested.


Priority: Normal

Type: Bug

State: Open

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: