2633 Commits
Author SHA1 Message Date
Brooke Kuhlmann d0013277a0 Updated to PostgreSQL 18.6.0
link:https://www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/[Details].

Milestone: minor
2026-08-13 09:08:53 -06:00
Brooke Kuhlmann c971c966bf Refactored design create and update resources to use same terminology
Necessary to consistent with changes introduced when adding import support so that the top level form key is `design` instead of `template`.

Milestone: patch
0.69.0
2026-08-12 11:59:56 -06:00
Brooke Kuhlmann 6e7d74b6d9 Added designs import resource
Necessary to import an exported (zip file) design. The full implementation is included as a single commit to capture the details of how this works. Here's the breakdown:

* *Import Action*: Creates a new screen template based on the model ID and associated zip file content that is uploaded.
* *Import Partial*: The `_import` partial provides the form within a popover via the index page to collect details from the user. This is also why the `index` template has been updated to link to the popover and also why the index view supplies the models.

In the future, reduce the responsibility of loading the models on the index view and use a import new action instead.

Milestone: minor
2026-08-12 11:42:35 -06:00
Brooke Kuhlmann de3dc101d7 Added designs import contract
Necessary to validate a zip attachment before importing content. This also requires the model ID to be supplied as a starting point since the same template can be used for any model.

Milestone: minor
2026-08-12 11:42:35 -06:00
Brooke Kuhlmann 2f33d0b791 Added designs importer
Necessary to handle the validation and importing of data into the database for a design (screen template).

Milestone: minor
2026-08-12 11:42:35 -06:00
Brooke Kuhlmann a37e1acbe5 Added designs import schema
Necessary to validate the attributes being imported.

Milestone: minor
2026-08-12 11:20:51 -06:00
Brooke Kuhlmann d55c650944 Updated to SimpleCov 1.1.0
link:https://github.com/simplecov-ruby/simplecov/releases/tag/v1.1.0[Details]. The use of a single index page for all information is nice.

Milestone: minor
2026-08-12 08:15:57 -06:00
Brooke Kuhlmann e149e14637 Fixed extension download action to use shared partial
Necessary to reduce duplication.

Milestone: patch
2026-08-11 17:00:11 -06:00
Brooke Kuhlmann 82edc66a3c Added download action to all design templates
Surfaces the export work via the UI so anyone can click on any design and immediately export for sharing with others.

Milestone: minor
2026-08-11 16:59:59 -06:00
Brooke Kuhlmann 8b4cc9c08a Added designs export resource
Allows folks to export a design for sharing with others to import and use as desired.

Milestone: minor
2026-08-11 16:54:09 -06:00
Brooke Kuhlmann 96f8e765a1 Added designs exporter
Necessary to export a design for sharing with others. Will soon be used by the designs export action (not yet implemented).

Milestone: minor
2026-08-11 16:53:52 -06:00
Brooke Kuhlmann 42eb29a8ae Added screen template export attributes
Necessary to define what attributes are allowed when exporting a screen template.

Milestone: minor
2026-08-11 16:53:22 -06:00
Brooke Kuhlmann ae441c2bf7 Updated extension shared fields documentation for device information
Necessary to explain, when selecting a device, you gain device specific information for use in your templates.

Milestone: minor
2026-08-11 13:28:44 -06:00
Brooke Kuhlmann ac2837872e Added extension remote import template key transforms for device
Ensures the remote keys are correctly mapped to the internal keys as provided by the `Contextualizer` during screen generation.

Milestone: minor
2026-08-11 11:56:16 -06:00
Brooke Kuhlmann be452356e4 Added extensions contextualizer device attributes
Necessary to access device information via Liquid templates.

Milestone: minor
2026-08-11 11:28:31 -06:00
Brooke Kuhlmann e39016fc93 Fixed device part spec to only use database record for current screen
Speeds up the tests by limiting database use to only the current screen method since that's the one that used the device provisioner.

Milestone: patch
2026-08-11 11:20:07 -06:00
Brooke Kuhlmann 62610555bf Added device struct Liquid attributes
Necessary to generate attributes for Liquid templates. Will soon be used during extension import of TRMNL Recipes in order to supply device information.

Milestone: minor
2026-08-11 11:20:07 -06:00
Brooke Kuhlmann ee557c2c8b Refactored device battery and WiFi percentages to struct
We need access to this information via the struct for building Liquid attributes instead of at the view layer. With this change, the part will automatically delegate to the struct instead.

Milestone: patch
2026-08-11 11:20:07 -06:00
Brooke Kuhlmann 0e5931441e Fixed models finder to prefer model ID over device ID
Ensures the model ID is preferred in situations where both the a model and device ID are provided.

Milestone: patch
2026-08-11 11:20:07 -06:00
Brooke Kuhlmann 919b8be633 Fixed extension import remote key transformer to map external ID
Ensures the TRMNL Recipe ID is mapped as an external ID in case we need to reference this information. This also ensures the extension's ID will be dynamically sequenced via PostgreSQL when the record is created instead of letting the TRMNL Recipe ID override this value.

Milestone: patch
2026-08-11 11:19:57 -06:00
Brooke Kuhlmann 0953ece84f Updated devices documentation to reflect recent hardware changes
Milestone: minor
2026-08-11 08:32:55 -06:00
Brooke Kuhlmann 22375ca9ad Fixed screen template struct spec to use correct ID
Necessary to ensure the ID matches since the factory will randomly use a different ID each time.

Milestone: patch
2026-08-10 16:59:53 -06:00
Brooke Kuhlmann 210a599e6b Updated screen model popover terminology
Necessary to be consistent with terminology used by the design and extension popovers.

Milestone: patch
2026-08-10 16:53:59 -06:00
Brooke Kuhlmann 5d3e812aa6 Added extension and design fields to screen show template
Provides quick access to associated records (if they exist).

Milestone: minor
2026-08-10 16:53:59 -06:00
Brooke Kuhlmann c3bc8f4164 Added screen design and extension popovers
Necesssary to explain how these links work but only if a screen is associated with one of them. Will be used to update the show view documentation.

Milestone: minor
2026-08-10 16:53:59 -06:00