Page MenuHomePhorge
Feed Advanced Search

Apr 2 2024

bekay added a comment to T15744: Render html color codes in remarkup.

Well, you know what would be next level for a dev? If (s)he clicks on it, the color is copied to the clipboard. We can't use this behavior, because behaviors loose their state in the remarkup cache...

Apr 2 2024, 09:12 · Discussion Needed, Remarkup

Mar 15 2024

bekay added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

Updated Pygments with pip to 2.17.2 und cut the time in half. So yeah, that's already an improvement.

Mar 15 2024, 09:08 · Remarkup
bekay added a comment to T15756: Rendering remarkup with many embedded code blocks is very slow.

Well, good to know that it is not something in the phorge codebase. Our server has pygmentize 2.14.0 - but the server itself is really not the best, so that could be an explanation. Maybe we could make some remarks about performance and keeping the versions fresh on the diviner page...

Mar 15 2024, 08:14 · Remarkup

Mar 14 2024

avivey awarded T15756: Rendering remarkup with many embedded code blocks is very slow a Manufacturing Defect? token.
Mar 14 2024, 16:45 · Remarkup
bekay created T15756: Rendering remarkup with many embedded code blocks is very slow.
Mar 14 2024, 14:46 · Remarkup

Feb 23 2024

avivey awarded Q112: Deprecation Notice from PhrictionRemarkupRule.php:194 a Like token.
Feb 23 2024, 10:51 · Deprecation Notice
bekay asked Q112: Deprecation Notice from PhrictionRemarkupRule.php:194.
Feb 23 2024, 10:11 · Deprecation Notice

Feb 21 2024

bekay added a comment to T15741: Diffusion pattern search not working as expected.

The word solution would solve it from the expecting side, you are right. Here in my company the search is used frequently and only as a plain text search. So we have to escape the special regex signs time and again. Just would be interested if this is seen as an issue by others who uses the feature.

Feb 21 2024, 12:48 · Diffusion
bekay added a comment to T15741: Diffusion pattern search not working as expected.

Thanks for the clarification. I still think we should tackle the exception.

Feb 21 2024, 12:41 · Diffusion
bekay updated the task description for T15741: Diffusion pattern search not working as expected.
Feb 21 2024, 10:52 · Diffusion
bekay created T15741: Diffusion pattern search not working as expected.
Feb 21 2024, 10:51 · Diffusion
bekay created T15740: Crumb menu wrapping is deficient.
Feb 21 2024, 10:35 · UX
bekay added a comment to T15728: Repo home view and browse view share the same menu tab.

I tried to understand the situation. Thanks.

In your opinion: on the repo view (with clone buttons) is it really important to link to the other similar "reduced" view (without clone buttons)?

Feb 21 2024, 10:15 · Discussion Needed, Diffusion

Feb 16 2024

bekay added a comment to T15048: Allow awarding Tokens to individual Comments.

Just asking for a friend: Is there some progress on this?

Feb 16 2024, 12:43 · Comments
bekay updated subscribers of Q108: Phorge and Mermaid Js (Answer 139).

Maybe this could be integrated in the Diagrams extension...? I mean: the entire infrastructure is there - you just have to decide, what lib you wanne use when creating a new diagram. @mturdus What do you think about this?

Feb 16 2024, 12:35

Feb 15 2024

bekay attached a referenced file: F1360344: image.png.
Feb 15 2024, 19:01
bekay attached a referenced file: F1368592: image.png.
Feb 15 2024, 19:01
bekay added a comment to T15673: Phorge participation at FOSDEM 2024.

TRUST ME - YOU DON'T WANT TO LISTEN MY ENGLISH :D :D

Btw now the video is here :D :D AGAIN SORRY PHORGE FOR MY MISTAKES <3 <3

https://video.fosdem.org/2024/h2215/fosdem-2024-3610-unpack-phabricator-welcome-phorge-forking-the-opinionated-open-source-project-manager.av1.webm

Feb 15 2024, 18:59 · Blessed Communicators, Phorge
bekay closed D25536: Implements copy button in clone repo modal.
Feb 15 2024, 18:38
bekay committed rP89a5d3132c94: Implements copy button in clone repo modal.
Implements copy button in clone repo modal
Feb 15 2024, 18:38
bekay updated the diff for D25536: Implements copy button in clone repo modal.
Feb 15 2024, 18:35
bekay added a comment to D25536: Implements copy button in clone repo modal.

I really have struggled to find any device in our company that can't do await/async. I strongly bevlieve it is a non issue. Let us land this thing now and see if we get any feedback of an error.

Feb 15 2024, 16:29
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Changes the order of the variables and function calls
Feb 15 2024, 16:29
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Extends select behavior and only select content on first click
Feb 15 2024, 16:23
bekay added a comment to D25536: Implements copy button in clone repo modal.

Again, non-blocking opinion:

Are we aware that the "async" keyword (that was never used in Phorge) may just cause a crash by syntax error (almost-immediately even without clicking?) by that kind of browsers, so, breaking the page, just because we want to provide a copy function and we want to avoid .then()?

I think we can introduce breaking changes, but it's strange to do that, now, with this minor feature.

If we are aware of this minor risk, indeed let's land.

Feb 15 2024, 10:08
bekay added a comment to D25536: Implements copy button in clone repo modal.

Additional non-blocking thing:

Maybe should be copy(text) with var data defined outside

Bonus point: copy() not defined during every call of JX.Stratcom.listen, but outside (?)

Feb 15 2024, 09:23
valerio.bozzolan awarded D25536: Implements copy button in clone repo modal a Like token.
Feb 15 2024, 09:08
bekay added a comment to D25536: Implements copy button in clone repo modal.

Yes, we can avoid async.

So, this is just a tip, to avoid async and also to have everything a little more modular for no reason:

  1. remove async from copy()
  2. rename copy() to copyWithoutFeedback() and have the function that always return a Promise
    • so copyWithoutFeedback() has return navigator.clipboard.writeText(text); to always return a Promise
    • so copyWithoutFeedback() can use copyWithFeedback() but after that it return Promise.resolve(true) to always return a Promise
    • so copyWithoutFeedback() can fail with just return Promise.reject() to always return a Promise
  3. so we can create the function with feedback, copyWithFeedback(), that just calls the previous one, so, copyWithoutFeedback().then(function() { show_success_message() } ); with also a chained .fail( function() { show_error_message(); } ) or something similar
Feb 15 2024, 08:52
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Updates map
Feb 15 2024, 08:36
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Ignores async jshint
Feb 15 2024, 08:35

Feb 14 2024

bekay edited the content of Organizations Using Phorge.
Feb 14 2024, 17:36
bekay requested review of D25538: Separate repository home and browse view in tab menu.
Feb 14 2024, 17:27
bekay added a revision to T15728: Repo home view and browse view share the same menu tab: D25538: Separate repository home and browse view in tab menu.
Feb 14 2024, 17:27 · Discussion Needed, Diffusion
bekay added a comment to D25536: Implements copy button in clone repo modal.

I'll try to see if there's config for the jshint to allow async.

Feb 14 2024, 16:36
bekay added a comment to D25536: Implements copy button in clone repo modal.

Well, now I have tried to satisfy every wish.

Feb 14 2024, 16:05
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • use async/await for copy promise hell
  • make the io button to just a type icon
  • select entire text when clicking inside the input field
  • patch JsShrink to shrink await/async syntax
Feb 14 2024, 16:01
bekay updated the summary of D25536: Implements copy button in clone repo modal.
Feb 14 2024, 15:49
bekay added a comment to D25536: Implements copy button in clone repo modal.

(This Quickfix would help: https://github.com/vrana/JsShrink/pull/6/commits/5b2dd500d25b29ace2fbd76fc95b4518ef22abfc 😆 )

Feb 14 2024, 12:39
bekay added a comment to D25536: Implements copy button in clone repo modal.

await/async won't go through the shrink process without destroying the entire syntax. And if it will go through this jsxmin binary, who can know? Note for the future: Maybe replace the entire shrink process with a new and used php shrinker like JShrink.

Feb 14 2024, 12:13
bekay added a comment to D25536: Implements copy button in clone repo modal.

@avivey worst case is a syntax error because the operators are not known. Even that could be wrapped inside a try/catch.
@valerio.bozzolan could be done with the current behavior but this kind of implicit actions seems not the phorge way...?

Feb 14 2024, 10:10
bekay added a comment to D25536: Implements copy button in clone repo modal.

Yes, I insist on using the absolute required minimum of Promise-style coding.

Feb 14 2024, 08:56

Feb 13 2024

bekay added a comment to D25536: Implements copy button in clone repo modal.

I have to wait for the success or failure of the copy action, so I think this ui example makes no sense for my case. The notification should not be triggered by a button click.

Feb 13 2024, 09:42
bekay added a comment to D25536: Implements copy button in clone repo modal.
Feb 13 2024, 09:35

Feb 12 2024

bekay added a comment to T15739: Replace celerity postprocessors with real css variables.

Well, I see a tremendous critism and scepticism concerning modern client side techniques here. The world of frontend tooling has changed tremendously in the last 5 years. And I understand concerns, but nobody has to write JavaScript for certain browsers anymore. Javelin for example tries to solve so many problems that Babel solves with one config entry. But that's okay and I like the architecture here and know we can't change everything at once.

Feb 12 2024, 21:05 · Discussion Needed
bekay added a comment to T15739: Replace celerity postprocessors with real css variables.

The overwriting of variables with media queries could be configured inside the theming class. So possible breakpoints can be part of a theming API.

Feb 12 2024, 20:16 · Discussion Needed
bekay added a comment to T15739: Replace celerity postprocessors with real css variables.

And my general approach is: when the client can do something (and that even better), why should the server do it?

Feb 12 2024, 20:04 · Discussion Needed
bekay added a comment to T15739: Replace celerity postprocessors with real css variables.

@avivey CSS vars are a vital part of modern modularized theming. They are versatile, can be overwritten with media queries or per class/element basis. They are editable in browser dev tools. If you would ask me: this step is pretty important.

Feb 12 2024, 20:01 · Discussion Needed
bekay added a comment to T15736: JavaScript modernization (umbrella task).

to have a working dev server when developing js - at the moment I have to ./bin/celerity map after every change to js and css to see my changes...

Are you sure about that? I thought celerity map was only needed when adding a file (in dev mode).

Feb 12 2024, 19:47 · UX, Discussion Needed
bekay updated the task description for T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 17:27 · Discussion Needed
bekay added a comment to T15039: Add a button to copy key information.
In T15039#1358, @bekay wrote:

The clone repo modal could really use some copy buttons.

image.png (282×854 px, 20 KB)

Preferably replacing the Read / Write Button.

Feb 12 2024, 16:50 · Differential
bekay updated the task description for T15735: Fix the various CSS inconsistencies of phui tags.
Feb 12 2024, 16:49
bekay renamed T15735: Fix the various CSS inconsistencies of phui tags from Fix the various inconsistenies of phui tags to Fix the various inconsistencies of phui tags.
Feb 12 2024, 16:49
bekay added a comment to T15705: Lower the search ranking of disabled user accounts.

I don't know if that is part of this task, but the global typeahead search should hide all disabled users, wikis and repos, shouldn't it? This is nothing you want as a fast suggestion...

Feb 12 2024, 16:46 · Spam mitigation, UX
bekay updated the task description for T15734: CSS modernization (umbrella task).
Feb 12 2024, 16:42
bekay updated the task description for T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 16:40 · Discussion Needed
bekay updated the task description for T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 16:32 · Discussion Needed
bekay updated the task description for T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 16:31 · Discussion Needed
valerio.bozzolan awarded T15739: Replace celerity postprocessors with real css variables a Like token.
Feb 12 2024, 16:31 · Discussion Needed
bekay created T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 16:24 · Discussion Needed
bekay updated the task description for T15734: CSS modernization (umbrella task).
Feb 12 2024, 15:40
bekay added a comment to T15735: Fix the various CSS inconsistencies of phui tags.

Just as a reminder for me: Using a css variable for the height of the tags would be best. I could be overwritten at any point.

Feb 12 2024, 13:06
bekay updated the task description for T15734: CSS modernization (umbrella task).
Feb 12 2024, 13:03
bekay added a comment to T15736: JavaScript modernization (umbrella task).

Well, my idea would be:

Feb 12 2024, 12:56 · UX, Discussion Needed
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Updates map
Feb 12 2024, 12:45
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Fixes some js linting warnings
Feb 12 2024, 12:44
bekay attached a referenced file: F1360344: image.png.
Feb 12 2024, 12:37
bekay attached a referenced file: Unknown Object (File).
Feb 12 2024, 12:37
bekay requested review of D25536: Implements copy button in clone repo modal.
Feb 12 2024, 12:33

Feb 10 2024

bekay updated the task description for T15734: CSS modernization (umbrella task).
Feb 10 2024, 16:12
bekay added a comment to T15630: Fix Fonts.

For consideration of the bigger picture, I'd like to mention https://collinmbarrett.com/block-web-fonts (performance etc) and for example Firefox 118+ blocking font fingerprinting in private windows (yes, private only, but I can vaguely imagine expansion).

Feb 10 2024, 15:09
bekay updated the task description for T15735: Fix the various CSS inconsistencies of phui tags.
Feb 10 2024, 14:22
bekay added a comment to T15630: Fix Fonts.

Broader CSS discussion: T15734

Feb 10 2024, 14:21
bekay created T15735: Fix the various CSS inconsistencies of phui tags.
Feb 10 2024, 14:18
bekay added a parent task for T15056: Improve Dark Mode: T15734: CSS modernization (umbrella task).
Feb 10 2024, 14:07 · User-Cigaryno, User-valerio.bozzolan, Accessibility, User-Bukkit
bekay added a subtask for T15734: CSS modernization (umbrella task): T15056: Improve Dark Mode.
Feb 10 2024, 14:07
bekay added a parent task for T15630: Fix Fonts: T15734: CSS modernization (umbrella task).
Feb 10 2024, 14:07
bekay added a subtask for T15734: CSS modernization (umbrella task): T15630: Fix Fonts.
Feb 10 2024, 14:07
bekay created T15734: CSS modernization (umbrella task).
Feb 10 2024, 14:07

Feb 9 2024

bekay added Q108: Phorge and Mermaid Js (Answer 139).
Feb 9 2024, 17:26

Feb 8 2024

bekay added a comment to T15630: Fix Fonts.

I am honestly surprised by the notion, the user base of phorge is still using old, small or low resolution screens. I always thought this project was catered towards tech-savvy devs and/or corporations and will be used in contexts where a FullHD screen is the default case. Maybe we should sharpen our target audience 😅

Feb 8 2024, 16:28
bekay added a comment to T15630: Fix Fonts.
In T15630#15561, @bekay wrote:

Times have changed and we all have very big screens.

Absolutely not. Maybe in some richer countries to some extent, but not on my mobile phone. (And even if that was true, scaling exists for a reason.)

Feb 8 2024, 14:02
bekay attached a referenced file: F1348413: image.png.
Feb 8 2024, 08:26
bekay added a comment to T15630: Fix Fonts.

And on another note: Times have changed and we all have very big screens. I think we should increase the default font size of 13px to 14px. It is about time...

Feb 8 2024, 08:14
bekay attached a referenced file: F1348375: image.png.
Feb 8 2024, 08:08
bekay added a comment to T15630: Fix Fonts.

Of these, I like 1 and 3 (Noto and Inter) better. How does Atkinson look? (I haven't gotten around to changing the font on my end yet, heh)

Feb 8 2024, 08:08
bekay attached a referenced file: F1348365: Atkinson-Hyperlegible.png.
Feb 8 2024, 08:01

Feb 7 2024

bekay added a comment to T15630: Fix Fonts.

Here you can see the fonts with Phorge itself. For me the clear winner is Noto Sans. It can add some real modern style to the site.

Feb 7 2024, 17:33
bekay added a comment to T15630: Fix Fonts.

I like the first three the most.

Feb 7 2024, 16:56
bekay added a comment to T15630: Fix Fonts.

Maybe I should create a slowvote poll to reach a decision?

Feb 7 2024, 15:31

Feb 2 2024

bekay added a comment to T15630: Fix Fonts.

Or what about Inter? It is open source and looks very readable: https://rsms.me/inter/

Feb 2 2024, 08:21

Feb 1 2024

20after4 awarded D25430: Implement ferret engine in typeahead datasource query for repos a Love token.
Feb 1 2024, 19:26

Jan 28 2024

bekay closed T15645: Implement "Locate File" input in Browse view as Resolved.

I have landed my solution.

Jan 28 2024, 12:18 · Diffusion
bekay updated the task description for T15728: Repo home view and browse view share the same menu tab.
Jan 28 2024, 12:17 · Discussion Needed, Diffusion
bekay created T15728: Repo home view and browse view share the same menu tab.
Jan 28 2024, 12:12 · Discussion Needed, Diffusion
bekay closed D25521: Adds "Locate File" input to every browse directory view in Diffusion.
Jan 28 2024, 11:51
bekay committed rP87db48289705: Adds "Locate File" input to every browse directory view in Diffusion.
Adds "Locate File" input to every browse directory view in Diffusion
Jan 28 2024, 11:51
bekay closed D25523: Add flexible line height to remarkup headers.
Jan 28 2024, 11:45
bekay closed T15716: Remarkup header have a fixed line height and are less readable with increased size as Resolved by committing rPf8db94f2bfbe: Add flexible line height to remarkup headers.
Jan 28 2024, 11:45 · Discussion Needed, Remarkup
bekay committed rPf8db94f2bfbe: Add flexible line height to remarkup headers.
Add flexible line height to remarkup headers
Jan 28 2024, 11:45

Jan 24 2024

bekay added a comment to T15630: Fix Fonts.

The new font family styles does look not very nice on macOS, look at the bold texts...

Jan 24 2024, 13:05