26
21
The theme update (lemdro.id)
submitted 3 months ago* (last edited 3 months ago) by Xylight@lemdro.id to c/photon@lemdro.id

If you dislike the new default colors, just go to theme settings and select "photon classic"

This new update allows instance admins to set their own themes (via PUBLIC_THEME) and allows you to have multiple theme presets.

It's available on phtn.app right now, coming soon to a release

27
8
submitted 3 months ago by Blisterexe@lemmy.zip to c/photon@lemdro.id
28
26
submitted 3 months ago* (last edited 3 months ago) by Xylight@lemdro.id to c/photon@lemdro.id

I like these colors, as it gives a bit more personality than neutral gray.

But what do you think? If I did make this the default dark theme, I would add presets to the theme page including a "classic" preset.

If you'd like to use this theme right now, here:

{"other":{},"primary":{"100":"#f3f4f6"},"zinc":{"100":"#f3f4f6","300":"#d1d5db","400":"#9ca3af","500":"#6b7280","600":"#4b5563","700":"#374151","800":"#1f2937","900":"#111827","925":"#080C19","950":"#030712"},"slate":{}}
29
12
submitted 3 months ago* (last edited 2 months ago) by Xylight@lemm.ee to c/photon@lemdro.id

This will be a test post for markdown, as I'm switching to a faster markdown renderer that will allow me to do some cool stuff, like allow expanding images and running my code in markdown.

It might release with v1.31.2.

30
16
submitted 3 months ago* (last edited 3 months ago) by Xylight@lemm.ee to c/photon@lemdro.id

arguably a bigger update than v1.31, lots of backend changes for better speed

i've been using this command palette a lot because it makes doing everything so fast. let me know if there's any action or link you'd like added, since it's very easy to do.

What's Changed

  • feat: add a command palette by @Xyphyn in https://github.com/Xyphyn/photon/pull/364

    • Press / or ctrl + p or right click the photon logo to bring up the command palette
    • Instantly start typing to find a link, or run an action
  • design: Make compact mode even more compact

  • misc: add infinite scroll to communities too

  • code: rewrite how post feeds are handled, improving speed and cleanliness and allowing more opportunities for caching.

  • misc: add support for upvoted/downvoted posts and uploaded media in the profile page

  • strings: tweak some strings for better clarity

  • Vertical postlink layout for mobile by @sevonj in https://github.com/Xyphyn/photon/pull/360

Full Changelog: https://github.com/Xyphyn/photon/compare/v1.31.0-fix.1...v1.31.1-rc.1

31
16
Command Palette! (lemdro.id)
submitted 3 months ago* (last edited 3 months ago) by Xylight@lemm.ee to c/photon@lemdro.id

I'm working on a command palette for Photon, which will allow you to press ctrl + p or / to open a prompt where you can type and go to a page or a recent post instantly.

Are there any actions or links that you'd want me to add?

32
1
submitted 3 months ago by James@fedi.phtn.app to c/photon@lemdro.id

test

33
24
submitted 3 months ago* (last edited 3 months ago) by Xylight@lemm.ee to c/photon@lemdro.id

This update is currently available on phtn.app, with a tagged release coming soon. Post navigation is down by 65% and returning from posts is instant.

What's Changed

  • feat: add infinite scroll

    • You can now scroll down infinitely without clicking next!
    • As a bonus, returning from a post page is now instant.
    • Of course, you can turn it off in settings.
    • A virtual list is also used so that infinite posts can be loaded with no performance impact.
  • feat: parse tags from title

    • Tesseract dev and I had the same idea, [tags in brackets] in posts will automatically be converted to a badge/flair. You can click it to search for all posts with that tag in a community.
    • I added options which let you choose flairs to blur posts of or hide.
  • tweak link design

  • improve smaller screen support

  • codebase: move $profile to a derived, immutable store to improve consistency

  • i18n: add new languages/update languages

    • Chinese
    • English
    • Estonian
    • French
    • Finnish
    • German
    • Hebrew
    • Portuguese
  • Update p.darrennathanael.com photon region by @DarrenOfficial in https://github.com/Xyphyn/photon/pull/350

  • Remove empty space left by hideTitle by @sevonj in https://github.com/Xyphyn/photon/pull/352

  • docs: Post component comments by @sevonj in https://github.com/Xyphyn/photon/pull/354

Full Changelog: https://github.com/Xyphyn/photon/compare/v1.30.4...v1.31.0-rc.1

34
14
test (lemm.ee)
submitted 3 months ago* (last edited 3 months ago) by Xylight@lemm.ee to c/photon@lemdro.id

I'm working on adding a feature that will convert tags in the title to flairs, which you can add custom filters/rules to.

35
21
submitted 4 months ago* (last edited 4 months ago) by Xylight@lemm.ee to c/photon@lemdro.id

Hey, I've been working on a few changes to photon that make it a lot faster to open posts and return, and as a result of these changes I can also make infinite scroll work. If you go to this link, Vercel will have commented on the post with a preview link. Those are basically the beta links.

Preview Link

Let me know of any bugs and any changes you'd like!

Current roadmap

  • [x] Make this not duplicate posts in memory
  • [ ] Make this work on all posts
  • [x] Use a virtual list for better render performance
36
40
submitted 4 months ago* (last edited 4 months ago) by Xylight@lemm.ee to c/photon@lemdro.id

all 0.19.4 features coming soon

37
25
submitted 4 months ago by Xylight@lemdro.id to c/photon@lemdro.id

One year ago, on June 24, 2023, I saw the migration to Lemmy. I wanted to make something like libreddit, so I decided to mess with Lemmy's API. Lemmy became something I wanted to use daily, so I got to work, and I made the first commit:

I started with something that reused components from another project of mine, Imagi. It looked awful and had no features. But, some people actually started using it, and I was motivated to continue this.

After about a month 0.0.1 was released, with very basic features.

One of the earliest Photon versions

38
12
submitted 4 months ago* (last edited 4 months ago) by Tywele@lemmy.dbzer0.com to c/photon@lemdro.id

The only thing that's missing from the new navigation layout is in my opinion an easily accessible "Frontpage" button like there was in the old navigation layout. So I made a pull request to re add the Frontpage, Settings and Explore buttons back into the sidebar for easier access.

39
7
Double loading bug (self.photon)
submitted 4 months ago by aaaaace to c/photon@lemdro.id

On ... https://phtn.lemmy.blahaj.zone/

the "random" thread loader runs twice.

I am on a slow rural connection so it may not be noticeable in town.

I go to read the first post, then page gets replaced by different posts.

This does not happen on... https://lemmy.blahaj.zone/

I think there is yet another theme for blahaj, but have not tested it.

40
9
submitted 4 months ago by khoosehao@lemm.ee to c/photon@lemdro.id

I feel currently Photon is the best web UI for lemmy, while Photon's front page only provides feeds of posts, but lemmy-ui or Alexandrite further provides feeds of comments. Personally I think feeds of comments are a good way to find interesting contents. Will Photon consider add such a feature?

41
6
Failed to fetch the page (discuss.tchncs.de)
submitted 5 months ago* (last edited 5 months ago) by maki@discuss.tchncs.de to c/photon@lemdro.id

I have an issue with proton. I hosted the software on my own homeserver with portainer.

Often it comes the failure "TypeError: NetworkError when attempting to fetch resource."

when i try to upload images

or

when I try to post something

in photon. It doesnt work in Firefox (Mac) or Safari (iOS, MacOS).

The instance is not the problem. It works with voyager.

42
16
submitted 5 months ago* (last edited 5 months ago) by Xylight@lemdro.id to c/photon@lemdro.id

This is great on OLED screens, the background is true black and darker colors are used in many spots. Orange is the accent color to not burn your eyes with blue light, but you can change it.

{"other":{},"primary":{"900":"#000000"},"zinc":{"900":"#0a0a0a","925":"#000000","950":"#000000"},"slate":{}}
43
23
submitted 5 months ago* (last edited 5 months ago) by Xylight@lemdro.id to c/photon@lemdro.id

New stuff

  • Revert the positions of most navigation buttons (Home on left, profile on right)
  • Add "adaptive" options to dock settings
    • This will make the dock's position (top, bottom, floating or not) change based on your screen size (it is now the default)
    • So on mobile, you'll have a bottom, floating dock but on desktop a top panel

Fixes

  • Add autofocus to search bar #319
  • Don't hide titles on iframes #317
  • Add refresh button to inbox page #313
  • Dock covers sidebars as a top panel
  • Add maxlength to password form #312
44
17
submitted 5 months ago* (last edited 5 months ago) by Xylight@lemdro.id to c/photon@lemdro.id

Update: Photon v1.29.4 has addressed these concerns. Let me know what you think here

It seems the navigation is widely disliked by many people. I want Photon to be the most intuitive UI, so I'd like to fix this. Which of these should I do?

A - Revert the positions of the items on the navigation bar (Profile on right, home on left)

B - Have the default navigation be top on desktop

C - Move some things out of the profile menu into the navbar.

D - Revert the navbar entirely

Or give any other ideas you have. These changes were pushed early because I did not see any pushback early in the betas.

My only fear is that changing it back yet again will have ruined the muscle memory for both types of navigation.

I'll be releasing some betas soon to adjust navigation and take in more feedback before committing.

45
9
New layout feels atrocious (lemmy.dbzer0.com)
submitted 5 months ago* (last edited 5 months ago) by Tywele@lemmy.dbzer0.com to c/photon@lemdro.id

Why was "Profile", "Inbox" and "Saved" switched with "Home"? On a big screen "Home" is all the way in the top right corner even though it is an action that is used way more than viewing your profile, inbox and/or saved posts/comments?

And there is no reason to have the menu that is accessed by your profile pic to be in the opposite corner. IMO this is all very unintuitive.

At least return the home menu point to the left column menu. Please.

It feels like these changes were mainly done for mobile and desktop was a bit forgotten.

46
15
submitted 5 months ago* (last edited 1 month ago) by Xylight@lemdro.id to c/photon@lemdro.id

What's Changed

  • Redesign navigation
    • If you dislike the change, go to settings and press "Legacy Navigation Style". This will make the navigation similar to before
    • You can see 5 of the most recent posts and communities for quick access.
  • Use your accent color in more places
    • You can change your accent colors in the theme menu.
  • Improve design consistency
  • New font option
  • Change animation curves to be more bouncy
  • Add option to make featured posts more compact
  • Remove hooks.server.ts to make requests faster

Full Changelog: https://github.com/Xyphyn/photon/compare/v1.28.4...v1.29.0

47
8
submitted 6 months ago by jesusrp98@lemmy.world to c/photon@lemdro.id

Been using photon for a while now and I really enjoy the minimalistic design!

However, not user about this new floating bar, look very "phone" to me, and I dont really see the utility of having previously-visited posts and communities.

48
13
Gruvbox Theme (i.imgur.com)
submitted 7 months ago* (last edited 7 months ago) by myxi@feddit.nl to c/photon@lemdro.id

I had it made by ChatGPT 3.5, so the theming is not perfect. I don't have the time to mess with this right now.

If you are feeling generous, you may customize it and post the changes in the comment section of this post.

{
  "other": {
    "white": "#fbf1c7",
    "black": "#282828"
  },
  "primary": {
    "100": "#ebdbb2",
    "900": "#282828"
  },
  "zinc": {
    "50": "#ebdbb2",
    "100": "#d5c4a1",
    "200": "#bdae93",
    "300": "#a89984",
    "400": "#a89984",
    "500": "#a89984",
    "600": "#928374",
    "700": "#7c6f64",
    "800": "#665c54",
    "900": "#504945",
    "925": "#3c3836",
    "950": "#282828"
  },
  "slate": {
    "25": "#ebdbb2",
    "50": "#d5c4a1",
    "100": "#bdae93",
    "200": "#a89984",
    "300": "#928374",
    "400": "#7c6f64",
    "500": "#665c54",
    "600": "#504945",
    "700": "#3c3836",
    "800": "#282828",
    "900": "#282828",
    "950": "#282828"
  }
}

49
43
submitted 7 months ago* (last edited 5 months ago) by Xylight@lemdro.id to c/photon@lemdro.id

Photon Announces Revamped Design

We're thrilled to unveil a significant redesign of Photon, the user interface for the fediverse! Since its inception, Photon has strived to make the fediverse more accessible with a user-friendly design.

Mono-Light addresses a key request from our community: increased information density. This redesign allows you to view more content at a glance, streamlining your fediverse experience.

Here's a glance at our new design:

As you can see, every UI element has been streamlined while still remaining beautiful. You can see so much more at once, with no sacrifice to usability. Got fat fingers? just cut a bit of it off.

You can expect this new design to roll out by the end of today, April 1st.

...No offense to the mlmym devs. Photon users want a clean UI, while mlmym users want an information dense, old reddit like UI.

50
17
submitted 7 months ago* (last edited 7 months ago) by wfh@lemm.ee to c/photon@lemdro.id

A very minimalist theme, based on the amazing work of https://draculatheme.com/

Red/orange: {"other":{"black":"#23252e","white":"#f8f8f2"},"primary":{"100":"#ff5555","900":"#ffb86c"},"zinc":{"50":"#f8f8f2","100":"#f8f8f2","200":"#ffb86c","300":"#f8f8f2","400":"#f8f8f2","500":"#ffb86c","700":"#23252e","800":"#23252e","900":"#23252e","925":"#282a36","950":"#282a36"},"slate":{}}

Orange/yellow: {"other":{"black":"#23252e","white":"#f8f8f2"},"primary":{"100":"#ffb86c","900":"#f1fa8c"},"zinc":{"50":"#f8f8f2","100":"#f8f8f2","200":"#f1fa8c","300":"#f8f8f2","400":"#f8f8f2","500":"#f1fa8c","700":"#23252e","800":"#23252e","900":"#23252e","925":"#282a36","950":"#282a36"},"slate":{}}

Green/Yellow: {"other":{"black":"#23252e","white":"#f8f8f2"},"primary":{"100":"#50fa7b","900":"#f1fa8c"},"zinc":{"50":"#f8f8f2","100":"#f8f8f2","200":"#f1fa8c","300":"#f8f8f2","400":"#f8f8f2","500":"#f1fa8c","700":"#23252e","800":"#23252e","900":"#23252e","925":"#282a36","950":"#282a36"},"slate":{}}

Purple/pink: {"other":{"black":"#23252e","white":"#f8f8f2"},"primary":{"100":"#bd93f9","900":"#ff79c6"},"zinc":{"50":"#f8f8f2","100":"#f8f8f2","200":"#ff79c6","300":"#f8f8f2","400":"#f8f8f2","500":"#ff79c6","700":"#23252e","800":"#23252e","900":"#23252e","925":"#282a36","950":"#282a36"},"slate":{}}

Synthwave: {"other":{"black":"#23252e","white":"#f8f8f2"},"primary":{"100":"#8be9fd","900":"#ff79c6"},"zinc":{"50":"#f8f8f2","100":"#f8f8f2","200":"#ff79c6","300":"#f8f8f2","400":"#f8f8f2","500":"#ff79c6","700":"#23252e","800":"#23252e","900":"#23252e","925":"#282a36","950":"#282a36"},"slate":{}}

view more: ‹ prev next ›

Photon

262 readers
6 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

Share your themes, ask questions, report bugs, or check on the latest updates here!

You can contact the dev at @Xylight@lemdro.id.

Rules

  1. Posts must be related to Photon in any way
  2. Don't be mean
  3. If your post is a bug report, please preface the title with [solved] if it's been fixed.

founded 10 months ago
MODERATORS