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
New Participate Page #1748
New Participate Page #1748
Conversation
For design review: Page: Edit in CMS: CC @kristinashu |
Page is looking good! There are no major issues but here are the P1s: Share CTA
Time commitment tags
Top hero banner (see comp or Abstract)
Medium width view (see comp or Abstract)
P2'sI will open a separate ticket for the P2's on Monday. For a sneak peak, see this doc. cc @beccaklam |
@kristinashu P1s are done and staged. If they look good please mark your review approved and I'll assign a code reviewer. Let's move P2s to a new ticket. Thanks! |
Cool, thanks @gvn! For the share messaging, can I update the pre-populated text somewhere in the CMS? |
All of the copy is editable in the CMS. Feel free to change it on staging if you'd like! |
Whaaaat!? Awesome! Will approve design review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Design is good! Ready for code review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments and questions.
@@ -494,11 +494,170 @@ class InitiativesPage(PrimaryPage): | |||
] | |||
|
|||
|
|||
# TODO: Remove this model after ParticipatePage2 is in use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will eventually! Not yet though.
ordering = ['sort_order'] # not automatically inherited! | ||
|
||
def __str__(self): | ||
return self.page.title + '->' + self.highlight.title |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this appear in UI? I can't seem to find any text on site / admin dashboard that has ->
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH this is copied from elsewhere and seems to be needed, but I'm not sure why. 🤷♀️
@@ -623,6 +886,7 @@ class Homepage(MetadataPageMixin, Page): | |||
'Styleguide', | |||
'NewsPage', | |||
'ParticipatePage', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to remove ParticipatePage
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will eventually. Right now there will be two ParticipatePage templates so that we don't have to take down the current /participate
page while we build the new one on prod.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kk makes sense
<a class="social-link social-link-twitter" href="https://twitter.com/home?status={{ twitter }}"></a> | ||
{% endif %} | ||
|
||
{% if email_body %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to check email_subject
here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I guess that's a good idea.
Related issue: #1717