Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configurable search view, threadline formatting #397

Closed
quite opened this issue Mar 7, 2012 · 4 comments
Closed

configurable search view, threadline formatting #397

quite opened this issue Mar 7, 2012 · 4 comments

Comments

@quite
Copy link
Contributor

quite commented Mar 7, 2012

I would like to be able to configure search view; the order which items appear, item maximum (and possibly fixed) width. A tentative approach to configuration, which would make current authors_maxlength and display_content_in_threadline options obsolete:

search_threads_format = date,count,tags,authors<30,subject,content

"<30" meaning keep length of this item at 30 characters or less (like current authors_maxlength=30)
(ok, if it's slightly non-mathematical, maybe "<31" should be the equivalent of authors_maxlength=30 :)

"=30" would mean to keep this item fixed at 30 characters.

I thought that the choice of alignment (left or right) could be left for the code to make reasonable decisions about.

Thoughts on this?

@pazz
Copy link
Owner

pazz commented Mar 7, 2012

cf #23 and #24

@quite
Copy link
Contributor Author

quite commented Mar 7, 2012

Yes I have read those, I was thinking about the configuration now.... But maybe its waste of time, and a pure columnbased layout that adapts each columns to its widest row would solve everything without need for customization, except order and perhaps some kind of weight.

@pazz
Copy link
Owner

pazz commented Mar 7, 2012

no? i thought you overlooked those. i agree that we do need such a configurable threadline at some point.
have you seen the hook idea in #23 ? we could also come up with some format for the config as you suggest
and make a custom validator check for this..

@pazz
Copy link
Owner

pazz commented Jul 7, 2012

took a while, and is not completely ready yet: (tags and docs missing) but
https://github.com/pazz/alot/tree/0.3.1-theming

@pazz pazz closed this as completed Jul 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants