Constance - Make tea, not war (camomiletea) wrote in suggestions,
Constance - Make tea, not war

Make accessible some (limited) information about currently-selected tag

Make accessible some (limited) information about currently-selected tag

Short, concise description of the idea
It would be nifty if it was possible in S2 to access the information about the tag you are viewing; that is, for example, to append the name of the tag to the title of a page like*+basic+tutorials

Full description of the idea
I imagine it similar to the friends filters on the friends page. There are two members of FriendsPage class for the filter information, from core:

var bool filter_active
"If true, some kind of filter is in effect. If this filter has a name, it will be included in [member[FriendsPage.filter_name]]";

var string filter_name
"The name of the filter in effect, if it has a name. This is only used when 'custom' [member[FriendsPage.filter_active]] is true.";

This permits the styles to append the title of the friends page with the appropriate friends group, you are currently viewing. You can see immediately that you are viewing a filter and which one.

Similarly, I think that it would be beneficial to provide this sort of information for the tag you are currently viewing, so you can immediately tell you are viewing a tag (not just a simple Recent entries page), and which tag in particular.

An ordered list of benefits
  • Less confusion - it would be possible to see immediately you are viewing a tag, not all the entries.
  • Consistency with handling friends filters.
  • Useful categorization.

An ordered list of problems/issues involved
  • Needs to be implemented carefully in case in future (as it was planned?) it would be possible to select two or more tags at the same time.

An organized list, or a few short paragraphs detailing suggestions for implementation
  • Implement it similarly to friends filters. Add two members to the RecentPage class - one to tell if you are viewing a tag and another to tell which tag (or tags).
Tags: s2, styles, tags, § migrated
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded