Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace duplicate Pushover Timestamp field with the missing TTL field #11287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndyHazz
Copy link

Summary

Fixing the duplicate timestamp field, by swapping it for the missing ttl field described in the api documentation: https://pushover.net/api#ttl

Related Linear tickets, Github issues, and Community forum posts

#10984

Replace duplicate Timestamp field with the missing TTL field, fix for n8n-io#10984
@CLAassistant
Copy link

CLAassistant commented Oct 16, 2024

CLA assistant check
All committers have signed the CLA.

@n8n-assistant n8n-assistant bot added community Authored by a community member node/improvement New feature or request in linear Issue or PR has been created in Linear for internal review labels Oct 16, 2024
@Joffcom
Copy link
Member

Joffcom commented Oct 16, 2024

Hey @AndyHazz,

Thanks for the PR, We have created "GHC-326" as the internal reference to get this reviewed.

One of us will be in touch if there are any changes needed, in most cases this is normally within a couple of weeks but it depends on the current workload of the team.

@Joffcom
Copy link
Member

Joffcom commented Oct 16, 2024

@AndyHazz thanks for the PR, there is a tricky bit with this one as it involves a field rename so may break users workflows.

A better option would be to implement a light version 1.1 and show the new option on that that way existing workflows will work as they do now and if you add a new node to the canvas you will be able to use the TTL field.

Let me know what you think or if you have any questions.

@AndyHazz
Copy link
Author

The original timestamp will still be there, it's not really being renamed - currently it's duplicated in Pushover.node.ts with an identical name and the same field is shown twice - in the UI no matter which you pick from the dropdown, it adds two fields. Any value you enter, shows in both Timestamp fields.

Removing the duplicate timestamp field shouldn't affect any existing workflows, they can still have a timestamp, it'd just be shown once instead of twice - fixing a bug in the duplicated timestamp field, and adding the missing ttl field.

@AndyHazz
Copy link
Author

AndyHazz commented Oct 16, 2024

The untouched timestamp is here:
Line 239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member in linear Issue or PR has been created in Linear for internal review node/improvement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants