feat/more-visual-changes #6

Merged
patillacode merged 5 commits from feat/more-visual-changes into main 2026-05-31 19:53:19 +02:00
Owner

UI polish and content subdomain fixes

Summary:

  • The post-upload URL is now a clickable link that opens in a new tab, replacing the Copy button
  • Admin panel table gains two new columns: File (original filename) and Uploaded (timestamp) stored in the DB and exposed via the admin API;
    the index page history list gets the same upload date field
  • Error pages on content subdomains (e.g. abc123.dropit.patilla.es) now correctly load their CSS: the middleware was intercepting /static/ requests before they could reach the static file mount
  • Reserved subdomains (www) no longer fall through to the content page router and return a 404

Schema change: two nullable columns (filename, created_at) are added to the page table via a safe ALTER TABLE ADD COLUMN migration that runs on startup; existing rows get NULL for both and display in the UI.

UI polish and content subdomain fixes Summary: - The post-upload URL is now a clickable link that opens in a new tab, replacing the `Copy` button - Admin panel table gains two new columns: File (original filename) and Uploaded (timestamp) stored in the DB and exposed via the admin API; the index page history list gets the same upload date field - Error pages on content subdomains (e.g. `abc123.dropit.patilla.es`) now correctly load their CSS: the middleware was intercepting `/static/` requests before they could reach the static file mount - Reserved subdomains (`www`) no longer fall through to the content page router and return a `404` Schema change: two nullable columns (`filename`, `created_at`) are added to the page table via a safe `ALTER TABLE ADD COLUMN` migration that runs on startup; existing rows get `NULL` for both and display in the UI.
The upload success URL is now an anchor that opens in a new tab,
removing the separate Copy button entirely.
Stores original filename and created_at on every new Page record,
exposes them from the admin API, and renders them as new columns
(File, Uploaded) in the admin table and as a date field in the
index page history list. Existing rows show — for both fields.
fix: pass static assets and reserved subdomains through content middleware
All checks were successful
CI / test (pull_request) Successful in 21s
1463cb60de
Content subdomain middleware was intercepting /static/ requests and
reserved names like www, breaking CSS loading on error pages and
routing www.dropit.patilla.es to a 404 instead of the main UI.
Merge branch 'main' into feat/more-visual-changes
All checks were successful
CI / test (pull_request) Successful in 21s
d5473be6d5
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
patillacode/dropit!6
No description provided.