-
Notifications
You must be signed in to change notification settings - Fork 50
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 organizer logo to event pages #3530
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if I like the addition of the author's profile picture, since I don't think it is really needed, and I don't like "their face" becoming the face of the event, if that makes any sense ..
I think making group logos more visible is a nice touch though! 💯
Design-wise, I like the concept, and it's nice to have a visual connection to the organizer. |
I vouch for adding it on hover. You can find the email by clicking on the link and going to the group page. I think people will manage fine. |
329330a
to
a105fd8
Compare
@Arashfa0301 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the addition, but I think it has to be implemented in a generic and extendible way if it should be done
60e1dc1
to
08605f6
Compare
I have now removed it. |
<Link to={groupLink} className={styles.organizerLogo}> | ||
{groupLink && ( | ||
<Tooltip | ||
key={event.responsibleGroup.id} | ||
content={event.responsibleGroup.name} | ||
> | ||
<CircularPicture | ||
alt={event.responsibleGroup.name} | ||
src={event.responsibleGroup.logo} | ||
size={40} | ||
/> | ||
</Tooltip> | ||
)}{' '} | ||
{event.responsibleGroup.contactEmail && ( | ||
<a href={`mailto:${event.responsibleGroup.contactEmail}`}> | ||
{event.responsibleGroup.contactEmail} | ||
</a> | ||
)} | ||
</span> | ||
{event.responsibleGroup.name} | ||
</Link> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm is the tooltip really needed now that the name is next to the image? I suggest either removing it or putting the email address inside.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I shall remove it. The email looks very weird inside it 👍
08605f6
to
a105fd8
Compare
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 7.34.0 to 7.36.0. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](getsentry/sentry-javascript@7.34.0...7.36.0) --- updated-dependencies: - dependency-name: "@sentry/integrations" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
They had different paddings and margins, causing the "Påmeldinger" header to be pushed further up than the other headers. Resolves ABA-248
- Icons in the table header did not match the text color - Give delete icon a confirm modal for safety purposes - Delete icon was not centered
a105fd8
to
7cc0b2e
Compare
4a11693
to
38ca4f2
Compare
38ca4f2
to
9fa98ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I like the change. You need to rebase this though, and there are a few changes that seem unrelated to the PR though, perhaps left in accidentally from a merge conflict?
@@ -315,26 +317,24 @@ export default class EventDetail extends Component<Props, State> { | |||
} | |||
: null, | |||
]; | |||
|
|||
c; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c;
@@ -34,7 +34,7 @@ | |||
"@loadable/component": "^5.15.3", | |||
"@reduxjs/toolkit": "^1.9.2", | |||
"@sentry/browser": "^7.36.0", | |||
"@sentry/integrations": "^7.34.0", | |||
"@sentry/integrations": "^7.36.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this relevant to this PR?
<ConfirmModalWithParent | ||
title="Bekreft handling" | ||
message={`Er du sikker på at du vil fjerne token?`} | ||
onConfirm={() => props.deleteOAuth2Grant(grant.id)} | ||
closeOnCancel | ||
> | ||
<Icon name="trash-outline" size={20} className={styles.deleteIcon} /> | ||
</Tooltip> | ||
<Tooltip content="Fjern" style={{ marginTop: '-7px' }}> | ||
<Icon | ||
name="trash-outline" | ||
size={18} | ||
className={styles.deleteIcon} | ||
/> | ||
</Tooltip> | ||
</ConfirmModalWithParent> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a nice change, but it's not really relevant to the PR? At least mention it in the description
Description
Added organiser logo to event pages for user eye satisfaction and increased organiser pride. I am open to improvement suggestions. Important to note that the email link is removed since I believe it has minimal importance being here and it could be easily found at group page.
Result
before
after
Testing