Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. Technical Discussion
  3. Piefed community tags

Piefed community tags

Scheduled Pinned Locked Moved Technical Discussion
piefed
8 Posts 5 Posters 300 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.spaceJ This user is from outside of this forum
    julian@activitypub.space
    wrote on last edited by
    #1

    Hi rimu@piefed.social did Piefed.social update recently to include community tags? I recall this was announced awhile back but it only just started breaking on NodeBB.

      "tag": [
        {
          "background_color": "#99c1f1",
          "blur_images": null,
          "display_name": "Feature request",
          "id": "https://piefed.social/c/piefed_meta/tag/198",
          "text_color": "#000000",
          "type": "lemmy:CommunityTag"
        },
        ...
      ]
    

    I should point out that there's nothing wrong with the JSON. NodeBB's naive logic just expected every object in tag to have a name property, which your community tags do not, so things exploded 😰

    1 Reply Last reply
    1
    • julian@fietkau.socialJ This user is from outside of this forum
      julian@fietkau.socialJ This user is from outside of this forum
      julian@fietkau.social
      wrote on last edited by
      #2

      Oh hey @rimu, what's the story behind the color attributes? Does other software besides PieFed use them, is there an FEP?

      It's way down on my to do list, but I've still got a brain cell or two dedicated to declarative federated profile accent colors. @hollo has configurable profile colors, but doesn't federate them yet AFAIK.

      @julian@activitypub.space

      julian@activitypub.spaceJ rimu@piefed.socialR 2 Replies Last reply
      0
      • julian@fietkau.socialJ julian@fietkau.social

        Oh hey @rimu, what's the story behind the color attributes? Does other software besides PieFed use them, is there an FEP?

        It's way down on my to do list, but I've still got a brain cell or two dedicated to declarative federated profile accent colors. @hollo has configurable profile colors, but doesn't federate them yet AFAIK.

        @julian@activitypub.space

        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.space
        wrote on last edited by
        #3

        julian@fietkau.social IIRC I think Rimu wrote an FEP for it but it was not submitted through the official FEP processes.

        1 Reply Last reply
        0
        • silverpill@mitra.socialS This user is from outside of this forum
          silverpill@mitra.socialS This user is from outside of this forum
          silverpill@mitra.social
          wrote on last edited by
          #4

          @rimu It looks like display_name was changed to name in Lemmy: https://github.com/LemmyNet/lemmy/pull/5976

          1 Reply Last reply
          0
          • wjs018@piefed.socialW This user is from outside of this forum
            wjs018@piefed.socialW This user is from outside of this forum
            wjs018@piefed.social
            wrote on last edited by
            #5

            The change to how post flair federate was done with the 1.2 release. We tried to mirror the json structure as it currently stands with the planned lemmy 1.0 release (schema here).

            We have some extra fields for indicating the text color and the background color of the post flair as well as whether the flair should apply a blur effect to the post preview (for things like spoiler posts). Lemmy hasn't yet finalized how they will schematize the color properties yet. You can see and contribute to the ongoing discussion here.

            We will be updating our schema as theirs comes more into focus to try to keep the interop and transition as smooth as possible. If you want to see an example of an existing community that makes heavy use of post flair, you can look at !fediverse@piefed.social.

            1 Reply Last reply
            1
            • julian@fietkau.socialJ julian@fietkau.social

              Oh hey @rimu, what's the story behind the color attributes? Does other software besides PieFed use them, is there an FEP?

              It's way down on my to do list, but I've still got a brain cell or two dedicated to declarative federated profile accent colors. @hollo has configurable profile colors, but doesn't federate them yet AFAIK.

              @julian@activitypub.space

              rimu@piefed.socialR This user is from outside of this forum
              rimu@piefed.socialR This user is from outside of this forum
              rimu@piefed.social
              wrote on last edited by
              #6

              Please see https://join.piefed.social/2025/05/10/how-piefed-federates-flair-on-posts-and-comments/

              julian@fietkau.socialJ 1 Reply Last reply
              0
              • rimu@piefed.socialR rimu@piefed.social

                Please see https://join.piefed.social/2025/05/10/how-piefed-federates-flair-on-posts-and-comments/

                julian@fietkau.socialJ This user is from outside of this forum
                julian@fietkau.socialJ This user is from outside of this forum
                julian@fietkau.social
                wrote on last edited by
                #7

                @rimu Thank you! πŸ™‚

                I took a look at the source code too and it seems to expect CSS hex notation (either 6-digit RGB or compacted 3-digit form).

                One of the things I've been agonizing over is how to allow richer CSS colors, HDR etc. It'd be a short spec to be like β€œjust do anything https://drafts.csswg.org/css-color/#color-syntax allows” but I'd want to give non-browser-based clients some sort of 8-bit RGB fallback. And all that without exploding the complexity. πŸ˜“ Will keep thinking on it.

                @julian@community.nodebb.org

                rimu@piefed.socialR 1 Reply Last reply
                0
                • julian@fietkau.socialJ julian@fietkau.social

                  @rimu Thank you! πŸ™‚

                  I took a look at the source code too and it seems to expect CSS hex notation (either 6-digit RGB or compacted 3-digit form).

                  One of the things I've been agonizing over is how to allow richer CSS colors, HDR etc. It'd be a short spec to be like β€œjust do anything https://drafts.csswg.org/css-color/#color-syntax allows” but I'd want to give non-browser-based clients some sort of 8-bit RGB fallback. And all that without exploding the complexity. πŸ˜“ Will keep thinking on it.

                  @julian@community.nodebb.org

                  rimu@piefed.socialR This user is from outside of this forum
                  rimu@piefed.socialR This user is from outside of this forum
                  rimu@piefed.social
                  wrote on last edited by
                  #8

                  Another tricky aspect of this is different clients have all kinds of different designs and colors so depending on the situation the tags could look garish and crazy. But on the other hand a bit of crazy is fun.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups