43
New frontends! (feddit.uk)
submitted 1 month ago by flamingos@feddit.uk to c/feddituk@feddit.uk

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.

top 32 comments
sorted by: hot top controversial new old
[-] wren@feddit.uk 10 points 1 month ago

this is a fab idea :)! thank you for workin on it

[-] Xylight@lemm.ee 6 points 1 month ago

Are you using the node server? Is it working well?

[-] flamingos@feddit.uk 4 points 1 month ago

Yeah, no issues so far.

[-] flamingos@feddit.uk 3 points 1 month ago

Nothing related to deployment, but I've noticed photon doesn't let you escape markdown like other clients do.

E.g. This:

\>watches french thing  
\>gets mad when it's subversive and weird  
???

Get's displayed like this in photon:

[-] Xylight@lemm.ee 4 points 1 month ago

I'll look into that. Markdown is absolute hell to make work.

[-] Emperor@feddit.uk 3 points 1 month ago

While I have you on markdown, this:

> test
>
> test

Is currently displaying like a line break with no extra space between the two, rather than as two different paragraphs.

Other than that - great work. It's clearly the biggest hit of the frontends that we've added.

[-] flamingos@feddit.uk 3 points 1 month ago

Absolutely get that, I've been doing some stuff with markdown lately and I didn't realise I could hate a file format so much. Best of luck, friend.

[-] mannycalavera@feddit.uk 5 points 1 month ago

Ooo Photon looks nice. Do you have any troubles using these as a PWA (Progressive Web App)?

And it has full search!

[-] Streamwave@feddit.uk 4 points 1 month ago* (last edited 1 month ago)

Yay. Photon is by far the best imo

Also strongly recommend Photon users change the theme to Catppuccin, it's such a lovely colour scheme

[-] DaiDactylos@feddit.uk 2 points 1 month ago

Catppuccin is very easy on the eyes, so cheers for the reminder to change it here too.

[-] Emperor@feddit.uk 2 points 1 month ago

How do you change themes? On the themes page the import button doesn't work.

[-] Streamwave@feddit.uk 1 points 1 month ago

Click on your username/avatar at the top right, then Theme, then just click on Catppuccino

[-] Emperor@feddit.uk 2 points 1 month ago

I only get the options of default and classic.

[-] flamingos@feddit.uk 2 points 1 month ago* (last edited 1 month ago)
[-] Emperor@feddit.uk 3 points 1 month 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@feddit.uk 2 points 1 month 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.

[-] flamingos@feddit.uk 3 points 1 month ago* (last edited 1 month 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);
[-] Emperor@feddit.uk 2 points 1 month ago
[-] Xylight@lemm.ee 3 points 1 month ago* (last edited 1 month 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!

[-] Streamwave@feddit.uk 0 points 1 month 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

[-] Flax_vert@feddit.uk 4 points 1 month ago

Wonderful news!

[-] Predator@feddit.uk 3 points 4 weeks ago

Big fan of old.feddit, before this offering i've been using this frontend: https://o.opnxng.com/feddit.uk/ - but now that you've made old.feddit official, i'll be switching to that.

[-] jabjoe@feddit.uk 1 points 3 weeks ago

Yer, it was the best to me too. I want to see a good chunk of the list, so I don't like the picture being very big. I like your no pictures interface link, I'll try it. Thanks. ๐Ÿ˜ƒ

[-] Alice@hilariouschaos.com 3 points 1 month ago
[-] UKFilmNerd@feddit.uk 3 points 1 month ago

Having tried many of the alternative front ends, Photon is definitely my favourite when accessing Lemmy on my PC/laptop. I shall change my bookmark forthwith! ๐Ÿ˜„

[-] Hossenfeffer@feddit.uk 2 points 1 month ago
[-] blackn1ght@feddit.uk 1 points 4 weeks ago

Is it me or is there no way to collapse comments on Photon?

[-] flamingos@feddit.uk 2 points 4 weeks ago

Hit the time stamp after the username, or the dead space after it.

[-] blackn1ght@feddit.uk 1 points 4 weeks ago

Cheers, I'll give it a go when I'm next on desktop. Doesn't sound very intuitive though. Other than that I'm quite enjoying it.

[-] Xylight@lemm.ee 2 points 3 weeks ago

Any ideas on a way to make it more intuitive that you can click it?

[-] blackn1ght@feddit.uk 2 points 3 weeks ago

I think it just needs a little + / - button (or some visual representation) to show the comment can be collapsed, I didn't expect the deadspace to be clickable.

Unreleated, but I've also noticed that sometimes I can't log in using Photon until I've logged in using the "default" web UI, and then coming back to Photon and refreshing fixes it.

[-] flamingos@feddit.uk 2 points 3 weeks ago

Unreleated, but I've also noticed that sometimes I can't log in using Photon until I've logged in using the "default" web UI, and then coming back to Photon and refreshing fixes it.

This is probably due to some server instability we've had lately. We've resolved it, so hopefully it shouldn't happen again.

this post was submitted on 05 Aug 2024
43 points (97.8% liked)

Feddit UK

1278 readers
1 users here now

Community for the Feddit UK instance.
A place to log issues, and for the admins to communicate with everyone.

founded 1 year ago
MODERATORS