git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: chaitanyaa nalla <nallachaitu@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: GSoC idea: adding JavaScript library / framework in gitweb
Date: Sun, 25 Mar 2012 18:55:19 +0100	[thread overview]
Message-ID: <201203251955.21454.jnareb@gmail.com> (raw)
In-Reply-To: <CACeyogdkEdkYa+SQvUq50FU5P7ohq-tLf8tgi1v6o_HMM5bSsg@mail.gmail.com>

On Sun, 25 Mar 2012, chaitanyaa nalla wrote:

> Dear Jakub,
> 
> if we handle the sorting of the tables on the client side itself,
> will that be a  load on the browser?

Well, if it turns out to be too heavy a load, we can use the same trick
of "timed array processing":

  http://www.nczonline.net/blog/2009/08/11/timed-array-processing-in-javascript/

See for example this page to see sorttable in action:

  http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities

> Other ideas which I have in mind are
> 
> 1. Highligting matched portions of project name while searching the
>    project name, even more intuitively

You probably couldn't have known that match highlighting in project
search is done on server side by gitweb.cgi since commit 6759f95
(Merge branch 'jn/gitweb-hilite-regions', 2012-03-04):

  gitweb: Highlight matched part of shortened project description
  gitweb: Highlight matched part of project description when searching projects
  gitweb: Highlight matched part of project name when searching projects

It is not used by either git.kernel.org or repo.or.cz because it is
too fresh (it is to be in yet to be released v1.7.10).

> 2. project pagination.

Is there any sense in pagination on client side?  Unless you turn it into
lazy loading / loading on demand Ajax-y pagination...


Yet another idea is to implement creating side-by-side diff from unified
diff in JavaScript, so that swicthing between unified and side-by-side
diff view could be done entirely client-side, without hitting the server.


Note however that I think that it wouldn't be possible in time given to
implement all those ideas.  You need to select those of them that you
will put in project application.

-- 
Jakub Narebski
Poland

  reply	other threads:[~2012-03-25 17:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-24  6:32 gsoc idea adding javascript library / framework in gitweb chaitanyaa nalla
2012-03-24 13:17 ` GSoC idea: adding JavaScript " Jakub Narebski
2012-03-24 16:09   ` chaitanyaa nalla
2012-03-24 16:48     ` chaitanyaa nalla
2012-03-24 18:49     ` Jakub Narebski
2012-03-24 18:57       ` chaitanyaa nalla
2012-03-25  8:31       ` chaitanyaa nalla
2012-03-25 17:55         ` Jakub Narebski [this message]
2012-03-25 18:08           ` chaitanyaa nalla
2012-03-26  0:44             ` Jakub Narebski
     [not found]           ` <CACeyogdhChrGe-k+VLkAzq1F9U1TFYsCN5Kc_u7jAwRhaz+fJQ@mail.gmail.com>
2012-03-27 14:55             ` chaitanyaa nalla
2012-03-27 19:14             ` Jakub Narebski
2012-03-27 20:35               ` chaitanyaa nalla
2012-03-28 10:38                 ` Jakub Narebski
2012-03-28 18:05                   ` chaitanyaa nalla
2012-03-29  9:14                     ` Jakub Narebski
2012-03-29 18:37                       ` chaitanyaa nalla
2012-03-30 13:29                         ` Jakub Narebski
2012-04-01  9:47                           ` chaitanya nalla
     [not found]                       ` <CACeyogeh7SSfx5NPFSt=gDdUzrUj0zxQKh84MDA-dW2e7UNGcw@mail.gmail.com>
2012-03-30 12:56                         ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201203251955.21454.jnareb@gmail.com \
    --to=jnareb@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=nallachaitu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).