Skip to content

Help text for foundation Meeting model fields #1945

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

FarhanAliRaza
Copy link

fixes #1464
image
image
image
image

@bmispelon bmispelon requested a review from knyghty March 4, 2025 19:34
@bmispelon
Copy link
Member

Hi and thanks for opening this PR! 🎸

I've tagged our current secretary as a reviewer to get an opinion on the wording since those changes are mostly for their benefit I believe.

Note also that the automated tests are currently failing, it seems it's because you didn't include the missing migration files for the foundation app.

@knyghty
Copy link
Member

knyghty commented Mar 4, 2025

The wording seems alright to me.

One thing, I'm not too sure if https://www.djangoproject.com/styleguide/content/ is kept up to date, but Thibaud seemed to think it was good enough so it's probably better than nothing.

I'll defer to others but I'm also not sure how we feel about having style elements in HTML (if we hope to use CSP some day) or having colours without using CSS variables.

Copy link
Member

@sabderemane sabderemane left a comment

Choose a reason for hiding this comment

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

Looks good, thank you Farhan! I added some questions related to the appearance and style.

Comment on lines +4 to +16
.meeting-warning {
background: #fff3cd;
border: 2px solid #ffeeba;
border-radius: 4px;
color: #856404;
margin: 1em 0;
padding: 1em;
font-size: 1.1em;
font-weight: 500;
}
.meeting-warning::before {
content: "⚠️ ";
}
Copy link
Member

Choose a reason for hiding this comment

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

Could we have this in the dedicated style folder instead? or this will not work?

Copy link
Author

@FarhanAliRaza FarhanAliRaza May 5, 2025

Choose a reason for hiding this comment

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

That will not work because I am overriding the admin template form.For it to work, I think I will have to add compiled SCSS to the base admin template. That may break other styles as well because now, SCSS is compiled to one big output.css file.

Comment on lines +5 to +6
background: #fff3cd;
border: 2px solid #ffeeba;
Copy link
Member

Choose a reason for hiding this comment

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

How does it render in light theme?

Copy link
Author

Choose a reason for hiding this comment

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

image

@FarhanAliRaza FarhanAliRaza requested a review from sabderemane May 5, 2025 11:25
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.

Help text for foundation Meeting model fields
4 participants