| From: | Dave Page <dpage(at)pgadmin(dot)org> |
|---|---|
| To: | Magnus Hagander <magnus(at)hagander(dot)net> |
| Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Christoph Berg <myon(at)debian(dot)org>, "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>, pgsql-www(at)lists(dot)postgresql(dot)org, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, PostgreSQL Contributors <contributors(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Introduce contributor badges - v14 |
| Date: | 2026-11-07 21:19:41 |
| Message-ID: | CA+OCxowM4gQNTe4Hvxa-mdpPwocHTaeufUX43DA1_4=+6zW-Cw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
On Sat, 7 Nov 2026 at 11:56, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> On Fri, 6 Nov 2026 at 15:09, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
>> > On 4 Nov 2026, at 20:38, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>>
>> > Do we even (want to) support badges without images? Whta's the point of
>> a badge that has no image?
>>
>> Requiring an image seems like a good clamp-down to reduce complexity
>> early on,
>> we can revisit later if a good usecase comes up (text-only badges which
>> are
>> applied with a CSS class comes to mind).
>>
>> > Why are we doing this whole exif orientation thing in the first place?
>> Surely we can expect people to upload badges that are not upside down?
>>
>> Agreed, another reduction in complexity to get a base functionalty agreed
>> upon.
>> Rotation is also, IMHO, most useful when accepting images taken by a
>> smarthpone
>> which may have been held in all sorts up upside-down-left-center ways.
>> 150x150px badge images will be generated by tools and less susceptible to
>> being
>> upside down.
>>
>> > Why do we want to support both PNG and JPG? Seems a badge should be
>> only PNG?
>>
>> For such small formats, I would prefer PNG only for now. In the future we
>> could add SVG to the list, or even pure CSS based (not for upload, but a
>> hardcoded set defined by pgweb committers).
>>
>
> SVG would allow for inling the images in the HTML itself, which might be a
> win *iff* th eimages are small enough. Definitely something to consider for
> an opitmisation as the number of badges grow. So bsaic support for SVG
> would definitely be good, but let's make sure it's also verified that they
> are "pure" SVGs and not just an SVG with an embeded raster image..
>
> //Magnus
>
>
Who will actually be able to upload badges? Svgs can have code embedded in
them so we need a good level of trust.
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | chinh cin | 2026-11-08 08:17:31 | Wiki editor access request |
| Previous Message | Joe Conway | 2026-11-07 14:18:17 | Re: Wiki editor request |