-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: simplify sponsor box #5466
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
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/3k61ezqy9 |
Codecov Report
@@ Coverage Diff @@
## development #5466 +/- ##
===============================================
+ Coverage 23.71% 23.75% +0.04%
===============================================
Files 498 498
Lines 5255 5246 -9
Branches 44 44
===============================================
Hits 1246 1246
+ Misses 4003 3994 -9
Partials 6 6
Continue to review full report at Codecov.
|
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.
<div class="header">{{t 'Event sponsors'}}</div> | ||
</div> | ||
<div class="content"> | ||
<div class="content" style="width:94%;margin-left:3%;"> |
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.
Why the need for inline styles?
app/controllers/events/view/index.js
Outdated
// @action | ||
// editSponsor() { | ||
// this.transitionToRoute('events.view.edit.sponsors'); | ||
// } |
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.
Delete the commented lines please
@maze-runnar Please check the comments from @mariobehling and me about spacing and inline styles. Please try to reduce request review cycles |
I know it is for overriding CSS, but it shouldn't be needed |
Code looks good to me. Please resolve conflicts |
I see the non-functional search box we already got rid of is back. It seems like you are working on different versions, cause I do not see it in your screenshot. |
@iamareebjamal i have already used 15 wide column class, now for this I have to add |
Go ahead |
@iamareebjamal what about this? the space is kind of fix for every table. |
Yes, reduce it for every table please |
Screenshot? Also I think the only thing which was needing change was pagination padding, what effect does changing table padding have in other sections of the site? |
According to your screenshots you are working with outdated code, which is confusing for me when I review it. So, I am updating the branch. |
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.
There are few small issues. Maybe it is difficult for you to see it, but usually from a design perspective across all boxes the spacing of the heading and text should be the same. Below table spacing should be the same as the spacing of the heading. I tried to show it in my previous screenshot. I do not know how to make it clearer.
Could you also please do the following, please:
- Delete the column "Level" (sorry for the addition, but looking over it carefully, it does not really seem necessary here)
- Make the "Name" column wider. We have lots of space left on the right-hand side.
- Ensure the list really only shows the number of sponsors that are chosen: Here it shows "10", but 11 sponsors are shown in the box. There is an error somewhere.
@mariobehling Are you talking about the space between the navigation panel and the end of the table? That is part of the table UI and independent of the sponsors section. The space was already reduced and can be reduced further, but it'll stay independent of the space above the table, and for example, look different in other parts of the UI. So, we can make it look equal here but then it'll make it look unequal in other parts of the UI wherever the table is used, so it's a question of trade-off and we can only use a constant spacing in the component. About the 11 sponsors, that is another issue but can be taken in this as well, but it is not a UI change mentioned in the issue or something which broke due to these changes. |
@iamareebjamal I will file a separate issue later about standardization of design on dashboard. Thanks for taking in things that were not in the original issue! Appreciate it. |
Fixes #5462
Checklist
development
branch.