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

7379 people voted #7541

Merged
merged 26 commits into from
Oct 7, 2021
Merged

7379 people voted #7541

merged 26 commits into from
Oct 7, 2021

Conversation

danielfmiranda
Copy link
Collaborator

@danielfmiranda danielfmiranda commented Oct 1, 2021

Closes #7379
Related PRs/issues: Please note this PR depends on #7539.

Link to sample test page: https://foundation-s-7379-peopl-7dha3w.herokuapp.com/en/privacynotincluded/trade-want-safe-couple-before-glass-detail/

Steps to test:

  1. Visit the test page above
  2. Note the addition of the new "People Voted" section at the right, next to the rest of the product details.
  3. Click the underlined "People Voted" link, and the page should scroll to the voting section.
  4. If you would like, vote and refresh to see the face/rating change.
  5. If everything works well, testing is complete!

Checklist

Changes in Models:

@mofodevops mofodevops temporarily deployed to foundation-s-7379-peopl-7dha3w October 1, 2021 23:53 Inactive
TheoChevalier and others added 3 commits October 4, 2021 15:05
* New localization approach for Mozilla researched

* Remove extra spaces and simplify string
* New localization approach for People voted

* remove extra spaces

* Simplify string

* Update most_voted_rating.html
@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 5, 2021 00:24 Inactive
@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 5, 2021 00:52 Inactive
@danielfmiranda danielfmiranda changed the base branch from pni-q3-2021 to 7377-mozilla-researched October 5, 2021 00:54
@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 5, 2021 01:23 Inactive
@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 5, 2021 01:25 Inactive
@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 5, 2021 01:31 Inactive
Copy link
Contributor

@Pomax Pomax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can make quite a bit smaller by making the votes object give us all the data we need, rather than having a long switch in the template.

@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 6, 2021 00:01 Inactive
@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 6, 2021 00:10 Inactive
@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 6, 2021 17:01 Inactive
Copy link

@sabrinang sabrinang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for the update Daniel. I noticed a creep-o-meter bug while reviewing and filed it separately here #7574

@danielfmiranda
Copy link
Collaborator Author

Hi @TheoChevalier, thanks for the feedback regarding the colon after the people voted string. I have added your suggestion and re-requested review!

Copy link
Contributor

@TheoChevalier TheoChevalier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!

Base automatically changed from 7377-mozilla-researched to pni-q3-2021 October 7, 2021 00:01
@Pomax
Copy link
Contributor

Pomax commented Oct 7, 2021

@danielfmiranda it looks like there are some merge conflicts, could you fix these so that CI can make doubly-sure we're all good? =)

Copy link
Contributor

@Pomax Pomax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this cannot be reviewed until the merge conflicts have been resolved.

@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 7, 2021 00:45 Inactive
@danielfmiranda danielfmiranda temporarily deployed to foundation-s-7379-peopl-7dha3w October 7, 2021 00:51 Inactive
@danielfmiranda danielfmiranda requested a review from Pomax October 7, 2021 01:05
@danielfmiranda
Copy link
Collaborator Author

Sorry about that @Pomax! Conflicts are now resolved and ready for re-review :D

@Pomax Pomax temporarily deployed to foundation-s-7379-peopl-7dha3w October 7, 2021 19:33 Inactive
@Pomax Pomax merged commit 32343c8 into pni-q3-2021 Oct 7, 2021
@Pomax Pomax deleted the 7379-people-voted branch October 7, 2021 20:33
Pomax pushed a commit that referenced this pull request Oct 19, 2021
… slider (#7402)

CI looks stuck - overriding

added external link icon and removed price/dollar-sign (#7394)

* added external link icon and removed price/dollar-sign

* Update product.scss

* Update product.scss

Co-authored-by: Daniel Miranda <[email protected]>

Update continous-integration.yml

Update prod-like-ci.yml

added new date format to match figma file (#7395)

* added new date format to match figma file

Co-authored-by: Pomax <[email protected]>
Co-authored-by: Daniel Miranda <[email protected]>

Updated order of items, as well as renamed Updates section to News (#7400)

* Updated order of items, as well as renamed Updates section to News

Co-authored-by: Pomax <[email protected]>
Co-authored-by: Daniel Miranda <[email protected]>

Create README.md

Delete README.md

7374 - Added Category Bubbles

Added padding

hide the softwareproductpage child page type (#7419)

removed company contact information fields from template and cms/models (#7401)

* removed company contact information fields from template and cms/models

Co-authored-by: Pomax <[email protected]>
Co-authored-by: Daniel Miranda <[email protected]>

prettier

7294 - PNI category name untranslated in page title (#7455)

* 7294 - PNI category name untranslated in page title

linting fix

* Update network-api/networkapi/wagtailpages/pagemodels/products.py

Co-authored-by: Pomax <[email protected]>

Co-authored-by: Pomax <[email protected]>

updated dotted background bar to be around comments (#7450)

Co-authored-by: Daniel Miranda <[email protected]>

7374 - Added Category Bubbles

Added padding

7387-update typesetting styling

added mozilla says section (#7446)

* rebase

* updated migrations

* Update product_page.html

* Update network-api/networkapi/wagtailpages/templates/buyersguide/product_page.html

Co-authored-by: Théo Chevalier <[email protected]>

* Update product_page.html

* updated rebase and commits

Co-authored-by: Daniel Miranda <[email protected]>
Co-authored-by: Théo Chevalier <[email protected]>

ai product fields (#7488)

* added fields to be used in the AI panel

* Update products.py

Co-authored-by: Daniel Miranda <[email protected]>

Localize PNI category name in page title (#7478)

* Localize PNI category name in page title

* Line too long

7492 additional ai fields (#7513)

* added new fields, however, need to ask whether or not we want the helptext fields to go along or if they are static:

* updated AI fields, as well as reordered them in the code and CMS to match new PNI product page template

Co-authored-by: Daniel Miranda <[email protected]>

7389 section hrs (#7452)

* added new section dividers for news and related products

* updated spacing between news heading and section

Co-authored-by: Daniel Miranda <[email protected]>

update the ProductUpdate meta class to include ordering (#7530)

Localize category badge (#7565)

7472 - Search - update placeholder text

added new lead in paragraph under the comments heading (#7572)

* added new lead in paragraph under the comments heading

* Update product_page.html

Co-authored-by: Daniel Miranda <[email protected]>

7382 - product tabs component

Added sticky

Fixes

update

Design revisions

Refactor

Addressed

fixes

fixes

7377 mozilla researched (#7539)

* added new template to house all of the research details

* Update research_details.html

* New localization approach for Mozilla researched (#7553)

Co-authored-by: Daniel Miranda <[email protected]>
Co-authored-by: Théo Chevalier <[email protected]>

7473 change "all" category on mobile to a more indicative text (#7570)

fix

7379 people voted (#7541)

* added migrations for mozilla researched

* merge with q3 branch

* merge with q3 branch

* updated migrations

* saving to ask design for what to do on the medium breakpoint for the mozilla says and researched section.

* updated to use tailwind

* added new template to house all of the research details

* updated migrations

* Update research_details.html

* 7379-people-voted

* New localization approach for Mozilla researched (#7553)

* New localization approach for Mozilla researched

* Remove extra spaces and simplify string

* added requested changes from design and review

* New localization approach for People voted (#7554)

* New localization approach for People voted

* remove extra spaces

* Simplify string

* Update most_voted_rating.html

* spacing

* Update research_details.html

* comments

* removed % sign, implemented feedback from review

* Removed rogue space

* Update network-api/networkapi/wagtailpages/templates/fragments/most_voted_rating.html

Co-authored-by: Théo Chevalier <[email protected]>

* merging with q3

Co-authored-by: Daniel Miranda <[email protected]>
Co-authored-by: Théo Chevalier <[email protected]>
Co-authored-by: Pomax <[email protected]>

7393 - Update Content Width

Fixed

7380 tips to protect free text (#7576)

* tips to protect yourself using richtext field

Co-authored-by: Daniel Miranda <[email protected]>
Co-authored-by: Pomax <[email protected]>

updated blurb and worst case to rich text fields with 5000 char limit (#7605)

Co-authored-by: Daniel Miranda <[email protected]>

7470/7474 relocate search bar (#7591)

* removed unneeded JS, updated CSS, and relocated search bar to hero section of the page

* updated use of variable for color white

Co-authored-by: Daniel Miranda <[email protected]>
Co-authored-by: Pomax <[email protected]>

7383 - Product page - add "information" links to certain fields

Update network-api/networkapi/wagtailpages/templates/fragments/product_criterion_primary_info.html

Co-authored-by: Théo Chevalier <[email protected]>

Update network-api/networkapi/wagtailpages/templates/buyersguide/product_page.html

Co-authored-by: Théo Chevalier <[email protected]>

7386 - Content Update

fixes

Update network-api/networkapi/wagtailpages/templates/buyersguide/product_page.html

Co-authored-by: Théo Chevalier <[email protected]>

Changes

vote now button enabled on-click (#7627)

* vote now button enabled on-click

* removed box shadow while disabled

* transition

Co-authored-by: Daniel Miranda <[email protected]>

updated styling of search bar (#7604)

* removed unneeded JS, updated CSS, and relocated search bar to hero section of the page

* updated use of variable for color white

* updated styling of search bar to be round with 1px black border, 6 col width

* css changes requested by design

Co-authored-by: Daniel Miranda <[email protected]>

7441 category share data (#7606)

* added new image field, then checking if we can use them for share data

* comment

* migrations and Theo's localization feedback

* formatting

* updated migrations

* localization of category share data

* Removing slug from editable panels

Co-authored-by: Daniel Miranda <[email protected]>

Add subcategory functionality to PNI categories. (#7641)

* add "subcategories" by letting categories specify a parent.

migration fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants