Commit 2b236f0d authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

Add April development post

parent 1fc88767
Pipeline #7697 passed with stage
in 1 minute and 53 seconds
---
title: Development News April 2021
subtitle: Gajim development news
date: 2021-04-30
bigimg: [{src: "/img/news/development-news.jpg"}]
tags: ['Development']
---
**April brought an all new message styling parser, making Gajim fully compliant with XEP-0393. This post will also give you a sneak peek on some features we’ve been developing for the past months: the new Chat view and Contact Info window.**
<!--more-->
## Changes in Gajim
As promised last month, this post will cover some of the new Chat view features we’re currently developing. April brought a lot of code refactoring, making Gajim ready for all of the new features which are planned. But let’s have a look at the new Chat view (work in progress):
{{< figure src="/img/news/chat-view-april.png" width="500px" caption="The new Chat View">}}
Each message type (e.g. info message, chat message, subject) features its own `Row`. This enables Gajim to apply distinct styling and elements to the various message types. Info messages for example are displayed with lower contrast, in order to move the focus on actual chat messages. Group chat Subject messages are placed in a separate box to display them prominently. Each chat `Row` offers a button for further actions, such as quoting or copying message content. The new Chat view also enables you to scroll back infinitely :arrow_up:.
Looking at the screenshot, you may notice further styling details for chat messages: Quotes are now highlighted and indented. Nested quotes are possible as well. Code blocks surrounded by backticks ` ``` ` will now be displayed inside a code widget, including code language detection, syntax highlighting, and a code block copy button. The whole message styling parser has been rewritten from scratch, making Gajim fully compliant with [XEP-0393](https://xmpp.org/extensions/xep-0393.html) (Message Styling).
As mentioned in last month’s news, the Contact Info window also received an update. It takes advantage the Info Grid we introduced for the new Profile window. Sharing the code base between these two windows significantly reduces maintenance effort. The new Contact Info window features a settings page, where contact subscription actions are displayed. This page will most likely offer further settings in the future. Contact group management has been moved into a page as well, making the old group management dialog obsolete. All devices of your contact are now neatly displayed on a Devices page. There could be even more pages in the future, e.g. an OMEMO page for fingerprint management.
{{< gallery caption-position="none">}}
{{< figure link="/img/news/contact-info-april-1.png" caption="Gajim's new Contact Info Window: VCard">}}
{{< figure link="/img/news/contact-info-april-2.png" caption="Gajim's new Contact Info Window: Devices">}}
{{< figure link="/img/news/contact-info-april-3.png" caption="Gajim's new Contact Info Window: Settings">}}
{{< /gallery >}}
This is only part of what we’re planning to do for the next release of Gajim. We’ll show more details with the coming blog posts. Stay tuned!
### What else happened
* [#10541](https://dev.gajim.org/gajim/gajim/-/issues/10541): Fixed using custom port in connection settings
* [#10540](https://dev.gajim.org/gajim/gajim/-/issues/10540): GSSAPI dependencies have been added to the Windows build
* [#10342](https://dev.gajim.org/gajim/gajim/-/issues/10342): UnicodeDecodeError related to avatars has been fixed (this error prevented translations on Windows)
### Plugin updates
Gajim’s PGP (Legacy) plugin received an update which fixes sending files. Both OMEMO and URL Image Preview are now able to correctly display files from URLs containing `?` characters. Also, a nasty file transfer issue which occurred when trying to download a file which had been deleted (HTTP 404) has been fixed ([#9999](https://dev.gajim.org/gajim/gajim/-/issues/9999)). Furthermore, Gajim’s Acronyms Expander now features improved word detection, enabling you to substitute short codes with emojis, for example `:` `robot` `:` with 🤖️ .
## Changes in python-nbxmpp
No changes in python-nbxmpp this month.
As always, feel free to join [gajim@conference.gajim.org](xmpp:gajim@conference.gajim.org?join) to discuss with us.
[![Gajim](https://conference.gajim.org:5281/muc_badge/gajim@conference.gajim.org)](xmpp:gajim@conference.gajim.org?join)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment