Salta al contenuto
Citiverse è uno spazio aperto a tutte le comunità. Se vuoi aprire un gruppo locale o una sezione per la tua organizzazione, puoi contattare gli amministratori: pagina dei contatti.

Bookface 2.2.0-rc for Friendica 2026.08-rc

Friendica Admins
9 2 6
  • Bookface 2.2.0-rc for Friendica 2026.08-rc

    Yes, another release. Things are still changing in the Release Candidate and I'm still finding things that got missed in the stylesheets so here is version 2.2.0-rc already.
    Get it here:
    gitlab.com/randompenguin/bookf…

    Make sure to install all 4 scheme stylesheets, the 4 corresponding PHP files, and the bookface_assets folder. You do not need to install the /src folder and shouldn't on a production server.

    • Fixed Moderation table hover colors
    • Fixed Moderation table button link colors.
    • Fixed Moderation blocked entry font color in dark mode.
    • Updated screenshots to reflect contrast color change.
    • Fixed missing --contrast-color in about 20 places.

    And if you didn't grab the previous point release:

    • Added contrast-color code for buttons that have accent color background with multiple fallbacks
    • Added better handling of accent color for dark mode to make sure colors are not too dark.
    • Fixed display errors on login screen when bookface is set to site default.


    @admins

  • Bookface 2.2.0-rc for Friendica 2026.08-rc

    Yes, another release. Things are still changing in the Release Candidate and I'm still finding things that got missed in the stylesheets so here is version 2.2.0-rc already.
    Get it here:
    gitlab.com/randompenguin/bookf…

    Make sure to install all 4 scheme stylesheets, the 4 corresponding PHP files, and the bookface_assets folder. You do not need to install the /src folder and shouldn't on a production server.

    • Fixed Moderation table hover colors
    • Fixed Moderation table button link colors.
    • Fixed Moderation blocked entry font color in dark mode.
    • Updated screenshots to reflect contrast color change.
    • Fixed missing --contrast-color in about 20 places.

    And if you didn't grab the previous point release:

    • Added contrast-color code for buttons that have accent color background with multiple fallbacks
    • Added better handling of accent color for dark mode to make sure colors are not too dark.
    • Fixed display errors on login screen when bookface is set to site default.


    @admins

    @randompenguin Thank you, looks good!

    Noticed a small thing which may still be there:
    The two actions in the group widget on /network were on top of each other: The button to find groups and the button to create them.

  • @randompenguin Thank you, looks good!

    Noticed a small thing which may still be there:
    The two actions in the group widget on /network were on top of each other: The button to find groups and the button to create them.

    @marcusxms Is that something that was just added? Because the RC installed on my server only shows the button for "Create a group" even if you haven't added any groups yet:
    Link Preview Image
  • @randompenguin Thank you, looks good!

    Noticed a small thing which may still be there:
    The two actions in the group widget on /network were on top of each other: The button to find groups and the button to create them.

    @marcusxms Ignore my previous comment if my "Delete Globally" is lagging. I took a look at the widget template and I never realized there was the possibility of a second button because I've never enabled the "groupdirectory" add-on on my development server. Had no idea that add-on even existed.
  • @marcusxms Ignore my previous comment if my "Delete Globally" is lagging. I took a look at the widget template and I never realized there was the possibility of a second button because I've never enabled the "groupdirectory" add-on on my development server. Had no idea that add-on even existed.
    @randompenguin It has not been there that long either, but now I realize I should've possibly added a container element around them for all widgets, which may or may not be empty depending on the widget, and then maybe make it a flexbox with space-between, so whatever it contains is moved to the right. Instead of having to deal with each of them separately. Or something like that? Then things hopefully wouldn't break if more actions were added, depending on what a theme changes.
  • @randompenguin It has not been there that long either, but now I realize I should've possibly added a container element around them for all widgets, which may or may not be empty depending on the widget, and then maybe make it a flexbox with space-between, so whatever it contains is moved to the right. Instead of having to deal with each of them separately. Or something like that? Then things hopefully wouldn't break if more actions were added, depending on what a theme changes.

    @marcusxms I've already got a fix for how it is right now, though it only works with either one or two .widget-action buttons. If there are two it moves the second one over so they aren't on top of each other. It also adjusts the right margin on the widget heading to account for the 32px or 64px they take up.

    In Friendica stable and earlier I just hid the widget action buttons when the widget was collapsed and revealed them on their own line inside the widget when it is expanded. I could easily switch it back to working that way but the reason I changed it was to make creating groups or pages more easily discoverable for new users.

    Otherwise, unless they opened the widget and saw the button they'd never know it was there. Though widgets are expanded by default on a new account so maybe I'm overthinking it.

  • @marcusxms I've already got a fix for how it is right now, though it only works with either one or two .widget-action buttons. If there are two it moves the second one over so they aren't on top of each other. It also adjusts the right margin on the widget heading to account for the 32px or 64px they take up.

    In Friendica stable and earlier I just hid the widget action buttons when the widget was collapsed and revealed them on their own line inside the widget when it is expanded. I could easily switch it back to working that way but the reason I changed it was to make creating groups or pages more easily discoverable for new users.

    Otherwise, unless they opened the widget and saw the button they'd never know it was there. Though widgets are expanded by default on a new account so maybe I'm overthinking it.

    @randompenguin When I rewrote the widgets, I made those actions always be shown whether collapsed or not to help users more easily find and create groups. Also because they were changed to be collapsed by default to not overwhelm new users as much, inspired by Booklook and Matthias' request.

    And your change with registrations for specific account types also makes that button the least confusing way to create groups, compared to using "Add account" / "Switch account" in the user dropdown.

  • @randompenguin When I rewrote the widgets, I made those actions always be shown whether collapsed or not to help users more easily find and create groups. Also because they were changed to be collapsed by default to not overwhelm new users as much, inspired by Booklook and Matthias' request.

    And your change with registrations for specific account types also makes that button the least confusing way to create groups, compared to using "Add account" / "Switch account" in the user dropdown.

    @marcusxms I guess what I'm getting at is whether or not there are any widgets that might appear in that sidebar that have more than two action buttons? If the max is two my current fix will work. If there might be more than two action buttons I'll need to put it back like it was in the current stable version.
  • @marcusxms I guess what I'm getting at is whether or not there are any widgets that might appear in that sidebar that have more than two action buttons? If the max is two my current fix will work. If there might be more than two action buttons I'll need to put it back like it was in the current stable version.
    @randompenguin I think supporting up to two now is fine, I think if more are added a container around them should probably be added, which itself adds the spacing between the items, and then that just needs to be aligned to the right?
    Not that I'm planning on adding more.

Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy

Il server utilizzato è quello di Webdock, in Danimarca. Se volete provarlo potete ottenere il 20% di sconto con questo link e noi riceveremo un aiuto sotto forma di credito da usare proprio per mantenere Citiverse.