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

Insert ui divider directly in templates instead of from inside heatmap vue component #11508

Merged

Conversation

wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf
Copy link
Contributor

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 image
to image
effectively reverting 6ccd19e (which introduced this).

Thanks a lot for your work.
Cheers.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 19, 2020
@6543
Copy link
Member

6543 commented May 19, 2020

@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]>
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels May 19, 2020
@mrsdizzie
Copy link
Member

mrsdizzie commented May 19, 2020

edit: I originally misread description 👓

@wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf
Copy link
Contributor Author

I don't think removing one line and adding one line is going to leave you with a different amount of lines.

If you are adding a new divider to the dasbhoard template you should remove the one here which is the 2nd one you are seeing I'd guess:

<div class="ui divider"></div>

Maybe that line is showing up for some not all -- I don't currently see 2 lines on master do you see this @6543 ?

This is what the original idea behind 6ccd19e might have looked like.
image

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.
Although it seems it has just been resolved in a more elegant manner ( 95a6bca ) - edit: this might actually apply to another page.

Copy link
Member

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

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 19, 2020
Copy link
Contributor

@CirnoT CirnoT left a 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]>
@a1012112796
Copy link
Member

a1012112796 commented May 19, 2020

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]>
@mrsdizzie
Copy link
Member

Good, I'm sorry for my fault. Maybe you should choose a better title for this pull request. Thanks

No worries it all leads to a better fix : )

@wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf changed the title ui: remove the divider between heatmap and feeds in the dashboard view Insert ui divider directly in templates instead of from inside heatmap vue component May 19, 2020
@techknowlogick techknowlogick added the topic/ui Change the appearance of the Gitea UI label May 19, 2020
@techknowlogick techknowlogick added this to the 1.13.0 milestone May 19, 2020
@zeripath zeripath merged commit a2d7999 into go-gitea:master May 19, 2020
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
…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]>
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants