Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(114)

Issue 12734043: Renamed tabs and upadated content (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by huwshimi
Modified:
10 years, 8 months ago
Reviewers:
rharding, mp+179630, gary.poster
Visibility:
Public.

Description

Renamed tabs and upadated content Notes that changes were made from: * Change the Quality tab to Features * Remove qualitative number ("16/33") from the top of the Features tab * Remove the red x's from the Features tab * Change the Interfaces tab name to Related charms * Change the source tab to Code * The styling of the code on the hooks page is wrong and should be like the styling of code on readme pages Along with changing the tab names I updated the urls but this will have implications for exisiting links. We can keep the urls the same but it might seem a bit strange for things like "Features" linking to a url with "#quality". https://code.launchpad.net/~huwshimi/juju-gui/more-iom-changes/+merge/179630 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : Renamed tabs and upadated content #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -50 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/subapps/browser/browser.js View 1 1 chunk +16 lines, -2 lines 0 comments Download
M app/subapps/browser/templates/browser_charm.handlebars View 1 6 chunks +8 lines, -8 lines 0 comments Download
M app/subapps/browser/templates/browser_qa.handlebars View 1 2 chunks +18 lines, -14 lines 0 comments Download
M app/subapps/browser/views/charm.js View 4 chunks +4 lines, -4 lines 0 comments Download
M lib/views/browser/charm-full.less View 1 6 chunks +12 lines, -12 lines 0 comments Download
M lib/views/browser/main.less View 1 1 chunk +2 lines, -1 line 0 comments Download
M lib/views/browser/vars.less View 1 1 chunk +2 lines, -0 lines 0 comments Download
M test/test_browser_charm_details.js View 5 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 5
huwshimi
Please take a look.
10 years, 8 months ago (2013-08-12 06:26:01 UTC) #1
gary.poster
LGTM. Please feel free to land after addressing my concerns. The branch I mention (lp:~gary/juju-gui/more-iom-changes/) ...
10 years, 8 months ago (2013-08-13 00:44:23 UTC) #2
huwshimi
Please take a look.
10 years, 8 months ago (2013-08-13 02:36:48 UTC) #3
huwshimi
On 2013/08/13 00:44:23, gary.poster wrote: > LGTM. Please feel free to land after addressing my ...
10 years, 8 months ago (2013-08-13 02:40:42 UTC) #4
rharding
10 years, 8 months ago (2013-08-13 11:08:04 UTC) #5
I'll take a look, but I bet the issue with the clicking an old link was that the
activeTab work isn't fail-safe. 

      if (this.get('activeTab')) {
        this.get('container').one(
            '.tabs a[href="' + this.get('activeTab') + '"]').get(
            'parentNode').simulate('click');
      }

I'll bet there was an exception thrown because there was no node to get the
parentNode and click on. This probably caused the loading overlay to never stop
or something. 

I'd rather we make this safe than add in complex redirect logic mapping the old
tabs to new. It seems like clutter for little gain. If we keep it, then we
should add tests for the new code we're supporting.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b