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

Feedback improvements #174

Merged
merged 3 commits into from
Feb 22, 2024
Merged

Feedback improvements #174

merged 3 commits into from
Feb 22, 2024

Conversation

atarakanovdes
Copy link
Collaborator

@atarakanovdes atarakanovdes commented Feb 20, 2024

Summary by CodeRabbit

  • New Features
    • Introduced a "Goodies" section promoting QGIS merchandise to support the project.
    • Updated the download page with a new prompt "Before download starts."
    • Added a new supporter block with a link for adding logos in the "QGIS supporters" section.
  • Style Updates
    • Enhanced text alignment and color for supporter links.
    • Improved sidebar and content layout responsiveness and styling across various screen sizes.
    • Updated image display properties and added styles for better visual presentation.
    • Removed the scroll-down section in the banner for a cleaner look.
  • Bug Fixes
    • Removed commas between links in the contribution list for better readability.
  • Documentation
    • Updated button text in the donation prompt to "Skip it and go to download" for clarity.

Add logo to main banner on mobite
Donation page improvements
Copy link
Contributor

coderabbitai bot commented Feb 20, 2024

Walkthrough

The recent updates encompass a range of improvements to the website, focusing on enhancing visual presentation, user experience, and community engagement. Changes include refining list formatting, updating download prompts, introducing merchandise support, and optimizing CSS styles for responsiveness. HTML restructuring enhances clarity in sections like QGIS supporters.

Changes

File Path Change Summary
content/community/involve.md Removed commas between links in a list.
content/download/index.md Updated prompt text to "Before download starts".
content/goodies.md Introduced "Diversity statement" and merchandise section.
themes/.../fund.sass, themes/.../sidebar.sass, themes/.../container.sass, themes/.../image.sass, themes/.../hero.sass, themes/.../style.sass Various CSS updates for styling and responsiveness.
themes/.../banner.html, themes/.../funders-simple.html, themes/.../hide-donate-prompt.html HTML updates for structural clarity and user navigation.

🐰✨
In the web's vast meadow, under the digital sky,
Changes bloom like flowers, catching every eye.
Links unite sans commas, in harmony they stand,
While goodies call to supporters, a merry band.
Through CSS and HTML, a better path we weave,
For every user and supporter, in what we believe.
🌼🌿🖥️

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository from git and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 7

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between d1cd0fe and 5131788.
Files ignored due to path filters (12)
  • static/img/addsupporter.svg is excluded by: !**/*.svg
  • static/img/contributors/hoodie.jpg is excluded by: !**/*.jpg
  • static/img/contributors/qgis-heart-logo.jpg is excluded by: !**/*.jpg
  • static/img/contributors/qgis-q-logo (1).jpg is excluded by: !**/*.jpg
  • static/img/contributors/qgis-q-logo.jpg is excluded by: !**/*.jpg
  • static/img/contributors/qgis-q.jpg is excluded by: !**/*.jpg
  • static/img/contributors/redbubble1.jpg is excluded by: !**/*.jpg
  • static/img/contributors/redbubble2.jpg is excluded by: !**/*.jpg
  • static/img/contributors/redbubble3.jpg is excluded by: !**/*.jpg
  • static/img/contributors/redbubble4.jpg is excluded by: !**/*.jpg
  • static/img/contributors/redbubble5.jpg is excluded by: !**/*.jpg
  • static/img/contributors/thermos.jpg is excluded by: !**/*.jpg
Files selected for processing (12)
  • content/community/involve.md (1 hunks)
  • content/download/index.md (1 hunks)
  • content/goodies.md (1 hunks)
  • themes/hugo-bulma-blocks-theme/assets/sass/bulma/components/fund.sass (1 hunks)
  • themes/hugo-bulma-blocks-theme/assets/sass/bulma/components/sidebar.sass (2 hunks)
  • themes/hugo-bulma-blocks-theme/assets/sass/bulma/elements/container.sass (1 hunks)
  • themes/hugo-bulma-blocks-theme/assets/sass/bulma/elements/image.sass (1 hunks)
  • themes/hugo-bulma-blocks-theme/assets/sass/bulma/layout/hero.sass (2 hunks)
  • themes/hugo-bulma-blocks-theme/assets/sass/style.sass (2 hunks)
  • themes/hugo-bulma-blocks-theme/layouts/partials/banner.html (1 hunks)
  • themes/hugo-bulma-blocks-theme/layouts/partials/funders-simple.html (1 hunks)
  • themes/hugo-bulma-blocks-theme/layouts/shortcodes/hide-donate-prompt.html (1 hunks)
Files skipped from review due to trivial changes (2)
  • content/download/index.md
  • themes/hugo-bulma-blocks-theme/layouts/partials/banner.html
Additional comments: 4
themes/hugo-bulma-blocks-theme/assets/sass/bulma/elements/image.sass (1)
  • 8-13: > 📝 NOTE

This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [1-1]

The modifications to image styles, including the removal of width: 100% for img elements, could impact responsiveness. Test these changes with various content to ensure images display correctly across different devices. Consider conditionally applying width: 100% to maintain responsiveness where necessary.

themes/hugo-bulma-blocks-theme/assets/sass/bulma/components/sidebar.sass (1)
  • 88-96: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [91-116]

The adjustments to padding and margin in the sidebar for screens up to 1023px are likely to improve usability on mobile devices. Test these changes across various screen sizes to ensure they enhance the sidebar's navigability without negatively impacting the layout on larger screens or in different contexts.

themes/hugo-bulma-blocks-theme/assets/sass/bulma/layout/hero.sass (1)
  • 203-223: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [175-222]

The enhancements to the hero section, including adjustments for mobile view and styling changes to elements like .container, .logo, and .label, aim to improve visual impact and readability. Test the hero section's responsiveness and accessibility across various devices to ensure these changes enhance the user experience without compromising usability. Also, verify that the styling changes align with the project's overall design system.

themes/hugo-bulma-blocks-theme/assets/sass/style.sass (1)
  • 24-29: The added styling for .content within .columns under a max-width of 1024px is a good improvement for responsiveness. It ensures that content within columns is displayed as a block on smaller screens, enhancing readability and user experience. This change aligns well with responsive design principles.

Comment on lines 403 to 408
padding: 3px 12px
margin: 0 2px 5px 0px
display: inline-block
text-wrap: nowrap
border-radius: 30px
background: #58963217
Copy link
Contributor

Choose a reason for hiding this comment

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

The styling added for .scroll-on-page elements introduces several properties including padding, margin, display, text-wrap, border-radius, and background color. This styling enhances the visual appeal and readability of scroll-on-page elements, making them more distinct and easier to interact with. However, the text-wrap: nowrap; property might not be valid CSS. The correct property for preventing text wrapping is white-space: nowrap;.

-  text-wrap: nowrap
+  white-space: nowrap

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
padding: 3px 12px
margin: 0 2px 5px 0px
display: inline-block
text-wrap: nowrap
border-radius: 30px
background: #58963217
padding: 3px 12px
margin: 0 2px 5px 0px
display: inline-block
white-space: nowrap
border-radius: 30px
background: #58963217

@@ -1 +1 @@
<button class="button is-info is-inverted" id="hide-donate-prompt" onclick="hidePrompt()">I don’t want to participate</button>
<button class="button is-primary6" id="hide-donate-prompt" onclick="hidePrompt()">Skip it and go to download</button>
Copy link
Contributor

Choose a reason for hiding this comment

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

The button element's update improves clarity for users. However, consider enhancing accessibility by adding an aria-label attribute that describes the button's action, e.g., aria-label="Skip donation prompt and proceed to download". Also, ensure the custom class is-primary6 aligns with the project's styling conventions and is defined in the SASS files.

Comment on lines +16 to +17
+tablet
max-width: $tablet - $container-offset
Copy link
Contributor

Choose a reason for hiding this comment

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

The addition of a max-width for tablets enhances the responsiveness of the container element. Ensure that the $container-offset and $tablet variables are consistently defined and used across the project to maintain styling consistency and readability.

Comment on lines +47 to +50
.add-supporter
a
text-align: center
color: #002033
Copy link
Contributor

Choose a reason for hiding this comment

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

The new style for .add-supporter a selector improves visual consistency. Verify that the color contrast of #002033 meets accessibility standards for text against its background. Also, ensure this style aligns with the project's overall design system for a cohesive user experience.

Comment on lines 1 to 92
---
type: "page"
title: "Diversity statement"
subtitle: ""
draft: false
sidebar: true
---

{{< content-start >}}


Goodies
===========================================

If you are a fan of QGIS, you might want to visit our store so you can buy some momentos to show off your favourite desktop GIS. We have a number of great t-shirts, mugs, hoodies, caps and so on so pay a visit to one of our stores below!

Buying QGIS apparel not only lets you show off the fact that you use QGIS, for every t-shirt sold a commission is given to the QGIS project.


{{< columns-start >}}
{{< column-start class="is-flex-direction-column is-one-third">}}
## Spreadshirt
We co-operate with Spreadshirt. They produce locally and ship the products to all countries in the world.

[https://shop.spreadshirt.net/qgis/](https://shop.spreadshirt.net/qgis/)

{{< column-end >}}

{{< column-start class="is-flex-direction-column is-two-thirds">}}
{{< columns-start >}}
{{< column-start>}}
![QGIS hoodie](img/contributors/hoodie.jpg)
{{< column-end>}}
{{< column-start>}}
![QGIS tshirt](img/contributors/qgis-heart-logo.jpg)
{{< column-end>}}
{{< columns-end >}}

{{< columns-start >}}
{{< column-start>}}
![QGIS mugs](img/contributors/qgis-q-logo.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS thermos](img/contributors/thermos.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS sign](img/contributors/qgis-q.jpg)
{{< column-end>}}
{{< columns-end >}}

{{< column-end >}}
{{< columns-end >}}




{{< columns-start >}}
{{< column-start class="is-flex-direction-column is-one-third">}}
## Redbubble
Some more creative and funny (but unofficial) designs can be found in the Red Bubble store.

[https://www.redbubble.com/shop/qgis](https://www.redbubble.com/shop/qgis)

{{< column-end >}}

{{< column-start class="is-flex-direction-column is-two-thirds">}}
{{< columns-start >}}
{{< column-start>}}
![QGIS hoodie](img/contributors/redbubble1.jpg)
{{< column-end>}}
{{< column-start>}}
![QGIS tshirt](img/contributors/redbubble2.jpg)
{{< column-end>}}
{{< columns-end >}}

{{< columns-start >}}
{{< column-start>}}
![QGIS mugs](img/contributors/redbubble3.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS thermos](img/contributors/redbubble4.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS sign](img/contributors/redbubble5.jpg)
{{< column-end>}}
{{< columns-end >}}

{{< column-end >}}
{{< columns-end >}}


{{< content-end >}}
Copy link
Contributor

Choose a reason for hiding this comment

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

The addition of a "Diversity statement" and promotion of QGIS merchandise is well-structured and enhances community engagement. Ensure all images have descriptive alt text for accessibility. Also, verify that external links to merchandise stores are accessible and reliable to maintain a positive user experience.

Comment on lines +3 to +20
<div class="pb-2">
<h2>
QGIS supporters
</h2>
</div>
<div class="supporters-grid large-grid">
<div class="large-supporter is-vertical is-flex fund-Flagship add-supporter">
<article class="tile is-child box is-transparent is-flex is-justify-content-center is-align-items-center">
<a href="/community/members/sustaining_member/">
<figure>
<img src="{{ .Site.BaseURL }}/img/addsupporter.svg" alt="add supporter">
</figure>
</a>
</article>
<a class="partner-title" href="/community/members/sustaining_member/">
Add your logo here?
</a>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

The restructuring of the "QGIS supporters" section with a clearer heading and an option to add logos is a positive change. Ensure semantic HTML practices are followed, including the use of appropriate headings and accessible links. Also, verify the visual and functional integration of the new supporter block with the existing layout, ensuring it enhances user engagement without compromising accessibility.

@@ -10,7 +10,7 @@ sidebar: true
{{< content-start >}}
## Ways of Contributing

[Participate in Support Channels](#participate-in-support-channels "scroll-on-page"), [Report Bugs](#report-bugs "scroll-on-page"), [QGIS Documentation](#qgis-documentation "scroll-on-page"), [Translate QGIS](#translate-qgis "scroll-on-page"), [Develop a Plugin](#develop-a-plugin "scroll-on-page"), [Develop QGIS Core](#develop-qgis-core "scroll-on-page"), [Sustain & Donate](#sustain--donate "scroll-on-page")
[Participate in Support Channels](#participate-in-support-channels "scroll-on-page") [Report Bugs](#report-bugs "scroll-on-page") [QGIS Documentation](#qgis-documentation "scroll-on-page") [Translate QGIS](#translate-qgis "scroll-on-page") [Develop a Plugin](#develop-a-plugin "scroll-on-page") [Develop QGIS Core](#develop-qgis-core "scroll-on-page") [Sustain & Donate](#sustain--donate "scroll-on-page")
Copy link
Contributor

Choose a reason for hiding this comment

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

Removing commas between links in the list of ways to contribute improves readability and visual appeal. Verify the list's readability and navigability post-change to ensure it aligns with the project's documentation standards and enhances the user experience.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 1

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 5131788 and dd22bb7.
Files ignored due to path filters (11)
  • content/goodies/img/hoodie.jpg is excluded by: !**/*.jpg
  • content/goodies/img/qgis-heart-logo.jpg is excluded by: !**/*.jpg
  • content/goodies/img/qgis-q-logo (1).jpg is excluded by: !**/*.jpg
  • content/goodies/img/qgis-q-logo.jpg is excluded by: !**/*.jpg
  • content/goodies/img/qgis-q.jpg is excluded by: !**/*.jpg
  • content/goodies/img/redbubble1.jpg is excluded by: !**/*.jpg
  • content/goodies/img/redbubble2.jpg is excluded by: !**/*.jpg
  • content/goodies/img/redbubble3.jpg is excluded by: !**/*.jpg
  • content/goodies/img/redbubble4.jpg is excluded by: !**/*.jpg
  • content/goodies/img/redbubble5.jpg is excluded by: !**/*.jpg
  • content/goodies/img/thermos.jpg is excluded by: !**/*.jpg
Files selected for processing (2)
  • content/goodies/index.md (1 hunks)
  • themes/hugo-bulma-blocks-theme/assets/sass/style.sass (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • themes/hugo-bulma-blocks-theme/assets/sass/style.sass
Additional comments: 4
content/goodies/index.md (4)
  • 1-7: The front matter has been updated to include a "Diversity statement" title. Ensure this aligns with the site's content strategy and navigation expectations. The presence of sidebar: true suggests this page will have a sidebar, which is typical for content pages but verify if this fits the design and layout intentions for a diversity statement page.
  • 12-18: The introduction to the "Goodies" section is clear and engaging, effectively communicating the purpose of the merchandise and its benefit to the QGIS project. This is a good practice for encouraging community support through merchandise sales.
  • 20-52: The usage of Hugo shortcodes for layout (columns-start, column-start, column-end, columns-end) is correctly applied to structure the content into columns. However, ensure that the images referenced (e.g., img/hoodie.jpg, img/qgis-heart-logo.jpg) are correctly placed in the site's static assets directory and that their naming convention is consistent with the site's standards.
  • 92-92: The use of {{< content-end >}} correctly signifies the end of the content section. This is a good practice for maintaining a consistent structure across the site's pages.

Comment on lines +57 to +89
{{< columns-start >}}
{{< column-start class="is-flex-direction-column is-one-third">}}
## Redbubble
Some more creative and funny (but unofficial) designs can be found in the Red Bubble store.

[https://www.redbubble.com/shop/qgis](https://www.redbubble.com/shop/qgis)

{{< column-end >}}

{{< column-start class="is-flex-direction-column is-two-thirds">}}
{{< columns-start >}}
{{< column-start>}}
![QGIS hoodie](img/redbubble1.jpg)
{{< column-end>}}
{{< column-start>}}
![QGIS tshirt](img/redbubble2.jpg)
{{< column-end>}}
{{< columns-end >}}

{{< columns-start >}}
{{< column-start>}}
![QGIS mugs](img/redbubble3.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS thermos](img/redbubble4.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS sign](img/redbubble5.jpg)
{{< column-end>}}
{{< columns-end >}}

{{< column-end >}}
{{< columns-end >}}
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to the previous comment, the layout for the Redbubble merchandise section is well-structured using Hugo shortcodes. Again, verify the existence and correct placement of the referenced images in the static assets directory. Additionally, consider adding alt text to the images for improved accessibility and SEO.

- ![QGIS hoodie](img/redbubble1.jpg)
+ ![QGIS hoodie with creative design](img/redbubble1.jpg)
- ![QGIS tshirt](img/redbubble2.jpg)
+ ![QGIS tshirt with funny slogan](img/redbubble2.jpg)

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
{{< columns-start >}}
{{< column-start class="is-flex-direction-column is-one-third">}}
## Redbubble
Some more creative and funny (but unofficial) designs can be found in the Red Bubble store.
[https://www.redbubble.com/shop/qgis](https://www.redbubble.com/shop/qgis)
{{< column-end >}}
{{< column-start class="is-flex-direction-column is-two-thirds">}}
{{< columns-start >}}
{{< column-start>}}
![QGIS hoodie](img/redbubble1.jpg)
{{< column-end>}}
{{< column-start>}}
![QGIS tshirt](img/redbubble2.jpg)
{{< column-end>}}
{{< columns-end >}}
{{< columns-start >}}
{{< column-start>}}
![QGIS mugs](img/redbubble3.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS thermos](img/redbubble4.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS sign](img/redbubble5.jpg)
{{< column-end>}}
{{< columns-end >}}
{{< column-end >}}
{{< columns-end >}}
{{< columns-start >}}
{{< column-start class="is-flex-direction-column is-one-third">}}
## Redbubble
Some more creative and funny (but unofficial) designs can be found in the Red Bubble store.
[https://www.redbubble.com/shop/qgis](https://www.redbubble.com/shop/qgis)
{{< column-end >}}
{{< column-start class="is-flex-direction-column is-two-thirds">}}
{{< columns-start >}}
{{< column-start>}}
![QGIS hoodie with creative design](img/redbubble1.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS tshirt with funny slogan](img/redbubble2.jpg)
{{< column-end >}}
{{< columns-end >}}
{{< columns-start >}}
{{< column-start>}}
![QGIS mugs](img/redbubble3.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS thermos](img/redbubble4.jpg)
{{< column-end >}}
{{< column-start>}}
![QGIS sign](img/redbubble5.jpg)
{{< column-end >}}
{{< columns-end >}}
{{< column-end >}}
{{< columns-end >}}

@dqunbp dqunbp merged commit 8927bd0 into main Feb 22, 2024
1 of 3 checks passed
@dqunbp dqunbp deleted the Feedback-improvments branch March 11, 2024 13:41
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