Skip to content

Add Add & Discuss Buttons#8

Merged
MrHinsh merged 6 commits intomainfrom
update-with-add-button
Jun 7, 2025
Merged

Add Add & Discuss Buttons#8
MrHinsh merged 6 commits intomainfrom
update-with-add-button

Conversation

@MrHinsh
Copy link
Owner

@MrHinsh MrHinsh commented Jun 7, 2025

✨ feat(site): add obituary submission link

  • update hugo.yaml to include addObituaryUrl parameter
  • add "Add an Obituary" button in index.html with link to GitHub issues template

🐛 fix(site): update GitHub edit URL

  • change editURL in hugo.yaml to point to new repository location

- update hugo.yaml to include addObituaryUrl parameter
- add "Add an Obituary" button in index.html with link to GitHub issues template

🐛 fix(site): update GitHub edit URL

- change editURL in hugo.yaml to point to new repository location
Copilot AI review requested due to automatic review settings June 7, 2025 10:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new “Add an Obituary” submission button to the homepage and updates the site’s GitHub edit URL.

  • Introduce addObituaryUrl param in hugo.yaml and update editURL to the new repo
  • Add an “Add an Obituary” button in index.html linking to the GitHub issues template

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
site/layouts/index.html Inserted “Add an Obituary” button and merged sort logic with section tag
site/hugo.yaml Updated editURL to point at new repo and added addObituaryUrl param
Comments suppressed due to low confidence (2)

site/layouts/index.html:12

  • Add a UI or integration test to verify that the 'Add an Obituary' button renders correctly and navigates to the configured URL.
<a href="{{ site.Params.addObituaryUrl}}" class="btn btn-secondary mb-3">

site/hugo.yaml:20

  • Update the project’s configuration docs to explain the new addObituaryUrl parameter and how to override it.
addObituaryUrl: "https://github.com/MrHinsh/killed-by-scrumorg/issues/new?template=add-an-obituary.yml"

@github-actions
Copy link

github-actions bot commented Jun 7, 2025

Azure Static Web Apps: Your stage site is ready! Visit it here: https://lemon-stone-0045b7f10-8.centralus.6.azurestaticapps.net

MrHinsh added 3 commits June 7, 2025 12:33
- create copilot-instructions.md with guidelines for GitHub Copilot usage
- include build commands, project structure, and key features

✨ feat(discussions): automate GitHub discussions creation

- add Create-GitHubDiscussions.ps1 script to automate discussion creation
- update register.json with discussionId and discussionUrl fields

✨ feat(site): integrate GitHub discussions in site

- update index.html to include discussion buttons
- add githubRepo parameter in hugo.yaml for configuration
- adjust HTML structure for better readability
- ensure consistent spacing and indentation

♻️ refactor(powershell): simplify data file update process

- remove backup creation to prevent Hugo conflicts
- streamline data saving with proper formatting
- Refine project overview to clarify tracked entities as discontinued initiatives, tools, and programs
- Enhance GitHub Discussions integration section with detailed workflow and prerequisites
- Update data format and key features with new requirements and functionality
- Add technical details and guidelines for contributing and development process

🔧 chore(register.json): remove redundant discussionUrl fields

- Simplify JSON structure by removing discussionUrl fields
- Maintain only discussionId for linking to GitHub discussions

💄 style(baseof.html): add Font Awesome script for icons

- Include Font Awesome script to support new icons in the website layout

💄 style(index.html): enhance obituary action buttons with icons

- Update "Add Obituary" button with scythe and plus icons for visual clarity
- Modify discussion link to construct URL using discussionId instead of discussionUrl
@github-actions
Copy link

github-actions bot commented Jun 7, 2025

Azure Static Web Apps: Your stage site is ready! Visit it here: https://lemon-stone-0045b7f10-8.centralus.6.azurestaticapps.net

- change buttons to use outline styles for a cleaner look
- adjust button size to small for improved design consistency
@github-actions
Copy link

github-actions bot commented Jun 7, 2025

Azure Static Web Apps: Your stage site is ready! Visit it here: https://lemon-stone-0045b7f10-8.centralus.6.azurestaticapps.net

@MrHinsh MrHinsh merged commit fbab16b into main Jun 7, 2025
4 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.

2 participants