We asked our colleague Carola Christoffel about her winning Lab Day project.
Time for your own ideas and projects! Within a two-week sprint, subshell employees can take a day to develop creative projects. The best ideas are rewarded with a trophy full of sweets.
Our colleague Carola Christoffel, developer in Team Vegas, developed a "Synchronize Button" for Sophora and won the Lab Cup. We asked her about her Lab Day project.
This is a round of presentations where everyone can register and introduce their Lab Day project. The Lab Cup takes place every 8 weeks.
This is where the various projects are voted on. The project with the most votes wins.
I think it's great that in the working world you also have the opportunity to implement your own ideas or devote yourself to a new project.
After graduating, you sometimes have the feeling that there are fewer opportunities in the job environment to be creative.
When I started Lab Day, I wasn't at subshell for long. While working with the Sophora DeskClient, I noticed that you can't see the location of an open system document in the structure tree.
Even if you open a document directly from the structure tree, you may lose track of its position while further working or navigating through the tree.
Certain actions can only be found in the menu that opens when you right-click on a document in the structure tree. Without knowing the location of the currently open document, you would first have to look in the document information and search or expand the corresponding path in the tree. This takes time.
Therefore, I had the idea to display the position of the currently opened document in the structure tree with a single click. Therefore, the button "Synchronize with Editor" was created.
If this function is activated, opened documents are automatically synchronized with the structure tree. This means that the tree opens up to the correct level and the document is selected in the tree. This feature is also known in the Eclipse development environment.
I didn't think of that at the beginning, because as a developer you are often in the admin area. The thought already came to me and I think it's a good idea which I will also implement.
In total it must have been four Lab Days.
My team helped me with programming and my questions about the internal mechanisms of the software.
The biggest difficulty was that at the beginning, the structure tree didn't want to open in the right place. It didn’t know its "children" when it was collapsed. So it was not clear under which node a document was located.
Therefore, one must proceed as follows: the top node is opened programmatically and searched to see whether the document is on this level. If not, further nodes are expanded bit by bit until it is found. On the way there, the entire path is saved, which is then passed to the tree.
Furthermore, not all documents in the admin area are Sophora documents. Due to the special cases there can be more lines of code at the end.
The time saving aspect is a big advantage of the feature.
I learned a lot about the structure of the administration area and the different types of documents.
Besides Sophora documents, there are, for example, nodetypes, default configurations and user roles. In the future, however, these will all be Sophora documents.
In the end, the next project will also be a Mattermost bot.
That's still a secret (grins).