rejetto forum

version 2.4

rejetto · 474 · 402404

0 Members and 1 Guest are viewing this topic.

Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 858
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
I'm now leaving for a 3-weeks journey in India and Nepal. I can't say about my availability next days.
@Rejetto: Happy holidays! :)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
thanks. I'm in Nepal right now, i'll be back sunday.
Anyway, i fear that i'll have to publish 2.4 as it is if we don't find a solution to this translation problem.
here attached the latest source changes.
i shall find the time to give a look at dj's stuff.



Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 858
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Anyway, i fear that i'll have to publish 2.4 as it is if we don't find a solution to this translation problem.
Yeah, for me it's OK :) (feel free to release v2.4 as is)

I can't promise anything, but if I have some spare time, I will try to contact the original developer of 'Kryvich's Delphi Localizer' to see if he could give us some 'light' about this issue. In the meantime, feel free to release v2.4 as is, when you feel it's the right time to do it (we could leave this translation issue for a future version).
« Last Edit: February 13, 2019, 04:56:49 AM by LeoNeeson »
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 858
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Anyway, i fear that i'll have to publish 2.4 as it is if we don't find a solution to this translation problem.
Yeah, for me it's OK :) (feel free to release v2.4 as is)

I can't promise anything, but if I have some spare time, I will try to contact the original developer of 'Kryvich's Delphi Localizer' to see if he could give us some 'light' about this issue. In the meantime, feel free to release it as is (when you feel it's the right time to do it). We could leave this translation issue for a future version.
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13521
    • View Profile
sometimes you get files with long name and no dash/spaces, and it looks bad especially on mobile with little horizontal space, causing horizontal scrolling.
I want to add this css rule for final 2.4
.item-link { word-break: break-word; }

Please give me some feedback
« Last Edit: February 14, 2019, 12:30:19 PM by rejetto »


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 858
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
I want to add this css rule for final 2.4
.item-link { word-break: break-word; }
Yes, that looks OK (at least on my side). Don't forget that the original line had "float:left;"

Old line:
Code: [Select]
.item-link { float:left; }
New line:
Code: [Select]
.item-link { word-break: break-all; float:left; }
Also, I've found that "break-all" could work better that "break-word". The W3 specification seem to suggest that "word-break: break-all" is also more compatible with non-english text (like Chinese, Japanese, and Korean), so that would be more unicode compatible, if I'm not mistaken (source). Anyway, that decision is up to you.



Another thing: Don't forget to change 48em to 50em (like you said you would do here, as I originally I've reported here).
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
alternatively truncate string
.item-link { overflow: hidden; text-overflow: ellipsis }


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 858
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
alternatively truncate string
.item-link { overflow: hidden; text-overflow: ellipsis }
@DJ: That would be nice, but it would also needs adding "white-space: nowrap;". But sadly, your code adds a extra line, one for the file name and another below for the time and file size, even on short file names.

Do some tests, making two kind of long file names (the one without spaces is to recreate non-english languages):

Code: [Select]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna esse.txt
Code: [Select]
Loremipsumdolorsitametconsecteturadipiscingelitseddoeiusmodtemporincididuntutlaboreetdoloremagnaesseutenimadminimveniamq.txt
Do some tests and see the results, using "white-space: nowrap;" and not using it (and with and without "float: left;").

Code: [Select]
.item-link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
Code: [Select]
.item-link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; float: left; }
Adding the "float: left;" we eliminate the "extra line" on short file names, but that makes appear the unwanted horizontal scrolling.

So, what solution do you propose for this, DJ?... ???
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
@Leo: thanks for testing. It was only a untested idea. I've seen it on my android filemanager.

Code: [Select]
.item-link { float: left; overflow: hidden; text-overflow: ellipsis; max-width: 100%}should do it. Tested on chrome and FF.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 858
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson

@dj: Perfect, now it looks good. :) Adding "white-space: nowrap;" is also recommended to support long file names (without spaces):

Code: [Select]
.item-link { float:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
(Anyway, Rejetto has the final word if he decides to add this or not, we are just giving out ideas)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline thexfile

  • Occasional poster
  • *
    • Posts: 12
    • View Profile

Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
Lazy loading images loads full-img-thumbs at the moment of need (scrolling) to save bandwidth
You can use this, if you have no thumbnails (in images and server). Tested with chrome and FF.

add Well-Controlled Scrolling additionally (chrome and safari).

lazyimages2 prevent load on cellular network (chrome android)

autotheme preselects dark theme at night
« Last Edit: March 10, 2019, 09:32:50 AM by dj »


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile

Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 858
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Hi boss !  ;)

No sources for these RC ?
I also join the petition, but I guess Rejetto is waiting to release the stable version to release the sources. Perhaps he plans to release the final v2.4 stable version soon?... 8)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.