~noelle

https://noelle.dev

she/her

Recent activity

[PATCH sr.ht-docs] graphql: Make pages.sr.ht API link more useful 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-dev

This makes it match the other API links, which go to specific pages.

Signed-off-by: Noelle Leigh <noelle_leigh@fastmail.com>
---
 graphql.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphql.md b/graphql.md
index b002937..e22c50b 100644
--- a/graphql.md
+++ b/graphql.md
@@ -19,7 +19,7 @@ conventions](api-conventions.md).
- [hg.sr.ht](/hg.sr.ht/graphql.md)
- [lists.sr.ht](/lists.sr.ht/graphql.md)
[message trimmed]

Re: External content on web pages 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-discuss

On Sun, Jan 21, 2024, at 10:47 AM, lts20050703 wrote:
> Hello! I'm just wondering if there's any particular reasons why
> you don't want to allow external images/videos? Is there any
> security risks?

It's to prevent pages from embedding resources that could be used for
third-party tracking and analytics, like the Facebook Pixel:
https://themarkup.org/series/pixel-hunt

Re: Sourcehut works without billing 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-discuss

On Tue, Jan 9, 2024, at 12:29 PM, Vlad-Stefan Harbuz wrote:
> The table overflows the page horizontally on mobile — mentioning it in
> case anyone wants to send a patch.

Patch submitted: 
https://lists.sr.ht/~sircmpwn/sr.ht-dev/%3C20240111012702.27613-1-noelle_leigh%40fastmail.com%3E

[sourcehut.org 4/4] css: Customize .pricing-table 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-dev

Intended to make the table more scannable by:
- Limiting max table width
- Right-aligning the services
- Tweaking font width
---
 assets/main.scss | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/assets/main.scss b/assets/main.scss
index 825fd4a..6c7d8df 100644
--- a/assets/main.scss
+++ b/assets/main.scss
@@ -615,4 +615,26 @@ table td {

[message trimmed]

[sourcehut.org 3/4] css: Move pricing table styles to CSS class 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-dev

Also add payment-required classes
---
 assets/main.scss     | 6 +++++-
 content/pricing.html | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/assets/main.scss b/assets/main.scss
index b997f6b..825fd4a 100644
--- a/assets/main.scss
+++ b/assets/main.scss
@@ -172,7 +172,7 @@ nav {
.icon {
  display: inline-block;
  line-height: .75em;
[message trimmed]

[sourcehut.org 2/4] pricing: reorder services to be easier to scan 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-dev

Move paid services to the top, sort by line lengths
---
 content/pricing.html | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/content/pricing.html b/content/pricing.html
index f214250..78afafa 100644
--- a/content/pricing.html
+++ b/content/pricing.html
@@ -145,19 +145,19 @@ require payment to use.
  </thead>
  <tbody>
    <tr>
      <td>git.sr.ht</td>
[message trimmed]

[sourcehut.org 1/4] pricing: two-column layout 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-dev

---
 content/pricing.html | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/content/pricing.html b/content/pricing.html
index f2e70a7..f214250 100644
--- a/content/pricing.html
+++ b/content/pricing.html
@@ -141,38 +141,42 @@ require payment to use.
    <tr>
      <th>Service</th>
      <th>Payment</th>
      <th>Service</th>
      <th>Payment</th>
[message trimmed]

[sourcehut.org 0/4] Improve design of pricing table 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-dev

[~vladh pointed out][1] that the pricing table added in 4ea3c80a didn't
display well in narrow viewports, so I took it upon myself to try to
make the design work better for narrow viewports, as well as make it
easier to scan visually by adjusting the alignment and size of the text.

[1]: https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C0051be59-c0c5-4984-b853-238db2818158%40anche.no%3E#%3Cdb1b1471-6e2e-4752-a490-dbb9832d725d@app.fastmail.com%3E

Noelle Leigh (4):
  pricing: two-column layout
  pricing: reorder services to be easier to scan
  css: Move pricing table styles to CSS class
  css: Customize .pricing-table

 assets/main.scss     | 28 +++++++++++++++++++++++++++-

Re: [builds.sr.ht] HTTP 500 Internal Error during oauth string parsing? 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-discuss

On Thu, Jan 4, 2024, at 4:55 AM, Conrad Hoffmann wrote:
> Thanks for pointing that out. I submitted a patch that fixes that (by 
> properly displaying the error message):
>
> https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/48283

Thanks Conrad!

Re: markdown render dows not respect table cell alignment 4 months ago

From Noelle Leigh to ~sircmpwn/sr.ht-discuss

On Mon, Jan 1, 2024, at 1:47 PM, jman wrote:
> Can anyone please remind me which Markdown parser is using Sourcehut and
> its project link? I might check out why it doesn't work as expected.

Sourcehut uses [mistletoe][1], as well as some [custom code][2] to 
render Markdown. I did some digging and wasn't able to determine why 
text alignment isn't supported.

[1]: https://github.com/miyuchina/mistletoe
[2]: https://git.sr.ht/~sircmpwn/core.sr.ht/tree/master/item/srht/markdown.py