couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2206) Changes UI update
Date Tue, 01 Apr 2014 18:53:18 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956899#comment-13956899
] 

ASF GitHub Bot commented on COUCHDB-2206:
-----------------------------------------

Github user robertkowalski commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/202#discussion_r11175175
  
    --- Diff: src/fauxton/app/addons/documents/templates/changes.html ---
    @@ -12,27 +12,57 @@
     the License.
     -->
     
    -<table id="changes-table" class="table">
    -  <thead>
    -    <th id="seq"> seq </th>
    -    <th> id </th>
    -    <th id="changes"> changes </th>
    -    <th id="deleted"> deleted? </th>
    -  </thead>
    -  <tbody>
    -  <% _.each(changes, function (change) { %>
    -    <tr>
    -      <td> <%= change.seq %> </td>
    -      <% if (change.deleted) { %>
    -        <td> <%= change.id %> </td>
    -      <% } else { %>
    -        <td> <a href="#<%= database.url('app') %>/<%= change.id %>"><%=
change.id %></a> </td>
    -      <% } %>
    -        <td> 
    -          <pre class="prettyprint">  <%- JSON.stringify({changes: change.changes,
doc: change.doc}, null, " ") %> </pre>
    -      </td>
    -      <td><%= change.deleted ? "true" : "false" %></td>
    -    </tr>
    -  <% }); %>
    -  </tbody>
    -</table>
    +<% _.each(changes, function (change) { %>
    +  <div class="change-wrapper">
    +    <div class="change-box">
    +      <div class="row-fluid">
    +        <div class="span2">
    +          seq
    +        </div>
    +        <div class="span8">
    +          <%= change.seq %>
    +        </div>
    +        <div class="span2">
    +          <a class="js-copy" data-clipboard-text="<%= change.seq %>" data-bypass="true"
href="#">
    +            <i class="icon-share"></i>
    +          </a>
    +        </div>
    +      </div>
    +      <div class="row-fluid">
    +        <div class="span2">
    +          id
    +        </div>
    +        <div class="span8">
    +          <% if (change.deleted) { %>
    +            <%= change.id %>
    +          <% } else { %>
    +            <a href="#<%= database.url('app') %>/<%= change.id %>"><%=
change.id %></a>
    --- End diff --
    
    Good catch! Thank you!


> Changes UI update
> -----------------
>
>                 Key: COUCHDB-2206
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2206
>             Project: CouchDB
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Sue Lockwood
>            Assignee: Robert Kowalski
>         Attachments: Screen Shot 2014-03-22 at 9.46.15 AM.png, Screen Shot 2014-03-22
at 9.46.38 AM.png
>
>
> The changes UI needs some serious love. 
> The new UI improvements are being broken down into parts so that we can get them into
master easier.  I have screenshots of just what the changes page UI should look like. 
> I cropped out the sidebar and header for now, since those changes are being made in a
different branch and are used all over the site. They should be in soon. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message