Skip to content

Provide search function to 'Events' page#293

Open
hrw wants to merge 8 commits into
FOSDEM:masterfrom
hrw:master
Open

Provide search function to 'Events' page#293
hrw wants to merge 8 commits into
FOSDEM:masterfrom
hrw:master

Conversation

@hrw

@hrw hrw commented Feb 12, 2025

Copy link
Copy Markdown

Since 2020 I am maintaining alternative view of FOSDEM schedule. With search and links to slides/attachements and videos. Current version is available at https://gpages.juszkiewicz.com.pl/fosdem-videos/ page.

I am fine with keeping and maintaining it where it is now but each year people ask me why it is not part of FOSDEM website.

So I decided to take a look at FOSDEM website to integrate it there.

DataTables is MIT licensed, files are used from CDN, with SHA384 hashes provided to make sure that browser loads the same files.

Closes: #279

hrw and others added 5 commits February 12, 2025 20:58
With 1000+ events taking place at FOSDEM table got so long that finding
anything takes time. DataTables framework allows us to search, sort etc.

Enlarge table to take 100% of width, merge 'Day' and 'Start' columns
into one and sort by it.

Separators with track names are gone now.
We no longer have rows with Track name so let add column with this
information.

Had to rename 'Attachments' into 'Files' to make table fit in page.
FixedHeader extension makes table header always visible - it stays on
top of page while user scrolls page.
Mark plug-in highlights searched phrase.
Small styling change to keep search elements side by side.
@hrw

hrw commented Feb 12, 2025

Copy link
Copy Markdown
Author

https://marcin.juszkiewicz.com.pl/test/schedule2.html shows how page looks.

@hrw

hrw commented Feb 12, 2025

Copy link
Copy Markdown
Author

argh, broke sorting instead of fixing.

Will continue tomorrow.

@hrw

hrw commented Feb 12, 2025

Copy link
Copy Markdown
Author

ok, works.

@hrw

hrw commented Feb 14, 2025

Copy link
Copy Markdown
Author

@yoe

@johanvdw

johanvdw commented Feb 14, 2025

Copy link
Copy Markdown
Member

not sure we want external cdn links, and in any case we need to adjust CSP for that I think.
Most of us meet tomorrow, so we will let you know after that.

Anyway: thanks for your work, it is definitely nice!

@hrw

hrw commented Feb 15, 2025

Copy link
Copy Markdown
Author

You can also host those files. I did not know where to put them so used external.

@johanvdw

Copy link
Copy Markdown
Member

@gerryd : thoughts?

@gerryd

gerryd commented Feb 17, 2025

Copy link
Copy Markdown
Member

So far we have avoided any javascript in the website, but I'm not opposed to change that.

I'm not in favour of loading resources from a CDN, though, we aim to be fully self-hosted, so I'd much prefer if we could host them ourselves. I suppose there are some provisions in nanoc to that effect?

@hrw

hrw commented Feb 17, 2025

Copy link
Copy Markdown
Author

It can be used with Javascript disabled. But then it needs some CSS work as table gets too packed.

@hrw

hrw commented Nov 4, 2025

Copy link
Copy Markdown
Author

FOSDEM 2026 soon, so maybe we can decide is it going merged or rejected?

@gerryd

gerryd commented Nov 12, 2025

Copy link
Copy Markdown
Member

@hrw I'd be in favour of merging this, but we'd need to self-host the javascript bits and not load it from a CDN. If these can be loaded from (probably) the /assets directory instead, I think that would work.

Do you think you could update the PR accordingly?

@hrw

hrw commented Nov 12, 2025

Copy link
Copy Markdown
Author

Will do.

@hrw

hrw commented Nov 13, 2025

Copy link
Copy Markdown
Author

Added Datatables into /content/assets/

@gerryd

gerryd commented Nov 21, 2025

Copy link
Copy Markdown
Member

Added Datatables into /content/assets/

This seems to break the build for me; did you manage to build the site with this patch included?

@hrw

hrw commented Nov 21, 2025

Copy link
Copy Markdown
Author

have to try as I did earlier testing in a container on already dead system so just changed files and hoped for best

@hrw

hrw commented Nov 21, 2025

Copy link
Copy Markdown
Author

hm. I have no idea how nanoc works and what it expects here

@hrw

hrw commented Jan 1, 2026

Copy link
Copy Markdown
Author

So it feels like not something for this year?

@gerryd

gerryd commented Jan 29, 2026

Copy link
Copy Markdown
Member

Unless someone finds time to debug why this PR breaks the build, I'm afraid not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate searchable schedule view

3 participants