Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
M
marketingWebsite
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • marketingWebsite
  • Merge Requests
  • !9

Merged
Opened Nov 06, 2019 by Tillie Kottmann@deletescapeOwner

Blogs

  • Overview 27
  • Commits 41
  • Changes 14

Created by: ay701

This PR is about adding Blogs section to BlocPower marketing website

What to test:

  1. User can post new blogs with a full-featured editor through admin page
  2. User can search blogs using keywords (on blogs page's side bar)
  3. User can filter blogs by categories (on blogs page's side bar)
  4. User can filter blogs by archived years (on blogs page's side bar)
  5. User can subscribe newsletter from BlocPower (on both blogs page's and individual blog page's side bar, at right bottom)
  6. User can see the most recent articles (on individual blog page's side bar)
  7. User can see images and styled format context on individual blog page
  8. User can see default/blank image if blog has empty/invalid image set in backend
  9. Pages should be mobile/tablet/iPad/Laptop friendly
  10. Navigation bar menu has background styling

How to test :

  1. Go to marketingWebsite project on your local machine
  2. Run git fetch if you don't have blogs branch yet
  3. Run git checkout blogs to switch the branch
  4. Run git pull origin blogs to pull latest updates
  5. Run pip install -r requirements.txt to install the new required packages
  6. Run python manage.py collectstatic to collect all the new static files
  7. Run python manage.py runserver to start the server
  8. Go to browser: http://127.0.0.1:8000/ see if blogs shown on header menu
  9. Click blogs tab on header menu see if all blogs loaded properly
  10. Login to http://127.0.0.1:8000/admin, post some new blog articles Note Login credential should be available on 1password app The image column value is used for displaying blog image on blogs page Currently we load the image from static path on the server Ideally we will use boto3 URi path for image column value in the future It's not allowed to upload image yet
  11. Go to blogs page on the website, click around and refresh
  12. Check if everything works as expected For example: the pagination, search, filter, newsletter subscription, mobile/tablet friendly etc.
  13. Check on http://127.0.0.1:8000/admin to see if you can upload image by browsing Note Make sure you copy the images to /static/media/uploads/
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/blocpower/marketingWebsite!9
Source branch: blogs