<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #978: Web UI for Resource Extras</title>
    <link>http://localhost/ticket/978</link>
    <description>&lt;p&gt;
Following on from &lt;a class="closed ticket" href="http://localhost/ticket/826" title="enhancement: Resource 'extra' fields (closed: fixed)"&gt;#826&lt;/a&gt; - we can configure some extra fields in resources and can edit them in the Web UI, but we can't create new columns in the Web UI. This ticket is to allow this.
&lt;/p&gt;
&lt;p&gt;
Implementation
==============
I envisage a 'add column' button that allows you to add this a property to all resources in a package. I'd rather not have a sub-form as that could be logistically difficult. You could either make the 'extra' column titles editable or provide a button to edit them.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/978</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Fri, 11 Feb 2011 13:19:30 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/978#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/978?action=diff&amp;amp;version=1"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Sat, 27 Aug 2011 00:27:38 GMT</pubDate>
      <title>repo, theme set</title>
      <link>http://localhost/ticket/978#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;repo&lt;/strong&gt;
                set to &lt;em&gt;ckan&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;theme&lt;/strong&gt;
                set to &lt;em&gt;none&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Suggest we either a) get rid of columnar layout or b) (preferable) get a dedicated page for resource. That way summary on package page just shows main attributes.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Fri, 30 Dec 2011 15:34:26 GMT</pubDate>
      <title>summary changed</title>
      <link>http://localhost/ticket/978#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;Web UI for Resource Extras&lt;/em&gt; to &lt;em&gt;Edit Resource Extras in Web UI&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Think this should be part of a larger refactor of resource editing now that &lt;a class="closed ticket" href="http://localhost/ticket/1445" title="enhancement: Resource View page in WUI (closed: fixed)"&gt;#1445&lt;/a&gt; (resource page in WUI) is done
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Mon, 06 Feb 2012 12:12:18 GMT</pubDate>
      <title>status, milestone changed; owner set</title>
      <link>http://localhost/ticket/978#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;zephod&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-backlog&lt;/em&gt; to &lt;em&gt;current-ckan-sprint-2012-02-20&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Mon, 06 Feb 2012 12:13:45 GMT</pubDate>
      <title>summary changed</title>
      <link>http://localhost/ticket/978#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;Edit Resource Extras in Web UI&lt;/em&gt; to &lt;em&gt;Edit Resource including Extras in Web UI&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Mon, 06 Feb 2012 12:14:19 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/978#comment:6</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:6</guid>
      <description>
        &lt;p&gt;
We already have basic editing in the Resource section of dataset edit. However, need to extend this to additional fields such as webstore_url and "extras".
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Fri, 10 Feb 2012 12:15:17 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/978#comment:7</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/978?action=diff&amp;amp;version=7"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>zephod</dc:creator>

      <pubDate>Mon, 27 Feb 2012 13:17:59 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/978#comment:8</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:8</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/978?action=diff&amp;amp;version=8"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>zephod</dc:creator>

      <pubDate>Mon, 27 Feb 2012 13:19:40 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/978#comment:9</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:9</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/978?action=diff&amp;amp;version=9"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>zephod</dc:creator>

      <pubDate>Wed, 29 Feb 2012 20:23:32 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/978#comment:10</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:10</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/978?action=diff&amp;amp;version=10"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>zephod</dc:creator>

      <pubDate>Wed, 29 Feb 2012 20:26:21 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/978#comment:11</link>
      <guid isPermaLink="false">http://localhost/ticket/978#comment:11</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
This was not trivial to implement. The backend supports arbitrary key/value pairings on resources, and the frontend can now handle this. Add, edit and delete resource extras according to the form state.
&lt;/p&gt;
&lt;p&gt;
I had to make a modification to the backend: When saving a resource, you have to submit the complete set of extras. Unsubmitted extras are assumed to be deleted. (This matches the behaviour of the package form).
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="https://github.com/okfn/ckan/commit/a41cd0c9b04c757f5fa37acaba6be71e345a9c1f#L0R39"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/okfn/ckan/commit/a41cd0c9b04c757f5fa37acaba6be71e345a9c1f#L0R39&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>