-
-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completely new front-end & version 5.0.0! #2035
Conversation
I will see what I can do to make this more reactive.
That one is a tough one because the data are no longer just on the front-end. What do you mean by navigate directly ? as in put a loading indicator while waiting for the next photo page to load ?
Well that can still be changed. :)
That is pretty much the same as in the full JS front-end though. :/
I am open to other idea of panels sliding or implementations of the visual. :) |
Yes, thats what I mean. |
I don't mean a different animation, the concept is fine. |
I did not yet test it, but based on the discussion I saw, it should behave like this:
I have no clue about livewire, but I'm very experienced in JavaScript, so maybe (if my time allows it) I could take a look in some parts of the code and support in such cases. |
Hi @Fensterbank
In simplified, Livewire works a bit more like GitHub, meaning that it does an AJAX query to the server, which returns an HTML block and does in-place replacement on the page. We do not use The current version (4.13) is using pre-loading on the next and previous image, this is not fully an option (yet). If you have 30 minutes to spare, this video is a good quick start on Livewire: https://www.youtube.com/watch?v=fX1aOWWt2nQ More docs on there: https://lycheeorg.github.io/docs/livewire.html I believe that with combining Alpine, it should be possible to have vueJS-like experience on the Photo side while retaining the component part on the other pages.
Switching to a vueJS-like experience on the photo view would most likely allow this. :) |
Converting back to draft. Significant refactoring in the photo display for better usability. |
809154a
to
2d4887d
Compare
Nice, and thanks for everything!
|
Most things are working as expected now, thanks! |
You mean album header image ? Yeah that one is not configurable yet. It is randomly selected on the landscape images in the current album (not considering sub albums). See code here: Lychee/app/Livewire/Components/Pages/Gallery/Album.php Lines 154 to 175 in 2ed0a9a
|
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Fixed, re-rendering was messing up with the display of images layout. |
Thanks for the great Christmas present :) Is there already a docker container that I can test? |
yeah but it is broken at the moment. |
i receive the following error after start
|
We are working on fixing that one. The problem is that npm is not run. |
@tinohager
|
@ildyria if the sql root password is not correct the error message in the setup wizard might be a little more telling it sounds like lychee is not creating the database automatically instead of not being able to connect to the server |
Lychee is not creating the database no. But it will create the tables once given the database. |
unfortunately does not work for me |
If you are using the docker compose, it should be in your |
We are working on a fix for the vite part: LycheeOrg/Lychee-Docker#168 . |
will try again tomorrow to get it running, thank you very much and Merry Christmas |
You will want to use temporarily |
LOOKING FOR BETA-TESTERS & FEEDBACK !
Setup for testing
Then you can access the front-end at the following url:
https://yourlychee.example.org/livewire
Or by setting
LIVEWIRE_ENABLED=false
in your.env
, in this case, the front-end will switch to Livewire completely.Fixes
Fixes #12 — ✔️⚠️
Fixes #383 — ✔️
Fixes #725 — ✔️
Fixes #748 — ✔️ (need localization)
Fixes #828 — ✔️
Closes #845 — ✔️
Fixes #857 — ✔️
Fixes #1053 — ✔️ (no more public smart album)
Fixes #1211 — ✔️
Fixes #1249 — ✔️
Fixes #1189 — ✔️
Fixes #1253 — ✔️
Fixes #1462 — ✔️
Fixes #1676 — ✔️
Fixes #1704 — ✔️
Fixes #1720 — ✔️
Fixes #1732 — ✔️
Fixes #1744 — ✔️
Fixes #1825 — ✔️
Fixes #1891 — ✔️
Fixes #1948 — ✔️
Fixes #1973 — ✔️
Fixes #1989 — ✔️
Fixes LycheeOrg/Lychee-front#199 — ✔️
Fixes #2011 — ✔️
Fixes #2050 —
Fixes #2051 — ✔️
Fixes #2058 — ✔️
Fixes #2068 — ✔️
Fixes LycheeOrg/Lychee-front#90 — ✔️
Fixes LycheeOrg/Lychee-front#104 — ✔️
Fixes LycheeOrg/Lychee-front#166 — ✔️
Fixes LycheeOrg/Lychee-front#268 — ✔️ (homebrewed css is gone)
Fixes LycheeOrg/Lychee-front#312 — ✔️ (already fixed actually)
Fixes LycheeOrg/Lychee-front#343 — ✔️
Fixes LycheeOrg/Lychee-front#344 — ✔️
Fixes LycheeOrg/Lychee-front#373 — ✔️
Major breaking differences
From @qwerty287
Round 1
Overall it's working well (except the performance as I wrote above...), thanks for all the work!
Round 2