Bug 1064593 - RFE: Ask topic type and format when creating new topic
Summary: RFE: Ask topic type and format when creating new topic
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.5
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-12 23:05 UTC by Lee Newson
Modified: 2014-05-01 21:39 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-01 21:39:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Lee Newson 2014-02-12 23:05:20 UTC
Currently when you create a new topic you need to manually select the Topic Type and Format, then in some cases delete the initial template and insert a correct one. As such we should be asking users the information initially and then presenting a useful template for them to use.

Examples:

- DocBook 5.0 template should have the default namespaces.
- Revision History topics should have the base appendix/revhistory setup.
- Author Groups should be an <authorgroup> block instead of a <section>
- Legal Notice should be a <legalnotice> block instead of a <section>
- Abstract should be an <abstract> block instead of a <section>

Comment 1 Lee Newson 2014-03-30 13:02:07 UTC
Added in 1.5-SNAPSHOT build 201403281527

Clicking the "Create Topic" button in either the menu of search results panel will now open a Dialog box which asks the user the following:

- Topic Title
- Topic Format
- Topic Type
- Topic Locale

From the above values a template is then selected and used to provide a more accurate template. To do this a number of new server entities have been added to the RESTServerEntitiesV1 representation that define the new templates.

Note: This version is currently live on the test/development server.

Comment 2 Matthew Casperson 2014-03-30 21:34:17 UTC
Confirmed that topics created with the tag templates work correctly.

I assume tags like "Content Specification" will be removed from the topic types category on the prod server with the upgrade to prevent them from showing up in this wizard?

Comment 3 Lee Newson 2014-03-30 22:07:59 UTC
Yeah that was the plan, I just couldn't do it before because of BZ#1079172.

Comment 4 Matthew Casperson 2014-03-30 22:11:47 UTC
The info template should be changed to:

<sectioninfo>
    <abstract>
        <para></para>
    </abstract>
    <keywordset>
        <keyword></keyword>
    </keywordset>
</sectioninfo>

I was caught out adding text directly to the abstract.


Note You need to log in before you can comment on or make changes to this bug.