Skip to content

[harmony] Bug 1983391: Add a donation banner to the home page#156

Open
justdave wants to merge 1 commit into
mainfrom
bug-1983391-harmony
Open

[harmony] Bug 1983391: Add a donation banner to the home page#156
justdave wants to merge 1 commit into
mainfrom
bug-1983391-harmony

Conversation

@justdave

@justdave justdave commented Jul 1, 2026

Copy link
Copy Markdown
Member

Details

Adds a donation banner to the front page, per the specification in Bug 1983391 comment 3

Light mode:
Screenshot_2026-07-01_at_5 12 36_AM

Dark mode:
Screenshot_2026-07-01_at_5 09 55_AM

The "call to action" message at the top is randomly picked from the following list:

use constant BANNER_MESSAGES => (
  'Help us make Bugzilla better more often.',
  'A small donation helps keep Bugzilla moving forward.',
  'Support the people who keep Bugzilla running.',
  'Even a little funding helps Bugzilla improve more quickly.',
  'If Bugzilla helps your team, consider helping Bugzilla too.',
);

I'm open to suggestion for messaging in there.
It could use a real graphic on the left, too. Buggie holding a wad of cash? @hellcp

The administrative params screen linked to in the bottom of that banner:
Screenshot 2026-07-01 at 5 28 52 AM

The end-user preferences screen:
Screenshot 2026-07-01 at 5 34 36 AM

Additional info

Test Plan

  1. Fired up Bugzilla using the docker image, and played around.

@justdave justdave requested review from dannycolin and mrenvoize July 1, 2026 11:25
@dannycolin

Copy link
Copy Markdown
Contributor

No strong feeling if we keep the current list of options but it might be better to have less. For example,

  • Remind me later (default: 1 month)
  • Pick a date...
  • Never...

Feel free to file a follow-up bug to explore this option if you consider it low priority for the next release ;)

Comment thread skins/standard/global.css
Comment on lines +1102 to +1104
border: 1px solid rgb(var(--accent-color-green-1));
border-radius: 5px;
background: rgb(var(--accent-color-green-1));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In dark mode, the contrast ratio is too low. We have two options:

  1. Use --accent-color-lightgreen-1 for the border and background color
  2. Use --accent-color-green-1 with color: #000 !important

I, personally, find option 1 more aesthitically more pleasing.

</td>
</tr>
<tr>
<td><label for="donate_banner_reminder_date">Date:</label></td>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

When the date is non-specific, we should disable the datepicked to remove any confusion.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants