Project Version Tag
This node displays build and version information.
The Project Version Tag node renders a small overlay with metadata about the current project build.
The Project Version Tag node fetches project.json and calculates a hash of the project content to display versioning info. It is useful for QA and debugging to ensure the correct version of the app is running.
Inputs
Actions
| Signal | Description |
|---|---|
| Do | Triggers the fetch and update of version info. |
Outputs
Version
| Data | Description |
|---|---|
| Project Id | A SHA-256 hash of the project content (integrity check). |
| Timestamp | The last modified time of the project file. |
| Template Version | The version of the template used (if applicable). |
| Build Id | A composite ID string. |
Usage
QA Overlay
- Place this node in a "Debug" popup or footer.
- Trigger Do on mount.
- Testers can take a screenshot to report exactly which build they are testing.
Detailed Behavior
- Fetching: It makes a network request to
/project.json. - Hashing: Calculates hash client-side to verify integrity.
Troubleshooting
- Empty Data: If
project.jsonis not accessible (e.g., local preview vs deployed), some fields might be empty.