|
Description
Eric Poirier
I think we could do both without too much work. We could create a file that Stephanie would maintain. This file would be a list of Recommended stories: This is an example: Title: "News 1" Body: "Body text 1." Link: "https://..." start_date: "May 1, 2018" end_date "May 2, 2018" Title: "News 2" Body: "Body text 1." Link: "https://..." start_date: "May 1, 2018" end_date "May 2, 2018" Title: "News 3" Body: "Body text 1." Link: "https://..." start_date: "May 2, 2018" end_date "May 3, 2018" Title: "News 3" Body: "Body text 1." Link: "https://..." start_date: null end_date "null * Before May 1st, News item 3 would appear. * Between May 2-3, the site would randomly pick between News 2 and News 3 After May 3, News 3 would become the default. It will be important to always include a news item without a start and end date as a fallback news item. (In reply to Christopher Guindon from comment #1) > I think we could do both without too much work. > > We could create a file that Stephanie would maintain. This file would be a > list of Recommended stories: > > This is an example: > > Title: "News 1" > Body: "Body text 1." > Link: "https://..." > start_date: "May 1, 2018" > end_date "May 2, 2018" > > Title: "News 2" > Body: "Body text 1." > Link: "https://..." > start_date: "May 1, 2018" > end_date "May 2, 2018" > > Title: "News 3" > Body: "Body text 1." > Link: "https://..." > start_date: "May 2, 2018" > end_date "May 3, 2018" > > Title: "News 3" > Body: "Body text 1." > Link: "https://..." > start_date: null > end_date "null > > * Before May 1st, News item 3 would appear. > * Between May 2-3, the site would randomly pick between News 2 and News 3 > After May 3, News 3 would become the default. > > It will be important to always include a news item without a start and end > date as a fallback news item. +1 This would solve our rotation issue and also prevent the site from showing outdated news items at all times. Should this be an MBO for Q3? I've put together a schedule in a Gsheet to start us off: https://docs.google.com/spreadsheets/d/1vBRLl5RQHieZ5lG2DbkrP4xqzciACmCt9a1Z7JFIWKg/edit?usp=sharing (In reply to Stephanie Swart from comment #3) > Should this be an MBO for Q3? > > I've put together a schedule in a Gsheet to start us off: > https://docs.google.com/spreadsheets/d/ > 1vBRLl5RQHieZ5lG2DbkrP4xqzciACmCt9a1Z7JFIWKg/edit?usp=sharing I don't think this needs to be an MBO since we currently have a work around. With this said, I will increase the priority so that we can get this done sooner rather than later! New Gerrit change created: https://git.eclipse.org/r/146395 New Gerrit change created: https://git.eclipse.org/r/146396 New Gerrit change created: https://git.eclipse.org/r/146457 Gerrit change https://git.eclipse.org/r/146395 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=f59a11c7ee8edb1dd3b920074821332d26dcea9f Gerrit change https://git.eclipse.org/r/146396 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/home.git/commit/?id=cc33127072dca6dbe1c1ee4c6b8408e0b5ae2113 This is now live on production for the featured story but something we forgot to include is to use the featured story data in the xml file in the Featured Footer as well. I'm gonna have to create another patch for the eclipse.org-common repo for this. New Gerrit change created: https://git.eclipse.org/r/146679 New Gerrit change created: https://git.eclipse.org/r/146680 Gerrit change https://git.eclipse.org/r/146679 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/home.git/commit/?id=a3b6f3400751e50d5dc16dd4933bfb7de766db48 Gerrit change https://git.eclipse.org/r/146680 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=19b7aee0f84f63c362043f7e139871da5e71046f New Gerrit change created: https://git.eclipse.org/r/147118 New Gerrit change created: https://git.eclipse.org/r/147191 Gerrit change https://git.eclipse.org/r/147118 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=e8eb7f5a9fd8a8e0ca78ce7ea3ae939a377f4a72 Gerrit change https://git.eclipse.org/r/147191 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/home.git/commit/?id=a3cf879aa27c8822ae500d5d04be15e0eacacb42 My patches for the rotation of the featured story section have been merged to production. Please reopen this bug if there's an issue with my changes. Thanks. |