WuDK(ciUC(z>MdoElnUJtYUqZum^
zJyRUxL0((OvbPjj5khSS&kUd;)hp0M?G#PPs@V}Ho6cz79V~t!OU+Ab$Yj^%Fiwk7
zQS6zYh!nBgD=?ShY>Dwggh^5mV_Ex`I80_1vfQ?$M-d+IczQ?-d;cWnwB0Pn71*D#
zEXo9ljQ=>t>PQ}o%^E6z&GW8E;+mU`Nio#sQpORkz-5e6#4{0YzKo#GKIg0q^(O8b
zQHaeOgAn$wxE@7ZUwVK5#r&SY3aWepZ;%{elCQXKywAC7EORD>-nP1focoe62xnGH
zOZdDv6o+n1Y-4LnBaTwSOcctt_ai*)0JYD$p~f8RiC{l#MXaV$dl!bQgH{T5Q8+E0
zp7xn+Kl^k$goN{U9SId+X){>zJV$hZW}+IAWmJcVJBe-TJH!)gTT^|m8B3QlQk)ZW
zNwf|$y>rR(QFx{`E0jd?l#xt1gjZ9RbajETMFq!tKW?r2U<1UL$7TrXf9ocPz-e`0O5M
zS!VaycF%_T^n0k68i1kPm%;HHv|7({zLFhhlQ+|w1Y$GW
zDOOWLvZ$5$&iM=c?x>}hr;|jFdFH91i?K>@g>EMF6JrA*Fx_p0V-*<6%8;i9Qt3ys
zg{6aET`b4TB@}bNpBULR!Y1@1xACZtK-a#5Vyb_81g26#uF&XOvHn5)9AT~?Ufhcp
r=es8p;{P9v3ycel3;dr8yd%H>5F7(;Ku&Mw00000NkvXXu0mjff_W}b
literal 0
HcmV?d00001
diff --git a/apps/desktop/desktop/src/main/resources/images/chat/ignore/ignore-white.png b/apps/desktop/desktop/src/main/resources/images/chat/ignore/ignore-white.png
new file mode 100644
index 0000000000000000000000000000000000000000..ce1de50d9f96d6767c48373986ad0c1dd7da4f3b
GIT binary patch
literal 507
zcmVJNRCwC#)JrIYQ53-OnTaq9gvbU_
zl0;KNY)}fxMm9twtSl_lC>tvaQIbR!BC(Q`jb~DdydOJ?Jd3aqgI1E|~J{T
z{d5ds4_l}}D0Xp$HzXhq=jcYyPfK1wEsD^JX@p}K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?7;_mq!JL(Z<_gp;n$
Date: Mon, 17 Jun 2024 09:19:18 +0200
Subject: [PATCH 09/18] Add undo ignore icon
---
.../desktop/src/main/resources/css/images.css | 12 ++++++++++++
.../chat/undo-ignore/undo-ignore-green.png | Bin 0 -> 473 bytes
.../chat/undo-ignore/undo-ignore-green@2x.png | Bin 0 -> 1011 bytes
.../images/chat/undo-ignore/undo-ignore-grey.png | Bin 0 -> 473 bytes
.../chat/undo-ignore/undo-ignore-grey@2x.png | Bin 0 -> 1007 bytes
.../chat/undo-ignore/undo-ignore-white.png | Bin 0 -> 478 bytes
.../chat/undo-ignore/undo-ignore-white@2x.png | Bin 0 -> 995 bytes
7 files changed, 12 insertions(+)
create mode 100644 apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-green.png
create mode 100644 apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-green@2x.png
create mode 100644 apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-grey.png
create mode 100644 apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-grey@2x.png
create mode 100644 apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-white.png
create mode 100644 apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-white@2x.png
diff --git a/apps/desktop/desktop/src/main/resources/css/images.css b/apps/desktop/desktop/src/main/resources/css/images.css
index 8b9a2e91b1..7dee31efc3 100644
--- a/apps/desktop/desktop/src/main/resources/css/images.css
+++ b/apps/desktop/desktop/src/main/resources/css/images.css
@@ -893,6 +893,18 @@
-fx-image: url("/images/chat/ignore/ignore-white.png");
}
+#undo-ignore-green {
+ -fx-image: url("/images/chat/undo-ignore/undo-ignore-green.png");
+}
+
+#undo-ignore-grey {
+ -fx-image: url("/images/chat/undo-ignore/undo-ignore-grey.png");
+}
+
+#undo-ignore-white {
+ -fx-image: url("/images/chat/undo-ignore/undo-ignore-white.png");
+}
+
/* ------------------------------------------------------------------------------------ */
/* Markets */
diff --git a/apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-green.png b/apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-green.png
new file mode 100644
index 0000000000000000000000000000000000000000..fe56973deacc7065a754f88b9c530fd4338283ee
GIT binary patch
literal 473
zcmV;~0Ve*5P)ZkS3S${nzi+^fE=}
z;NYoGZ~f=(nP>UWI0J!zBb?!KggO3x!iZXLb*RtcPzN_sVTOH$Rm|h%Cl$710|Q9L
z4X%-gA#9@UI|++$k4_9C1s?ctf+|%$hF;vEAXLKEpsLa_gL75u)7b->F@iKzyM>mI
z8R}V&apdDbXWKZ_46W$LDb{hME|#$aKW0tBVRWD{C|NwR5o;TX`GO_%sR$FhDrDcx
z*tA?6RFM^tcn-0!TO``ftU@YX8uT^6WS`LvdHYOfVH3q&Pp21Kt2Rb$nsl47LMr&h-N91rxvm
zPzl2Ml1Hov6sK?E8@F*46IA}Q2)yGe1c7>R4K#ouU<-Y3nriNgAQr4*K&8-CLd^<{
z1W&;*u9`&WIgLP(&pbgM2n6H7Y!JaQvNC-@1)r(y7#PIoqv)Gat^|fNEr=cBs&%OP
z_<}NC%PORUc2%Di2Gx4rm+LHsjEm>XI2ddZdIH5?s@O3ftkc>4G>$vLRWPywZhHVo
zc99|Sd0j={{!5^P!QjuRN;8;jHQNl6=_y^Y+D0b-^AvZeR4q^(eGUU-p}{1+Oc@fj
zttJK5fu9TvSEY3+r~z>xRVgrr?JXA*c(VQIX7%~O*2_fS3bye|fjMkffH4MxKQL&*
z+z{tYVV}S^7kwp9Zs2vHQeZW6o`Y}TZ7@k0`^`5ga0%N|CUHHJTzZq&JDh%~^ob(Y
zN6Bdq>2F%*jJ5+N1?I8cZ_p>0zUs%^yHzg_N-8+d#MuZ&YfN?>T;+kF++el6*f)SB
zP0zohSxJJ~C&5)Ek)nPY3}o3_snJIw{t=h~UW1JcG^sw5dEd&~UB|MhWvO&8e{Sh?
zv$Z%0WbsMYnjQo`&XLV=RUdUAE-p!*Ws2am0OZFJbb58484
hfwsW^T;Oj31^{nk&R=j6wE3wC6IVxg3x6s5_+in0(XxlCcjLRl%rPI9+#OHs&eLYi#G_pRUPbT~z3
zVd1Gyr`|a|^IYB;cPJEcMKV0D2*=+~80GW%oIXoH9lS_~8TJ)cF^89*RM?IU^dl8F
zxJCg6v5B_tBrL%_Ix&DW_z}PfYE=0sdU1y$r-ZGRsxmQ+b5$GA*#nv}j0{z~g_e&Q
z>RFF56yiW<+c?tZNR
z{K?MFHamY5n9Ozv=np!;d(Z-&fLid}%;FA*A<2xNlI;Jn!&k!Q!j87g-f%mmZGK`Q4Da={xQr;aado56PA%e7vByb
zk>Dv9POC|Dp4A8xx#tb?K@gY#W`hXM5zF)i6?~?aV_-0!kEU-%xl=HlX+h)=t=6F$
z;|I#v7b~QLcGZ{`2Gs^$m%A{A%!}vC*cfaPt`ro1sp7x_u-?V?r*Ym1T0u_=x$S`<
z*-eHhV84pK{g;9^215X&DotmxHEc5srl)j;we>`P^AvZeRIQ*m`WyzvLY+nYm@*`4
zTMa5$2Yxaz+?Cd4pa#T&RHcG3Y;U?*z?kz9I%{T)s}RQg0Q
z>!akfhx9isaYow#g9_%e-LEqyn7-=I+`G+H9+XsYj)}7ojL}%^8o0s(LAj2#eKlM@74*YAqLv^Y
z0OB|=ocF);C3beziF!BK$Ks#NTgJ^(iokrGg$poLf`pDm*uv9EF
zeF96Eov6imx-O^BRhs&$Ga>g#3A29)6_h;Ilh%=g?n`hVJU08;XtVx5XenqZXes!g
dEBIT00RY>!%LmC@my`ei002ovPDHLkV1n`4*$n^y
literal 0
HcmV?d00001
diff --git a/apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-white.png b/apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-white.png
new file mode 100644
index 0000000000000000000000000000000000000000..da1d8f9a46bedc47fe743a488985b861d8ae4676
GIT binary patch
literal 478
zcmV<40U`d0P)ZI4}
zjait5g3%!mH+X5+eI>uZQ_F=^li(*%D`K65L
zMTz#7w8kx(^cZQ_(O%rbA@(#;F)sCGwmaW)P}|`~cOb_|MJbjsiE*?b53AY*(u>VM
zHFgEoP>oX@=q-tA89H=lXXw!#CcG&gJz^IckuBF0uQ<|Xe{j8e|Nn=-9$x|s030Zs
UxLiqqSO5S307*qoM6N<$f<~RstN;K2
literal 0
HcmV?d00001
diff --git a/apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-white@2x.png b/apps/desktop/desktop/src/main/resources/images/chat/undo-ignore/undo-ignore-white@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..46c13238a95cda95eb6fd1e76550a0d116ab8f23
GIT binary patch
literal 995
zcmV<9104K`P)`-<|(G_nvd_==Aw~j;?GjM;A9+pe@iAXbb$u)?NOz
zwY7!%d_0)Mb|~lvet^&59e4>Ifx1uz4+{(XB``>v1D1n%V4%fk-h(UPG`JPampSFA
zvlziOAP>YU?@5HJz(eo~G;-Sv1989&lG*p0_-zMAtwhj@z-+J!jO6Qk;1sybWmK&v
z_@*(&2(Sp`fCO^D3GZmq_k
zy+AX!z)En;V1;slhvFsUJ9PXGE0Y-qUTEz>*)Nq8=g|=-wt?bKnurtI2W~P_t4u0{
zhy6nL?J18qTIwW1!j0%=&Tr=
zscelIEZ$NlZ-e8ktEx@m6)T&s>-lWS-`oeqHiIp^?>Sh8&N1Ul4W1jo`=3m7DbIQ_
zFEh2EGcK&^reDt)2PRJgkH97t^Jpef{{X*Qu84<`c66pd)h4sj&jeFJZyi4=(03W-
zGG0`J`q31sK))rhUdA$Nkvwl(SpVMgWOyFxuR5pw|3O=zEzlPDp9}mczyO6Bm(ID-
RhqeF!002ovPDHLkV1n;h$)o@P
literal 0
HcmV?d00001
From d9247abd50488c9e8122bb9ed5509f43adca8aab Mon Sep 17 00:00:00 2001
From: axpoems <145597137+axpoems@users.noreply.github.com>
Date: Mon, 17 Jun 2024 09:22:13 +0200
Subject: [PATCH 10/18] Use ignore and undo ingore icon in buttons
---
.../main/content/chat/sidebar/UserProfileSidebar.java | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/apps/desktop/desktop/src/main/java/bisq/desktop/main/content/chat/sidebar/UserProfileSidebar.java b/apps/desktop/desktop/src/main/java/bisq/desktop/main/content/chat/sidebar/UserProfileSidebar.java
index 3e8a1f072f..d9b733cab5 100644
--- a/apps/desktop/desktop/src/main/java/bisq/desktop/main/content/chat/sidebar/UserProfileSidebar.java
+++ b/apps/desktop/desktop/src/main/java/bisq/desktop/main/content/chat/sidebar/UserProfileSidebar.java
@@ -299,8 +299,10 @@ private View(Model model, Controller controller) {
"channels-private-chats-grey", "channels-private-chats-white");
mention = new StandardButton(Res.get("chat.sideBar.userProfile.mention"),
"mention-grey", "mention-white");
- ignore = new StandardButton(Res.get("chat.sideBar.userProfile.ignore"), "", "");
- undoIgnore = new StandardButton(Res.get("chat.sideBar.userProfile.undoIgnore"), "", "");
+ ignore = new StandardButton(Res.get("chat.sideBar.userProfile.ignore"),
+ "ignore-grey", "ignore-white");
+ undoIgnore = new StandardButton(Res.get("chat.sideBar.userProfile.undoIgnore"),
+ "undo-ignore-grey", "undo-ignore-white");
report = new StandardButton(Res.get("chat.sideBar.userProfile.report"),
"report-grey", "report-white");
@@ -319,7 +321,7 @@ private View(Model model, Controller controller) {
Region separator = Layout.hLine();
VBox.setMargin(separator, new Insets(20, -20, 10, -20));
- optionsVBox = new VBox(5, separator, privateMsg, mention, ignore, undoIgnore, report);
+ optionsVBox = new VBox(10, separator, privateMsg, mention, ignore, undoIgnore, report);
optionsVBox.setAlignment(Pos.CENTER_LEFT);
VBox.setMargin(header, new Insets(0, -20, 0, 0));
From 1d59689915e2009da1b909984d158582521071c5 Mon Sep 17 00:00:00 2001
From: axpoems <145597137+axpoems@users.noreply.github.com>
Date: Mon, 17 Jun 2024 09:38:17 +0200
Subject: [PATCH 11/18] Refactor: Sort instantiations by UI column position
---
.../chat/sidebar/UserProfileSidebar.java | 42 +++++++++----------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/apps/desktop/desktop/src/main/java/bisq/desktop/main/content/chat/sidebar/UserProfileSidebar.java b/apps/desktop/desktop/src/main/java/bisq/desktop/main/content/chat/sidebar/UserProfileSidebar.java
index d9b733cab5..78ce096451 100644
--- a/apps/desktop/desktop/src/main/java/bisq/desktop/main/content/chat/sidebar/UserProfileSidebar.java
+++ b/apps/desktop/desktop/src/main/java/bisq/desktop/main/content/chat/sidebar/UserProfileSidebar.java
@@ -243,6 +243,7 @@ private View(Model model, Controller controller) {
root.setMinWidth(260);
root.setMaxWidth(260);
+ // Header
Label headline = new Label(Res.get("chat.sideBar.userProfile.headline"));
headline.setId("chat-sidebar-headline");
@@ -251,6 +252,7 @@ private View(Model model, Controller controller) {
HBox.setMargin(closeButton, new Insets(10, 10, 0, 0));
HBox header = new HBox(headline, Spacer.fillHBox(), closeButton);
+ // Nickname, name and reputation
nickName = new Label();
nickName.getStyleClass().add("chat-side-bar-user-profile-nickname");
if (controller.isUserProfileBanned()) {
@@ -261,6 +263,11 @@ private View(Model model, Controller controller) {
catIconImageView.setFitWidth(100);
catIconImageView.setFitHeight(100);
+ reputationScoreDisplay = new ReputationScoreDisplay();
+ reputationScoreDisplay.setAlignment(Pos.CENTER);
+ VBox.setMargin(reputationScoreDisplay, new Insets(0, 0, 5, 0));
+
+ // User profile details
Pair