~pyxel

Atlanta, United States

https://pyxel.pro

An everyday system administrator, freelance software engineer, transgender & lgbt activist, and coffee & tea addict.

Recent activity

Re: Self-hosting for first time - git.sr.ht oauth config 17 days ago

From Hanna Rose to ~sircmpwn/sr.ht-discuss

> I have created an admin account on meta, and have followed the equivilant link 
> for my domain, but I'm uncertain as to what to do at this point. What is it I'm 
> meant to do here?

You want to create a 0Auth client and fill in the client id and secret from the 
client you created.

> I also note that there's a notification saying to proceed to the OAuth 2.0 
> Dashboard, but the link only forwards to a 500 Internal Error page. I don't 
> know if that's any particular issue for this or not.

Only thing I can recommend is checking the logs of the service to see why it
is throwing an error. Though note that some people here won't exactly help
you as self-hosting isn't exactly "supported".

[PATCH git.sr.ht] adapt code-view to window height 27 days ago

From pyxel to ~sircmpwn/sr.ht-dev

---
 gitsrht/templates/blame.html |  2 +-
 gitsrht/templates/blob.html  |  2 +-
 scss/main.scss               | 14 ++++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/gitsrht/templates/blame.html b/gitsrht/templates/blame.html
index 8f57d21..9c5046f 100644
--- a/gitsrht/templates/blame.html
+++ b/gitsrht/templates/blame.html
@@ -42,7 +42,7 @@ pre, body {
    <div class="clearfix"></div>
  </div>
</div>
[message trimmed]

Re: [PATCH git.sr.ht] adapt code view to viewport height 27 days ago

From Hanna Rose to ~sircmpwn/sr.ht-dev

> You'll need to rebase the error out of your earlier patch and submit a
> new thread with the corrected patch.

Doing that now, thanks

Re: [PATCH git.sr.ht] adapt code view to viewport height 27 days ago

From pyxel to ~sircmpwn/sr.ht-dev

---
 scss/main.scss | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scss/main.scss b/scss/main.scss
index 37ffca7..658a3f3 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -188,6 +188,7 @@ dt {
    padding-left: calc(1rem + 4px);
    height: 100%;
    pointer-events: none;
    overflow-x: hidden;

[message trimmed]

Re: [PATCH git.sr.ht] adapt code view to viewport height 27 days ago

From Hanna Rose to ~sircmpwn/sr.ht-dev

> This looks pretty good, but there is an issue on narrow screens:
> https://l.sr.ht/fvhE.png

Ah, hmm, that is an issue.. i'll see what I can do to fix it.

Re: Possible CSS patch, need help. 28 days ago

From Hanna Rose to ~sircmpwn/sr.ht-discuss

Seems the changes suggested worked, a patch has been sent out.
https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/22958

[PATCH git.sr.ht] adapt code view to viewport height 28 days ago

From pyxel to ~sircmpwn/sr.ht-dev

---
 gitsrht/templates/blame.html |  2 +-
 gitsrht/templates/blob.html  |  2 +-
 scss/main.scss               | 13 +++++++++++++
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/gitsrht/templates/blame.html b/gitsrht/templates/blame.html
index 8f57d21..9c5046f 100644
--- a/gitsrht/templates/blame.html
+++ b/gitsrht/templates/blame.html
@@ -42,7 +42,7 @@ pre, body {
    <div class="clearfix"></div>
  </div>
</div>
[message trimmed]

Re: Possible CSS patch, need help. 28 days ago

From Hanna Rose to ~sircmpwn/sr.ht-discuss

 > Unrelated: I am unhappy with the vertical rhythm of paragraphs and the 
 > interaction of paragraphs and code blocks in MD renderings, incl. 
 > man.sr.ht, READMEs, etc. Do you have a similar opinion? Perhaps it could 
 > be considered in your efforts.

Yeah it's a bit annoying, unsure if i'll change it in this specific effort as I'm
focusing on git.sr.ht specifically at the moment but if i start contributing to
other areas, I can look into it.

> One possible solution:
 > 
 > body {
 >    display: flex;
 >    flex-direction: column;

Possible CSS patch, need help. 28 days ago

From Hanna Rose to ~sircmpwn/sr.ht-discuss

Currently the code view on the git hosting fills up a partial bit of the page
which can be seen looking at any repository currently, or for the lazy it
can also be seen here: https://egg.lgbt/i/cvxv0zce.png. This could honestly
look a bit better if we made the code view fill the rest of the viewport like
so: https://egg.lgbt/i/rjtyjel4.png. 

However, after trying for like an hour to figure out how to do this without
causing overflow and thus causing a scrollbar to be ever-present, I could not
for the life of me figure out how. If anyone has an idea how to actually do this
without causing overflow and only showing a scroll bar when the code contained
is actually long enough to actual require a scrollbar, feel free to let me know or
make a patch yourself.

Re: [PATCH] when using dark mode change the ruler color 29 days ago

From Hanna Rose to ~sircmpwn/sr.ht-dev

Forgot to specify that this is a patch for git.sr.ht, it changes the color of
the ruler on dark mode to use a more fitting color than the bright white
it is currently. 

Current color: https://egg.lgbt/i/3pvat8go.png
New color: https://egg.lgbt/i/s6zp1utt.png

This also may be a bit too little contrast in some people's opinions, and
if that's the case I can look for a darker or lighter color to better fit their
opinions. But the current ruler color on the dark version of the site does
not at all blend in well with the rest of the theme.