Happy to announce we’ve finally setup some alternative frontends.

Photon might be flaky, we’re on a release candidate because of issue I was running into using it in Firefox. It’s also what I’m using to write this. If you notice any issues, feel free to let us know.

      • ᴇᴍᴘᴇʀᴏʀ 帝@feddit.uk
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 months ago

        It scrolls! Dammit. The scrolling on Photon is a bit of a PitA when trying to make longer posts and it looks like it has caught me out here too.

        • flamingos-cant@feddit.ukOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          Yeah, the text box getting its own scroll window instead of expanding is annoying. It can be expanded, but I imagine that’s a pain to do on mobile.

          • Xylight (Photon Dev)@lemm.ee
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            3 months ago

            @Emperor@feddit.uk I’ll update photon soon to increase the size of the text box as you type.

            I’ll also tweak parts of the UI to make nested scrolling places more obvious. You can always mention me about this stuff, I want to keep this UI intuitive!

          • flamingos-cant@feddit.ukOP
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            3 months ago

            For anyone else annoyed by this, I’ve created a userscipt to auto expand the textarea. It’s not perfect, but it’s better than nothing.

            // ==UserScript==
            // @name        Autoexpand textarea
            // @namespace   Violentmonkey Scripts
            // @match       https://p.feddit.uk/*
            // @grant       none
            // @version     1.0
            // @author      flamingos-cant
            // @description 06/08/2024, 21:05:31
            // ==/UserScript==
            
            function updateHeight(textarea) {
              var text = textarea.target.value;
              var lineHeight = 1.25 * parseFloat(getComputedStyle(document.documentElement).fontSize);
              var taHeight = textarea.target.scrollHeight - 16 * 2;
              var lines = Math.max(Math.ceil(taHeight / lineHeight), 8);
              textarea.target.rows = lines;
            }
            
            setInterval((function () {
              let textareas = document.getElementsByTagName("textarea");
              for (let textarea of textareas) {
                textarea.addEventListener("input", updateHeight);
              }
            }), 2000);
            
    • Streamwave@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      3 months ago

      Oh, that’s interesting. Another user has said in reply to my comment they have the option too. I’m using Brave Browser but I don’t have Stylish or anything installed