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 organizer logo to event pages #3530

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

Conversation

Arashfa0301
Copy link
Contributor

@Arashfa0301 Arashfa0301 commented Feb 7, 2023

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
image

after
image

Testing

  • I have thoroughly tested my changes on mobile and window views

@Arashfa0301 Arashfa0301 added discussion Pull requests that needs discussions, e.g. regarding controversial/big changes review-needed Pull requests that need review small-fix Pull requests that fix something small labels Feb 7, 2023
Copy link
Member

@ivarnakken ivarnakken left a 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! 💯

app/routes/events/components/EventDetail/index.tsx Outdated Show resolved Hide resolved
app/routes/events/components/EventDetail/index.tsx Outdated Show resolved Hide resolved
@danielyanghansen
Copy link
Member

Design-wise, I like the concept, and it's nice to have a visual connection to the organizer.
However, I feel it's important to keep the email address there somehow, as this is important for the participants to know who to contact.
Maybe show the email on hover?

@ivarnakken
Copy link
Member

However, I feel it's important to keep the email address there somehow, as this is important for the participants to know who to contact.
Maybe show the email on hover?

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.

@ivarnakken
Copy link
Member

@Arashfa0301
Remember to rebase from master instead of merging master into your working branch.

Copy link
Contributor

@erlingfn erlingfn left a 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

app/routes/events/components/EventDetail/index.tsx Outdated Show resolved Hide resolved
app/routes/events/components/EventDetail/index.tsx Outdated Show resolved Hide resolved
@Arashfa0301 Arashfa0301 force-pushed the add-organizer-logo branch 2 times, most recently from 60e1dc1 to 08605f6 Compare February 15, 2023 17:32
@Arashfa0301
Copy link
Contributor Author

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! 💯

I have now removed it.

Comment on lines 330 to 337
<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>
Copy link
Member

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.

Copy link
Contributor Author

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 👍

dependabot bot and others added 3 commits February 18, 2023 14:41
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
@Arashfa0301 Arashfa0301 self-assigned this Feb 18, 2023
@ivarnakken ivarnakken added the do-not-merge/WIP Pull requests that are "work in progress", and should not be merged label Feb 19, 2023
Copy link
Member

@eikhr eikhr 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! 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;
Copy link
Member

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",
Copy link
Member

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?

Comment on lines +94 to +107
<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>
Copy link
Member

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

@LudvigHz LudvigHz removed their request for review November 27, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Pull requests that needs discussions, e.g. regarding controversial/big changes do-not-merge/WIP Pull requests that are "work in progress", and should not be merged review-needed Pull requests that need review small-fix Pull requests that fix something small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants