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

Update Trellis events only if content changed #3938

Open
danahertzberg opened this issue Dec 11, 2024 · 0 comments
Open

Update Trellis events only if content changed #3938

danahertzberg opened this issue Dec 11, 2024 · 0 comments
Labels
trellis Work associated with Trellis

Comments

@danahertzberg
Copy link
Contributor

Motivation

The recently updated content is appearing at the top of the content page on the client's website. Since this content is constantly being updated, it is making for a confusing UI on the website because the content was not updated and the event actually has passed.

Is your feature request related to a problem? Please describe.

Example: The event "Graduate Center Open House Fall 2024" (Trellis link) is appearing in the site's content as being last updated on 12/9/2024.

Active events are updated every day by the Blackthorn events product, and we have no control over that.

Proposed Resolution

Describe the solution you'd like

I want to see the updated date on the Quickstart website side to show when content was actually updated, not refresh every day regardless of if there were changes.

Describe alternatives you've considered

Per Troy: I'm curious if we could do something on the Quickstart side that follows logic like "Only update it if something besides the last modified date changes in the update"

Roles and Permissions considerations

A clear and concise description of how each of the following roles would be impacted by this change:

  • Anonymous user
  • Authenticated user
  • Content editor: Changes to content last updated date
  • Content administrator: Changes to content last updated date
  • Administrator: Changes to content last updated date

Additional context

Slack thread

Sample API output for a Trellis Event

{
    "httpStatusCode": "200",
    "data": [
        {
            "Id": "a3U8A000000X5HrUAK",
            "Name": "KK Test",
            "Last_Modified_Date": "2023-06-16T15:55:18.000Z",
            "External_Visibility": "Broadcast to all Platforms",
            "Publish": true,
            "Status_Formula": "Active",
            "Publish_Formula": false,
            "Format": "Virtual",
            "Image_URL": "https://media.blackthorn.io/image/fetch/$w_850,$h_425/f_auto,q_auto,t_opt,d_missing-image-01.jpg/https%3A%2F%2Fanimals.sandiegozoo.org%2Fsites%2Fdefault%2Ffiles%2F2018-06%2Fanimals_hero_saguaro.jpg",
            "Start_DateTime": "2023-06-15T07:15:00.000Z",
            "End_DateTime": "2023-06-15T07:30:00.000Z",
            "Time_Zone": "(GMT-07:00) Mountain Standard Time (America/Phoenix)",
            "Summary": "this is a summary for this in person event",
            "Recurring_Event": "a3h8A000000p39YQAQ",
            "Description": "<p>this is the description which is longer than i would normally type but here ya go lkjlkjlkj</p>",
            "All_Day_Event": false,
            "Ongoing_Exhibit_or_Tour": false,
            "Branded_Event_URL": "https://events.blackthorn.io/8AMrB56/4a3U8AX5Hr",
            "Attributes": [
                {
                    "Audiences": [
                        "Undergraduate Student, Research & Teaching Faculty/Postdoc, Public & Private Organization"
                    ],
                    "Topic": [
                        "Arts & Culture"
                    ],
                    "Category": [
                        "Thesis/Doctoral Performances & Defenses"
                    ]
                }
            ],
            "Owner_NetID": "sananava"
        }
@danahertzberg danahertzberg added the trellis Work associated with Trellis label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
trellis Work associated with Trellis
Projects
None yet
Development

No branches or pull requests

1 participant