Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4138)

Issue 109730047: Improved search GUI (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by ajgupta93
Modified:
9 years, 10 months ago
Reviewers:
thomas.j.waldmann, RogerHaase
Visibility:
Public.

Description

Improved search GUI

Patch Set 1 #

Patch Set 2 : Added displaying of ACL rights for a user for each item #

Patch Set 3 : Corrected the comment for get_acl_rights() in themes\__init__.py #

Patch Set 4 : Removed inline css from ajaxsearch.html #

Patch Set 5 : Added advanced search options #

Patch Set 6 : Added translation for get_acl_rights and added comments for newly defined functions #

Patch Set 7 : Removed unncessary variable from env_filters #

Total comments: 17

Patch Set 8 : Added css to common files and fixed pep8 errors #

Patch Set 9 : Added common.css and fixed small indentation error in foobar css file #

Patch Set 10 : Removed inline css from search.html #

Total comments: 25

Patch Set 11 : Shifted suggestions above search options and changed option names #

Patch Set 12 : Made changes according to previous comments #

Patch Set 13 : Changed variable names from "mtime" to "time_sorting" at a couple of places missed in the last patch #

Total comments: 1

Patch Set 14 : Changed Or in _filter to Or and And #

Total comments: 7

Patch Set 15 : imported colors from color_palette.styl and changed moin-searchoption-bar to moin-search-option-bar #

Patch Set 16 : Added variables in moin-variables.less #

Total comments: 3

Patch Set 17 : removed if expression: sthng = true; else: sthg = false; antipattern, and fixed indentation in moin… #

Total comments: 8

Patch Set 18 : Removed instances of advanced and removed allrev = false #

Unified diffs Side-by-side diffs Delta from patch set Stats (+395 lines, -96 lines) Patch
M MoinMoin/apps/frontend/views.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +67 lines, -3 lines 0 comments Download
M MoinMoin/constants/contenttypes.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +85 lines, -0 lines 0 comments Download
M MoinMoin/search/__init__.py View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
A MoinMoin/static/css/common.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +51 lines, -0 lines 0 comments Download
M MoinMoin/static/js/search.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +24 lines, -9 lines 0 comments Download
M MoinMoin/templates/ajaxsearch.html View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +30 lines, -29 lines 0 comments Download
M MoinMoin/templates/base.html View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M MoinMoin/templates/search.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +41 lines, -1 line 0 comments Download
M MoinMoin/themes/__init__.py View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +15 lines, -20 lines 0 comments Download
M MoinMoin/themes/basic/static/css/basic.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +11 lines, -0 lines 0 comments Download
M MoinMoin/themes/basic/static/custom-less/basic.less View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +11 lines, -0 lines 0 comments Download
M MoinMoin/themes/basic/static/custom-less/moin-variables.less View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +6 lines, -0 lines 0 comments Download
M MoinMoin/themes/basic/templates/layout.html View 1 2 3 4 5 6 7 2 chunks +14 lines, -12 lines 0 comments Download
M MoinMoin/themes/foobar/static/css/common.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -4 lines 0 comments Download
M MoinMoin/themes/foobar/static/css/stylus/main.styl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +12 lines, -6 lines 0 comments Download
M MoinMoin/themes/modernized/static/css/common.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -4 lines 0 comments Download
M MoinMoin/themes/modernized/static/css/stylus/color_palette.styl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M MoinMoin/themes/modernized/static/css/stylus/main.styl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 13
RogerHaase
https://codereview.appspot.com/109730047/diff/120001/MoinMoin/constants/contenttypes.py File MoinMoin/constants/contenttypes.py (right): https://codereview.appspot.com/109730047/diff/120001/MoinMoin/constants/contenttypes.py#newcode107 MoinMoin/constants/contenttypes.py:107: u'application/pdf':'PDF' this seems like a duplication of things defined ...
9 years, 11 months ago (2014-06-10 21:15:55 UTC) #1
ajgupta93
https://codereview.appspot.com/109730047/diff/120001/MoinMoin/constants/contenttypes.py File MoinMoin/constants/contenttypes.py (right): https://codereview.appspot.com/109730047/diff/120001/MoinMoin/constants/contenttypes.py#newcode107 MoinMoin/constants/contenttypes.py:107: u'application/pdf':'PDF' On 2014/06/10 21:15:54, RogerHaase wrote: > this seems ...
9 years, 11 months ago (2014-06-11 09:22:17 UTC) #2
RogerHaase
Please run ./ tests. Don't add to this changeset, but your future plans should consider ...
9 years, 11 months ago (2014-06-12 04:27:32 UTC) #3
RogerHaase
Found one more nitpicky issue. https://codereview.appspot.com/109730047/diff/120001/MoinMoin/themes/foobar/static/css/common.css File MoinMoin/themes/foobar/static/css/common.css (right): https://codereview.appspot.com/109730047/diff/120001/MoinMoin/themes/foobar/static/css/common.css#newcode454 MoinMoin/themes/foobar/static/css/common.css:454: }.moin-suggestions{color:#f90;display:inline;padding-left:4px} Just one more ...
9 years, 11 months ago (2014-06-12 20:00:51 UTC) #4
Thomas.J.Waldmann
note: i focussed on the python code. https://codereview.appspot.com/109730047/diff/180001/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): https://codereview.appspot.com/109730047/diff/180001/MoinMoin/apps/frontend/views.py#newcode273 MoinMoin/apps/frontend/views.py:273: Add various ...
9 years, 10 months ago (2014-06-14 19:18:43 UTC) #5
ajgupta93
https://codereview.appspot.com/109730047/diff/180001/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): https://codereview.appspot.com/109730047/diff/180001/MoinMoin/apps/frontend/views.py#newcode302 MoinMoin/apps/frontend/views.py:302: _filter = Or(_filter) On 2014/06/14 19:18:42, Thomas.J.Waldmann wrote: > ...
9 years, 10 months ago (2014-06-18 17:50:00 UTC) #6
Thomas.J.Waldmann
again, i concentrated on the .py stuff https://codereview.appspot.com/109730047/diff/180001/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): https://codereview.appspot.com/109730047/diff/180001/MoinMoin/apps/frontend/views.py#newcode302 MoinMoin/apps/frontend/views.py:302: _filter = ...
9 years, 10 months ago (2014-06-19 16:38:42 UTC) #7
RogerHaase
https://codereview.appspot.com/109730047/diff/260001/MoinMoin/static/css/common.css File MoinMoin/static/css/common.css (right): https://codereview.appspot.com/109730047/diff/260001/MoinMoin/static/css/common.css#newcode1 MoinMoin/static/css/common.css:1: .moin-suggestions { add a comment at top to say ...
9 years, 10 months ago (2014-06-20 14:15:22 UTC) #8
Thomas.J.Waldmann
maybe remember that this is a typical antipattern you should avoid: if expression: something = ...
9 years, 10 months ago (2014-06-23 12:56:18 UTC) #9
Thomas.J.Waldmann
https://codereview.appspot.com/109730047/diff/320001/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): https://codereview.appspot.com/109730047/diff/320001/MoinMoin/apps/frontend/views.py#newcode274 MoinMoin/apps/frontend/views.py:274: in the advanced search options. still "advanced"? i told ...
9 years, 10 months ago (2014-06-23 14:03:44 UTC) #10
Thomas.J.Waldmann
9 years, 10 months ago (2014-06-23 16:41:17 UTC) #11
ajgupta93
https://codereview.appspot.com/109730047/diff/320001/MoinMoin/constants/contenttypes.py File MoinMoin/constants/contenttypes.py (right): https://codereview.appspot.com/109730047/diff/320001/MoinMoin/constants/contenttypes.py#newcode108 MoinMoin/constants/contenttypes.py:108: } On 2014/06/23 14:03:44, Thomas.J.Waldmann wrote: > btw, where ...
9 years, 10 months ago (2014-06-25 18:17:19 UTC) #12
RogerHaase
9 years, 10 months ago (2014-06-25 20:37:24 UTC) #13
There are still some minor problems, but as this is better than what we have and
your patch is already too big, commit and work on the small issues later...

1. it is not obvious to click on search options bar to expand/contract
(glyphicons not working)

2. when I click Markup Text checkbox the All checkbox does not get unchecked.

3. if I uncheck All, the list of hits does not zero
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b