Commit Graph

19 Commits

Author SHA1 Message Date
5ee2c6662e feat: invalid page for unavailable resources
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m46s
Accessing resources which are not available, the invalid page will be
rendered instead. The original attempt for access will be logged.
2025-11-08 12:50:25 +01:00
f197416b43 feat: accept argument for path to open
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m14s
2025-11-02 21:34:11 +01:00
c599bc55c7 mod: bump zterm dependency; show no background for content scrollbar 2025-11-02 21:33:30 +01:00
a877ac3e7d feat(content): routing to provided .blog paths
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m7s
This is a starting point to dynamically loading `markdown` files as blog
entries. With this change the *doc/about.md* and *doc/blog.md* files
are no longer builded into the executable and instead read from the
filesystem during runtime (along with the new test file *doc/test.md*).
2025-11-01 22:36:48 +01:00
55861114dc feat(content): parse document preemble
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Has been cancelled
Show title stored in preemble of markdown file if available.
2025-11-01 17:41:33 +01:00
74bf941820 feat(content): scrollable contents; bump zterm dependency
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m23s
With functional increments in `zterm`'s `Scrollable` `Element`, an
implementation (such as `Content`) can provide a size hint for the
minimal required size to dynamically change its dimensions for the
scrollable `Container` in the `Scrollable` `Element`.
2025-11-01 14:44:05 +01:00
8ac6c16289 mod: bump zterm dependency; add zlog dependency
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m22s
`zlog` is used to log messages to the log file that is also used by
`serve` by default, making it a single source for all the log messages.
2025-11-01 00:18:44 +01:00
5acca12abf feat: rework header; add footer; padding for content
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m37s
Release Zig Application / Release zig project (release) Has been cancelled
2025-10-30 16:28:49 +01:00
bf0d068b4b feat: embedded content incl. rendering; simple layout with nav-bar
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m1s
2025-10-29 16:30:09 +01:00
5227a33d0a mod: bump zig to master version; bump zterm dependency
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m0s
Release Zig Application / Release zig project (release) Successful in 1m27s
Use progress example for initial tui-website test application.
2025-10-28 19:57:10 +01:00
0bcdc72674 mod(zterm): update dependency and use alignment for top container's text widgets
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 49s
2024-11-16 18:23:41 +01:00
36a4e16535 mod: update zterm dependency and adjust layout
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 49s
2024-11-15 22:24:41 +01:00
9515def4fb Replace vaxis with zterm (#1)
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 32s
Vaxis sadly cannot be used for applications which want to serve their contents via ssh to the (remote) user.

Instead I wrote my own tui library [zterm](https://gitea.yves-biener.de/yves-biener/zterm), which this tui application now uses. This will serve two purposes:
1. implement the tui application and be servable through ssh (see [wish-serve](https://gitea.yves-biener.de/yves-biener/wish-serve))
2. serve as documentation and showcase of an example application for **zterm**

Reviewed-on: #1
2024-11-13 19:52:55 +01:00
03a4b571d3 mod: adjust layout and style of widgets and header links 2024-10-19 16:11:08 +02:00
93ecfbeda0 add(PopupMenu): menu to enable space key binding groupings
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 32s
Some minor layout changes of the application
2024-10-09 11:10:40 +02:00
63bef849ec add(ViewPort): wrapper for vaxis.widgets.ScrollView
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 31s
2024-10-08 15:34:48 +02:00
7c6d2aa659 fix(header): render title in the aligned horizontal
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 32s
2024-10-08 14:22:30 +02:00
5038c92ab4 add(header): header with configurable title
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 31s
2024-10-07 22:04:29 +02:00
6fea65a359 setup project using and
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m9s
2024-10-07 19:28:01 +02:00