-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Insert ui divider directly in templates instead of from inside heatmap vue component #11508
Insert ui divider directly in templates instead of from inside heatmap vue component #11508
Conversation
* this commit reverses 6ccd19e Signed-off-by: surtur <[email protected]>
@a1012112796 introduced it in #11437 Instead od adding a devider to vue we could put it specific in the home template? |
* another one-line change, this time as a direct complement of 2bfc716 to implement a divider of sorts (as per 6ccd19e originally) Signed-off-by: surtur <[email protected]>
edit: I originally misread description 👓 |
This is what the original idea behind 6ccd19e might have looked like. The only issue was it introduced a double-separator appearance in the "Public Activity" of the dashboard, as per the image in the very top of the conversation. This PR should fix that. It's more like showing the line only where it should be, rather than removing it altogether. |
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 think this is right to remove the divider out of vue code and into template where it originally was supposed to be -- this makes #11510 not necessary then too
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.
Awaiting removal of broken divider from user/dashboard/heatmap.tmpl
as discussed on Discord
* the separator is added by partial templates as needed Signed-off-by: surtur <[email protected]>
Good, I'm sorry for my fault. Maybe you should choose a better title for this pull request. Thanks |
* as discussed in Discord * includes a divider of its own Signed-off-by: surtur <[email protected]>
No worries it all leads to a better fix : ) |
…p vue component (go-gitea#11508) * ui: remove the divider between heatmap and feeds in the dashboard view * this commit reverses 6ccd19e Signed-off-by: surtur <[email protected]> * add a divider to the default user dashboard view * another one-line change, this time as a direct complement of 2bfc716 to implement a divider of sorts (as per 6ccd19e originally) Signed-off-by: surtur <[email protected]> * removed the divider in heatmap.tmpl * the separator is added by partial templates as needed Signed-off-by: surtur <[email protected]> * load proper dashboard template code in profile.tmpl * as discussed in Discord * includes a divider of its own Signed-off-by: surtur <[email protected]>
Hello there,
This change removes a redundant divider line that sits between the user heatmap and the feeds in the user dashboard view's "Public Activity" tab, so that we could move
from
to
effectively reverting 6ccd19e (which introduced this).
Thanks a lot for your work.
Cheers.