Skip to content

Commit 5180aad

Browse files
committed
feat: 3.13.0
1 parent 5320fa5 commit 5180aad

File tree

5 files changed

+29
-8
lines changed

5 files changed

+29
-8
lines changed

data/dev.geopjr.Collision.metainfo.xml.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@
4848
<color type="primary" scheme_preference="dark">#26a269</color>
4949
</branding>
5050
<releases>
51+
<release version="3.13.0" date="2026-01-19">
52+
<description translate="no">
53+
<ul>
54+
<li>Added a beautiful drop overlay when drag and dropping files</li>
55+
<li>Fixed issues with the checksum text input</li>
56+
<li>Title will be hidden now when unused</li>
57+
<li>Files pending to be hashed will now reflect that in the progress bar</li>
58+
<li>Collision will now gracefully handle closing windows that have pending operations</li>
59+
</ul>
60+
</description>
61+
</release>
5162
<release version="3.12.1" date="2026-01-14">
5263
<description translate="no">
5364
<ul>

data/ui/application.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
</child>
6565
<child type="top">
6666
<object class="AdwHeaderBar" id="header_bar">
67+
<property name="show-title">0</property>
6768
<child type="start">
6869
<object class="GtkButton" id="openFileBtn">
6970
<property name="visible">False</property>
@@ -81,10 +82,9 @@
8182
</object>
8283
</child>
8384
<property name="title-widget">
84-
<object class="AdwViewSwitcher" id="headerbarViewSwitcher">
85+
<object class="AdwViewSwitcher">
8586
<property name="policy">wide</property>
8687
<property name="stack">resultsStack</property>
87-
<property name="visible">0</property>
8888
</object>
8989
</property>
9090
<child type="end">

po/dev.geopjr.Collision.pot

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,13 @@ msgstr ""
184184
#: src/collision/functions/feedback.cr:204
185185
msgid "They Don't Match"
186186
msgstr ""
187+
188+
#. Text on top of the progressbar when waiting for a different window to finish first
189+
#: src/window.cr:164 data/ui/application.ui:152
190+
msgid "Pending"
191+
msgstr ""
192+
193+
#. translators: overlay shown when dragging files above it
194+
#: data/ui/application.ui:48
195+
msgid "Drop to hash"
196+
msgstr ""

shard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: collision
2-
version: 3.12.1
2+
version: 3.13.0
33

44
authors:
55
- GeopJr <evan@geopjr.dev>

src/collision/window.cr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Collision
88
"welcomeBtn",
99
"mainStack",
1010
"fileInfo",
11-
"headerbarViewSwitcher",
11+
"header_bar",
1212
"openFileBtn",
1313
"compareBtn",
1414
"verifyOverlayLabel",
@@ -31,7 +31,7 @@ module Collision
3131
HOST_PATH_ATTR = "xattr::document-portal.host-path"
3232

3333
@hash_rows = Hash(Symbol, Widgets::HashRow).new
34-
@headerbarViewSwitcher : Adw::ViewSwitcher
34+
@header_bar : Adw::HeaderBar
3535
@welcomeBtn : Gtk::Button
3636
@compareBtn : Gtk::Button
3737
@compareBtnImage : Gtk::Image
@@ -88,7 +88,7 @@ module Collision
8888
end
8989

9090
@mainStack.visible_child_name = "results"
91-
@headerbarViewSwitcher.visible = true
91+
@header_bar.show_title = true
9292
@openFileBtn.visible = true
9393
@switcher_bar.visible = true
9494
flow_queue
@@ -164,7 +164,7 @@ module Collision
164164
@progressbar.text = Gettext.gettext("Pending")
165165
@progressbar.fraction = 0.0
166166
@mainStack.visible_child_name = "spinner"
167-
@headerbarViewSwitcher.visible = false
167+
@header_bar.show_title = false
168168
@openFileBtn.visible = false
169169
@switcher_bar.visible = false
170170
reset_feedback
@@ -293,7 +293,7 @@ module Collision
293293
@verifyFeedback = Gtk::Image.cast(template_child("verifyFeedback"))
294294

295295
@mainStack = Gtk::Stack.cast(template_child("mainStack"))
296-
@headerbarViewSwitcher = Adw::ViewSwitcher.cast(template_child("headerbarViewSwitcher"))
296+
@header_bar = Adw::HeaderBar.cast(template_child("header_bar"))
297297
@switcher_bar = Adw::ViewSwitcherBar.cast(template_child("switcher_bar"))
298298
@mainDnd = Gtk::DropTarget.cast(template_child("mainDnd"))
299299
@compareDnd = Gtk::DropTarget.cast(template_child("compareDnd"))

0 commit comments

Comments
 (0)