Skip to content

feat: remove stack_field setting#12

Merged
nicomiguelino merged 2 commits into
developmentfrom
fix/remove-stack-field-setting
Jun 12, 2026
Merged

feat: remove stack_field setting#12
nicomiguelino merged 2 commits into
developmentfrom
fix/remove-stack-field-setting

Conversation

@nicomiguelino

Copy link
Copy Markdown
Contributor

Summary

  • Remove stack_field from screenly.yml and screenly_qc.yml
  • Drop stackFieldName parameter from renderKanban and stackField from renderView; kanban now always auto-detects the first singleSelect field
  • Remove related unit test and README references

- Remove stack_field from screenly.yml and screenly_qc.yml
- Drop stackField parameter from renderView and renderKanban
- Remove stack_field setting read from main.ts
- Remove stack_field test case from kanban.test.ts
- Update README to remove stack_field references
@nicomiguelino nicomiguelino self-assigned this Jun 12, 2026
@nicomiguelino nicomiguelino marked this pull request as ready for review June 12, 2026 05:24
@nicomiguelino nicomiguelino requested a review from Copilot June 12, 2026 05:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the configurable kanban “stack field” setting and simplifies kanban rendering to always stack by the first singleSelect field in the Airtable schema, with corresponding documentation and test updates.

Changes:

  • Removed stack_field from Screenly manifests and README configuration examples.
  • Updated renderView / renderKanban APIs to drop stackFieldName/stackField parameters and rely on auto-detection.
  • Removed the unit test that validated behavior for an explicitly configured but missing stack_field.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/render.ts Drops stackField param from renderView and updates kanban rendering call.
src/main.ts Stops reading stack_field setting and calls renderView with only viewData.
src/kanban.ts Removes stackFieldName parameter; always selects the first singleSelect field; updates warning message.
src/kanban.test.ts Removes the test case for missing configured stack_field.
screenly.yml Removes stack_field setting from the manifest.
screenly_qc.yml Removes stack_field setting from the QC manifest.
README.md Removes stack_field from configuration documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/render.ts

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.

@nicomiguelino nicomiguelino merged commit 540b992 into development Jun 12, 2026
2 checks passed
@nicomiguelino nicomiguelino deleted the fix/remove-stack-field-setting branch June 12, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants