Hi Mathesar developers!
The release branch is cut for 0.6.0, slated to go live next Monday, September 29th. As many of you know this release includes support for files, refinements to Mathesar's colors, and some small bug fixes and improvements. You can see the full list in the
draft release notes.
I did already find an issue with files--we need to setup the backend to work via ENV var, not just a configuration file, for the same reason we did with SSO.
Details here. I've assigned this to Anish.
Kriti has also requested two small UI changes, which I'll address in a PR tomorrow. I'm also still working on the user facing documentation. I got deep in testing the files feature with different object storage providers and didn't finish.
If anyone hasn't tried out files yet--you should! Here are the instructions I shared on the PR for convenience:
Setup
- Checkout this branch git checkout develop or gh pr checkout 4812
- Configure the default file backend by copying the example config cp file_storage.yml.example file_storage.yml
- Run Mathesar’s dev service and the new local file storage container (MinIO) with: docker compose -f docker-compose.dev.yml up obj-store dev-service --build
# ^^^^^^^^^ THIS IS NEW
- Log into MinIO at localhost:9001. Username and password are both “mathesar”.
- Create a new bucket called “mathesar-storages” in the UI.
- Go to Mathesar.
Testing
- Go to an existing table in your local Mathesar instance, or create a new schema with one of the pre-defined datasets and navigate to a table.
- Using the “+” icon, add a new “File” column to the table.
- Upload various files to cells. Images and non-images.
- Experiment with various aspects of the UI:
- The single record view of a record with a file column
- Attempting to add a file column to as form
- The lightbox when clicking on an image thumbnail
- The modal when clicking on an non-image file icon
If anyone finds QA issues or has questions, feel free to share them here or in GitHub.
Best,
Zack