puter icon indicating copy to clipboard operation
puter copied to clipboard

Add support for `defaultValue` option for `puter.ui.showFontPicker` in puter app environment

Open reynaldichernando opened this issue 7 months ago • 10 comments

Currently the defaultValue options only works in web environment. Ideally we match this functionality in puter apps env

app

Image

web

Image

Also somehow our font picker UI is different in web and in puter app env

Best to try and compare it here https://ui-playground.puter.site/ https://puter.com/app/ui-playground

reynaldichernando avatar May 04 '26 07:05 reynaldichernando

I would like to work on this issue

10jake10 avatar May 04 '26 20:05 10jake10

Go for it! assigned

jelveh avatar May 04 '26 20:05 jelveh

Hi, I noticed there is no PR for this yet. I would like to work on supporting defaultValue for puter.ui.showFontPicker in the Puter app environment. Is it okay if I submit a PR for this?

Image

SusTechStitch avatar May 15 '26 14:05 SusTechStitch

Fine by me. I was still going to get to it eventually but got distracted by other things. Go for it.

10jake10 avatar May 15 '26 14:05 10jake10

Is this issue still open to work ? @HeyPuter

yogeshsince2023 avatar Aug 11 '26 06:08 yogeshsince2023

hi @yogeshsince2023 sorry for the delay, yes, if you are able to grab it I'm happy to assign it to you

Salazareo avatar Aug 28 '26 17:08 Salazareo

I'd like to work on this - root cause is that UIWindowFontPicker.js (app/embedded path) only reads options.default, never defaultFont/defaultValue, while UI.js's standalone fallback ignored defaultValue too; I have a small fix ready in both files and will open a PR shortly.

M001N avatar Aug 28 '26 19:08 M001N

oh cool @M001N ill hand it to you then

Salazareo avatar Aug 28 '26 22:08 Salazareo

hey is this issue still open

Bhava-hub avatar Sep 23 '26 12:09 Bhava-hub

Hi @Salazareo , I'd like to contribute to Puter and was looking into #2896. I noticed M001N mentioned having a fix ready in August, but I couldn't find a linked PR. Is this still being worked on, or would it be possible for me to take it forward?

anishcodes-0-9 avatar Oct 12 '26 09:10 anishcodes-0-9