cgaspard / mantiskanban

Mantis Kanban that uses ajax and mantisconnect
45 stars 33 forks source link

See All Proiect #50

Open dinamoq opened 8 years ago

dinamoq commented 8 years ago

Hi. I want to see all proiect .what i have to modify? Thanks.

morrison23 commented 7 years ago

Would like to see if this is possible as well. Thanks!

alorenc commented 7 years ago

At the moment there is no such possibility.

He tried to e-doceo resolve its distribution. But it does not work. Maybe one day I'll do it, but now I do not have the time and motivation.

bullarni commented 7 years ago

Is this issue referring to projects being inaccessible from the "Select Project" drop down list when the user has access to so many projects that the drop down list extends past the fold of the browser? Or is it something completely different?

Olibad commented 7 years ago

Hi, I have the same question. I can't see all projects because there isn't any scrollbar.

Olibad commented 7 years ago

I added style="height: 800px; overflow: auto" inside ul div, in file index.html, line 71 : `

cgaspard commented 7 years ago

If you submit a merge request, I'll pull it in after review.

Thanks

Corey Gaspard MyGait LLC http://www.mygait.com Cell: 281.794.2576

On Mon, Mar 27, 2017 at 11:30 AM, Olibad notifications@github.com wrote:

I added style="height: 800px; overflow: auto" inside ul div, in file index.html, line 71 :

Now, I have the scrollbar in my project list.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cgaspard/mantiskanban/issues/50#issuecomment-289508068, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuU-nEmdSFQ4u2bU9OScFr5DxPoOOWKks5rp-QdgaJpZM4HnIkc .

bullarni commented 7 years ago

We did something similar. I recommend changing the height to max-height so that users with only a few projects don't see an unnecessarily long drop down with just a few entries in it.

That will create an accessible menu for most devices. To improve this to work better across different screen sizes you can add the following (untested) JavaScript:

$(function(){    
    function setProjListHeight(){
        $("#projectlist").css({'max-height' : $("#contentarea").height() + 'px'});
    }

    $(window).on('resize', function () {
        setProjListHeight();
    });
    setProjListHeight();
});

That script will allow you to make the most of the available height in your browser for the project list and will continue to work if you happen to resize your browser to less than 800px high.

Not sure where the best place to add this script would be.

Olibad commented 7 years ago

I had your proposition in a merge request.

Cordialement,

Olivier Badet

De : bullarni [mailto:notifications@github.com] Envoyé : mardi 28 mars 2017 02:46 À : cgaspard/mantiskanban Cc : BADET, Olivier; Comment Objet : Re: [cgaspard/mantiskanban] See All Proiect (#50)

We did something similar. I recommend changing the height to max-height so that users with only a few projects don't see an unnecessarily long drop down with just a few entries in it.

That will create an accessible menu for most devices. To improve this to work better across different screen sizes you can add the following (untested) JavaScript:

$(function(){

function setProjListHeight(){

    $("#projectlist").css({'max-height' : $("#contentarea").height() + 'px'});

}

$(window).on('resize', function () {

    setProjListHeight();

});

setProjListHeight();

});

That script will allow you to make the most of the available height in your browser for the project list and will continue to work if you happen to resize your browser to less than 800px high.

Not sure where the best place to add this script would be.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/cgaspard/mantiskanban/issues/50#issuecomment-289628545, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZemb-sqrB1y8soRfvTDLzP-w0fGRz4Eks5rqFgrgaJpZM4HnIkc.