It is currently 09 May 2026, 14:44




 Page 1 of 1 [ 6 posts ] 
Author Message
 Post subject: An attempt at better lists/better tables/better GUI
PostPosted: 16 Apr 2026, 20:08 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 5337
Location: Tokyo
Has thanked: 421 times
Been thanked: 1730 times
Went another rabbit hole tonight and... decided that the low CPU/one page at a time/not mobile friendly/etc. lists really needed a fresh approach.

It will probably break prototype/scriptaculous -- obsolete since early 2010 -- and force me to replace everything with (at least) jQuery but the user experience should improve quite a bit.

Trying a prototype based on https://datatables.net/ for the collection lists:

Current: static, reload one each page, reload on each search, using &max= also forces a reload, pagination is buggy, iCover display doesn't retain the current sorting, etc.

Attachment:
static.png
static.png [ 91.13 KiB | Viewed 93 times ]


Prototype: dynamic, everything is retrieved only once, all sorting/search/pagination/row increases are local and fast, iCover displays exactly the list in the same order.

Attachment:
dynamic.png
dynamic.png [ 174.08 KiB | Viewed 93 times ]


Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
MSD4 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: An attempt at better lists/better tables/better GUI
PostPosted: 17 Apr 2026, 04:45 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 5337
Location: Tokyo
Has thanked: 421 times
Been thanked: 1730 times
=> I'll try to backport the code to the current code base on a test page for logged on users this weekend to have more people try/play with it.

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
MSD4 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: An attempt at better lists/better tables/better GUI
PostPosted: 18 Apr 2026, 06:49 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 5337
Location: Tokyo
Has thanked: 421 times
Been thanked: 1730 times
First prototype up!

Not everything is working (default/forced sorting is acting weird, condition or custom date also wrong).
All javascript should have been converted for basic collection functions but proceed carefully as it's hitting the live database.
It should work for both private browsing and public collection links.

You need to be logged and have discs in your collection obviously... or check someone else's public collection.

=> https://www.lddb.com/collection2.php

Attachment:
dataset-prototype.png
dataset-prototype.png [ 198.85 KiB | Viewed 72 times ]


The screenshot above is https://www.lddb.com/collection2.php?action=list&cat=category&key=30&user=admin

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
MSD4 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: An attempt at better lists/better tables/better GUI
PostPosted: 19 Apr 2026, 06:03 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 5337
Location: Tokyo
Has thanked: 421 times
Been thanked: 1730 times
Fine-tuning further:

  • Sorting is better but must still find how to get DATE and CONDITION to sort properly.
  • Empty lists were throwing an error => fixed

No matching record found
Showing 0 to 0 of 0 entries


Don't hesitate to post/send me feedbacks if you find any issue.

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
MSD4 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: An attempt at better lists/better tables/better GUI
PostPosted: 20 Apr 2026, 17:06 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 5337
Location: Tokyo
Has thanked: 421 times
Been thanked: 1730 times
With a lot of code shared between Collections and Wishlists, converting the Wishlists were not too difficult:

=> https://www.lddb.com/wishlist2.php

Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
MSD4 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
 Post subject: Re: An attempt at better lists/better tables/better GUI
PostPosted: 24 Apr 2026, 18:55 
Site Admin
Site Admin
User avatar

Joined: 07 Aug 2002, 23:37
Posts: 5337
Location: Tokyo
Has thanked: 421 times
Been thanked: 1730 times
Kept playing with this tool for the main search results.

For example, you could look up all the PILF-1* LDs, and then use the advanced search to select Letterboxed, Surround and THX:

https://www.lddb.com/search.php?adv_search=*&adv_reference=PILF-1%2A&picture=2&soundtrack=4&thx=yes

Attachment:
Ex1-1.png
Ex1-1.png [ 54.79 KiB | Viewed 21 times ]


With the new data tables, you can load all PILF-1* in one shot (will take a few seconds), but then you can reorder and filter at will and nearly instantly from your local browser. No more further database access required.

The same search becomes a filter using LBX SRD THX:

Attachment:
Ex1-2.png
Ex1-2.png [ 111.4 KiB | Viewed 20 times ]


Julien
_________________
HARDWARE DATABASE
HLD-X0/9 LD-S9 OPPO 105/205 SL-1200G
MSD4 MSC-4000 R2144 PONTUS II C45 MC257
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: