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

Dashboard repo UI #2278

Closed
Morlinest opened this issue Aug 8, 2017 · 14 comments
Closed

Dashboard repo UI #2278

Morlinest opened this issue Aug 8, 2017 · 14 comments
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.
Milestone

Comments

@Morlinest
Copy link
Member

Morlinest commented Aug 8, 2017

Hi, I have fix for dashboard (show only rendered UI, not vue templates). I've done some improvements, but need to discuss 2 options (or find another one).

Animated GIF of my first variant (I used throttling GPRS in chrome and refresh page few times):
2017-08-08_10-27-17

Second variant (logic is same, but render only 1 mixed list instead of 2):
image

I do not like the mixed version with showed name ("My repositories") and repos count (it counts only my own repos, but showing all available). In this variant can be shown total repos found (after filter/search) or total count (when filter is empty). One of this method can be used also for showing "Show more repositories..." link.

What do you think?

Recap of questions:

  1. Show 1 mixed list or 2 lists of repositories (my own and available)
  2. If showing 1 mixed list:
    a. Naming - is "My Repositories" ok?
    b. Counter - show number of all repositories based on last search (= dynamic value) or show number of all available repositories (= static value, number can be saved from first/every empty search)
  3. "Show more repositories..." link - show based on total count or filtered count
@lunny lunny added type/proposal The new feature has not been accepted yet but needs to be discussed first. topic/ui Change the appearance of the Gitea UI labels Aug 8, 2017
@lunny lunny added this to the 1.x.x milestone Aug 8, 2017
@lunny
Copy link
Member

lunny commented Aug 8, 2017

1 and 2: Show 1 mixed list, but we can learn something from Github
-1

We can also add a submenu on My Repositories which have three menus, All, Sources, Collbrative

3: I think the number should be a static value of all repositories. We haven't a My Repositories page, so "Show more repositories..." is no need currently.

@Morlinest
Copy link
Member Author

Morlinest commented Aug 8, 2017

1: Github shows 2 lists, "Repositories you contribute to" and "Your repositories". Second one has few filters, that can be easily added later.
2: OK, static value.
3: That link is not new, it is in code (it's pointing to user page, with search box and sort options).

@lunny
Copy link
Member

lunny commented Aug 9, 2017

  1. Yes, I mean the second one, "Repositories you contribute to" will not be implemented, we can ignore that currently.

@Morlinest
Copy link
Member Author

@lunny OK

What type of filter is Sources?

@lunny
Copy link
Member

lunny commented Aug 9, 2017

Sources mean all the repositories in your name except mirrors, forks. It's the same concept as Github.

@Morlinest
Copy link
Member Author

Morlinest commented Aug 9, 2017

What do you think about this?

1.)
image

or

image

2.)
image

First one is without any css modification (pure semantic ui classes), second one with 2 new classes (not expert in semantic ui, I could not find better solution = any help is welcome :)).

@lafriks
Copy link
Member

lafriks commented Aug 9, 2017

I like second one better

@Morlinest
Copy link
Member Author

@lunny If you like it, I can send PR with changes.

Animated gif (with throttling):
2017-08-09_15-23-13

Animated gif (full speed):
2017-08-09_15-26-24

@Morlinest
Copy link
Member Author

Added Forks filter

image

@lafriks
Copy link
Member

lafriks commented Aug 9, 2017

Sure send PR and than we can probably help also with semantic ui css :)

@lunny
Copy link
Member

lunny commented Aug 9, 2017

@Morlinest Please do it. I wish it could be merged into v1.2 and then the PR will also fix #2114 and replace #2205

@lunny
Copy link
Member

lunny commented Aug 9, 2017

But maybe lack of some codes on search condition about collobratives on #2205.

@pgaskin
Copy link
Contributor

pgaskin commented Aug 9, 2017

I like the third one

@lunny lunny modified the milestones: 1.2.0, 1.x.x Aug 17, 2017
@lunny
Copy link
Member

lunny commented Aug 17, 2017

closed by #2285

@lunny lunny closed this as completed Aug 17, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

4 participants