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

Add budget component #1979

Merged
merged 27 commits into from
Nov 7, 2024
Merged

Add budget component #1979

merged 27 commits into from
Nov 7, 2024

Conversation

andrewleith
Copy link
Member

@andrewleith andrewleith commented Oct 23, 2024

Summary | Résumé

This PR adds the new "budget" component to Notify. Designs are here

Component description

This component displays the number of remaining notifications (either SMS or email) that the user has left for both the day and the year. The component uses a status indicator to convey when users are getting close to their limits (80%). When a service gets to their limit, additional messages are displayed. The component can also display using a text-only and a text-only with emoji mode.

Component states

Below limits

image

Near limits

image

At daily limit

image

At both limits

image

Text-only

image

Text-only with emojis

image

Copy link

@andrewleith andrewleith marked this pull request as ready for review October 25, 2024 12:43
app/__init__.py Show resolved Hide resolved
app/templates/views/styleguide.html Outdated Show resolved Hide resolved
app/templates/views/welcome.html Outdated Show resolved Hide resolved
app/templates/views/welcome.html Outdated Show resolved Hide resolved
@andrewleith andrewleith merged commit 35b037d into main Nov 7, 2024
11 checks passed
@andrewleith andrewleith deleted the feat/budget-component branch November 7, 2024 17:54
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