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

Previous elections pages #518

Merged
merged 32 commits into from
Nov 9, 2023
Merged

Previous elections pages #518

merged 32 commits into from
Nov 9, 2023

Conversation

tomrndom
Copy link
Contributor

  • Reuses template for previous elections pages
  • Generate pages in build time with data from API

ref: https://tipit.avaza.com/project/view/188886#!tab=task-pane&task=3400289

Signed-off-by: Tomás Castillo [email protected]

@tomrndom tomrndom requested a review from smarcet October 18, 2023 10:09
gatsby-node.js Outdated Show resolved Hide resolved
gatsby-node.js Outdated Show resolved Hide resolved
gatsby-node.js Outdated Show resolved Hide resolved
gatsby-node.js Outdated Show resolved Hide resolved
gatsby-node.js Outdated Show resolved Hide resolved
gatsby-node.js Outdated Show resolved Hide resolved
gatsby-node.js Outdated Show resolved Hide resolved
static/admin/config.yml Outdated Show resolved Hide resolved
static/admin/config.yml Outdated Show resolved Hide resolved
static/admin/config.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@smarcet smarcet left a comment

Choose a reason for hiding this comment

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

@tomrndom please review comments
much thanks!

gatsby-node.js Outdated Show resolved Hide resolved
gatsby-node.js Outdated Show resolved Hide resolved
@smarcet smarcet self-requested a review October 24, 2023 13:51
Copy link
Contributor

@smarcet smarcet left a comment

Choose a reason for hiding this comment

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

LGTM
before merge we need to change the branch on CMS config and remove the extra config from .toml file

@iamweswilson
Copy link
Contributor

I updated the CMS and that worked well. I'm not sure if I missed some areas in the CMS, but ran into an inconsistency when clicking through the preview. As you can see in this video, going to "Gold Member Elections" takes you to the right url, but the wrong title. Clicking "Election Details" from that page takes you back to 2023 elections.

recording

Browser metadata
Path:      /election/2023-individual-director-election
Browser:   Chrome 118.0.0.0 on Mac OS 10.15.7
Viewport:  1404 x 1072 @2x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

@smarcet smarcet merged commit dfa6bd8 into master Nov 9, 2023
3 checks passed
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.

3 participants