backstage-plugin-announcements icon indicating copy to clipboard operation
backstage-plugin-announcements copied to clipboard

🚀 Feature: Set or modify announcements dates

Open gaelgoth opened this issue 10 months ago • 4 comments

🔖 Feature description

Add Announcements date edition

🎤 Context

Since the timeline (https://github.com/procore-oss/backstage-plugin-announcements/issues/119) has been introduced, announcements can be related to an event in the future. On announcement creation or edition users can set a date.

✌️ Possible Implementation

  • ~Add a new column announcement_event_date in announcements table~
  • ~Add a announcement event date field in create and edit announcement forms~
  • ~Set existing created_at as default value for announcement event date~
{
  startTime: Date;
  endTime: Date;
  active: boolean;
}

👀 Have you spent some time to check if this feature request has been raised before?

  • [X] I checked and didn't find similar issue

Are you willing to submit PR?

Yes I am willing to submit a PR!


Edit:

  • 2024.07.17: Replace Possible Implementation by kurtaking suggestion

gaelgoth avatar Apr 26 '24 09:04 gaelgoth

I like this idea. One use case we have is using this plugin to announce events and events are generally time bound so this would be helpful to my team. 👍

billabongrob avatar Apr 26 '24 11:04 billabongrob

I also like this idea 👍 , I think we can also benefit from a "Calendar" view. Also for our use case to give announcements a "time frame"

ShauliSolomovich avatar Jul 12 '24 12:07 ShauliSolomovich

What do you think about adding something like the below and setting active to false if it doesn't fall within the range? Thinking about how we could solve for this issue as well in one go.

{
  startTime: Date;
  endTime: Date;
  active: boolean;
}

kurtaking avatar Jul 12 '24 15:07 kurtaking

What do you think about adding something like the below and setting active to false if it doesn't fall within the range? Thinking about how we could solve for this issue as well in one go.

{
  startTime: Date;
  endTime: Date;
  active: boolean;
}

Good idea, I've been busy lately. I should be able to free up some time next month, but if anyone wants to get started please feel free to do so 😃

gaelgoth avatar Jul 17 '24 08:07 gaelgoth