Closed (fixed)
Project:
Glossary
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Nov 2004 at 20:25 UTC
Updated:
3 Dec 2004 at 14:15 UTC
Jump to comment: Most recent file
I would like some feedback on the attached patch.
This patch reimplements the alphabet bar.
User interface changes:
Internal enhancements:
This patch fixes issues 12936, 10645 and 9457.
Note: only toplevel (level 0) terms are indexed.
Future possible improvements (but they would have to be discussed):
Thanks for any feedback,
Frodo
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | alphabar-version2.patch | 3.39 KB | Frodo Looijaard |
| alphabar.patch | 2.46 KB | Frodo Looijaard |
Comments
Comment #1
slower commentedWonderful. Works just as it should.
One comment: I would suggest actually listing each letter in the alpha bar, but only linking those that had terms associated with them. It looks a little strange to see "a | b | c | d | e | i | l | m | n | o | p | s | t" for the uninitiated. Hopefully the theme would make it more than obvious which letters were "clickable" and which were "empty." I suppose you could even add a span with a title tag to the unlinked letters to say something like "No terms for this letter."
Keep up the great module!
Comment #2
moshe weitzman commentedmatt's suggestion is an excellent (with or without the tooltip). please add that and then commit.
Comment #3
Frodo Looijaard commentedOK, I have committed this to CVS, minus the tooltips.
If there is any term starting with a letter (a-z, case insensitive), all letters are generated in the alphabar.
If there is any term starting with a digit (0-9), all digits are generated in the alphabar.
Adding more rules like this is as easy as extending an array.
I have attached the patch I used for your information.
Let me know if you find any problems!
Thanks for the feedback,
Frodo
Comment #4
(not verified) commented