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

Issue 10915044: support if key is not unique + displaying links

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

Description

Displaying Links 1) Changed the item trail to show the value/id (filter modified as per the requirement) 2) Search results show value normally and on-mouse-hovering show the fullname. 3) Added code for the case when field is not a unique identifier, render the results using a link_list.

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 24

Patch Set 3 : HTML is now valid :D & improved themes/__init__.py funcs .. #

Total comments: 12

Patch Set 4 : Removed tpy0s #

Patch Set 5 : updated behaviour for default ns. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -31 lines) Patch
M MoinMoin/apps/frontend/views.py View 1 2 3 2 chunks +12 lines, -2 lines 0 comments Download
M MoinMoin/items/__init__.py View 1 2 3 5 chunks +12 lines, -5 lines 0 comments Download
MoinMoin/templates/common.js View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M MoinMoin/templates/layout.html View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M MoinMoin/templates/link_list_no_item_panel.html View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M MoinMoin/themes/__init__.py View 1 2 3 4 5 chunks +46 lines, -8 lines 1 comment Download
M MoinMoin/themes/_tests/test_navi_bar.py View 1 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 9
ana.balica
https://codereview.appspot.com/10915044/diff/1/MoinMoin/templates/common.js File MoinMoin/templates/common.js (right): https://codereview.appspot.com/10915044/diff/1/MoinMoin/templates/common.js#newcode232 MoinMoin/templates/common.js:232: $(document).ready(function(){ Regarding the js style of this document - ...
10 years, 10 months ago (2013-07-03 21:34:55 UTC) #1
ashu1461
https://codereview.appspot.com/10915044/diff/7001/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): https://codereview.appspot.com/10915044/diff/7001/MoinMoin/items/__init__.py#newcode155 MoinMoin/items/__init__.py:155: item = flaskg.storage.get_item(**fqname.query) made a method 'query' of CompositeName ...
10 years, 10 months ago (2013-07-04 00:20:56 UTC) #2
Thomas.J.Waldmann
https://codereview.appspot.com/10915044/diff/7001/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): https://codereview.appspot.com/10915044/diff/7001/MoinMoin/items/__init__.py#newcode158 MoinMoin/items/__init__.py:158: fqname = item.fqname and what if not? https://codereview.appspot.com/10915044/diff/7001/MoinMoin/items/__init__.py#newcode255 MoinMoin/items/__init__.py:255: ...
10 years, 10 months ago (2013-07-13 15:43:25 UTC) #3
ana.balica
https://codereview.appspot.com/10915044/diff/7001/MoinMoin/templates/link_list_no_item_panel.html File MoinMoin/templates/link_list_no_item_panel.html (right): https://codereview.appspot.com/10915044/diff/7001/MoinMoin/templates/link_list_no_item_panel.html#newcode10 MoinMoin/templates/link_list_no_item_panel.html:10: <li><a class="moin-fqname" href="{{ url_for('frontend.show_item', item_name=item_name) }}" fqname={{item_name}}>{{ item_name.value }}</a></li> ...
10 years, 10 months ago (2013-07-14 10:56:55 UTC) #4
ashu1461
https://codereview.appspot.com/10915044/diff/7001/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): https://codereview.appspot.com/10915044/diff/7001/MoinMoin/items/__init__.py#newcode158 MoinMoin/items/__init__.py:158: fqname = item.fqname On 2013/07/13 15:43:25, Thomas.J.Waldmann wrote: > ...
10 years, 10 months ago (2013-07-17 02:37:58 UTC) #5
Thomas.J.Waldmann
https://codereview.appspot.com/10915044/diff/24002/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): https://codereview.appspot.com/10915044/diff/24002/MoinMoin/apps/frontend/views.py#newcode364 MoinMoin/apps/frontend/views.py:364: item_name=item_name) do these 2 make sense if it's not ...
10 years, 10 months ago (2013-07-17 11:16:33 UTC) #6
ashu1461
https://codereview.appspot.com/10915044/diff/24002/MoinMoin/items/__init__.py File MoinMoin/items/__init__.py (right): https://codereview.appspot.com/10915044/diff/24002/MoinMoin/items/__init__.py#newcode259 MoinMoin/items/__init__.py:259: The Field is not a UFILED(unique Field). On 2013/07/17 ...
10 years, 10 months ago (2013-07-17 17:42:23 UTC) #7
Thomas.J.Waldmann
https://codereview.appspot.com/10915044/diff/24002/MoinMoin/themes/__init__.py File MoinMoin/themes/__init__.py (right): https://codereview.appspot.com/10915044/diff/24002/MoinMoin/themes/__init__.py#newcode98 MoinMoin/themes/__init__.py:98: breadcrumbs.append((fq_ns, fq_ns, False)) but if you have a non-default ...
10 years, 10 months ago (2013-07-17 22:46:18 UTC) #8
Thomas.J.Waldmann
10 years, 10 months ago (2013-07-19 20:48:42 UTC) #9
https://codereview.appspot.com/10915044/diff/54001/MoinMoin/themes/__init__.py
File MoinMoin/themes/__init__.py (right):

https://codereview.appspot.com/10915044/diff/54001/MoinMoin/themes/__init__.p...
MoinMoin/themes/__init__.py:97: fq_segment = CompositeName(u'', NAME_EXACT,
namespace or '~')
doesn't that really USE ~ ? i meant just displaying ~ but use ""
Sign in to reply to this message.

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