-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[ARCH] Updated bootstrap to 2.3.1 and less to 1.3.3 (needed for bootstrap) #3996
Conversation
explicitly set margin-top to 0
I added this because somehow the relative path of the WebPlatform logo isn't found.
@WebsiteDeveloper modal windows seem to be broken. If I try to open Brackets > About or File > Extension Manager, I get the backdrop, but no modal window... and then brackets goes into a sort of broken state where none of the menu commands word, and I have to force close it. No errors in the dev console. Mac OS X 10.8.3 |
i already saw that myself, it seems that this is related to the dialog animations. |
+ one UI fix
@TuckerWhitehouse pushed a fix. |
@WebsiteDeveloper looks good! |
@@ -41,7 +41,7 @@ define(function (require, exports, module) { | |||
var inlineEditorTemplate = require("text!InlineDocsViewer.html"); | |||
|
|||
// Load CSS | |||
ExtensionUtils.loadStyleSheet(module, "WebPlatformDocs.less"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed from .less
to .css
? ExtensionUtils.loadStyleSheet()
needs to support loading css or less files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gruehle ExtensionUtils.loadStyleSheet()
does support both css and less files (unless something broke).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its actually not a problem with the function, but with the way less is interpreting the file path of certain urls.
Those urls weren't loaded properly because they did point to an nonexistent file after being processed bei less.
This seems due to a change in Less which changes the handling of relative urls.
I tried finding another workaround but didn't find one for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the url rewriting rules changed in less 1.3.2. Adding rootpath: dir
to the options structure on line 88 of ExtentionUtils.js
solves the problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well thanks, didn't find that out will fix it when i push a bunch of fixes.
Found another one that needs updating: |
And one more: Twipsy. Live Development shows a twipsy when the connection has been severed. Twipsy has been renamed Tooltip, so the live dev code needs to be updated, and |
@DennisKehrig made a number of modifications to Twipsy to deal with our use case. Those would need to be ported to the new version. |
@@ -7,6 +7,6 @@ <h1 class="dialog-title">{{EXTENSION_MANAGER_TITLE}}</h1> | |||
<div class="modal-body no-padding zebra-striped"></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This zebra-striped
should be table-striped
@WebsiteDeveloper Thanks for all of the work on getting LESS and Bootstrap updated! @TuckerWhitehouse and I have been working on the jQuery 2.0 update. We really want to get all of these upgraded packages on master as early as we can to get the most testing on it that we can. To that end, I've put up a branch that has everything integrated (including this pull request): https://github.com/adobe/brackets/tree/jQueryLESSBootstrap Brackets doesn't boot on that branch because of Twipsy (fails on $.browser, which is gone). @WebsiteDeveloper how are your latest fixes coming? I can help out if there's something you haven't gotten to yet, and Glenn will be back around tomorrow. Ideally, we'd merge jQueryLESSBootstrap to master tomorrow. Thanks again! Getting all of these upgrades in this sprint will be great. |
@dangoor all fixes except the replacement of the twipsy plugin should be done. |
Is there a good way too test the appearance and the behavior of the twipsy? |
@WebsiteDeveloper - the easiest way to see the twipsy is to start live development and then show dev tools on the opened page. You will see a twipsy pointing to the live development lightning bolt. For reference, #2178 is the pull request where twipsy was added (and modified). |
@dangoor i would appreciate a bit help with the tooltip, because i currently don't have the time to digg into it. |
@WebsiteDeveloper I've taken a bit of a look. Unfortunately, our changes to twipsy don't cleanly apply to the tooltip. If @gruehle doesn't get to it today, I can take a look Monday morning. Making the tooltip work properly appears to be the big thing keeping the jQueryLESSBootstrap branch from working reasonably well (possibly well enough to merge for testing to begin) |
@DennisKehrig made the original twipsy mods - Dennis, would you have any time to help out with migrating it to Bootstrap 2? |
@njx Not for at least another week, sadly! |
No prob, we'll figure it out :) |
I pushed a fix to the jQueryLESSBootstrap branch. The fix updates the |
@gruehle i agree it makes a lot easiery fix. |
@WebsiteDeveloper - I put up pull request #4054, which supersedes this pull request. It has all of your commits here, plus an upgrade to jQuery 2.0.1. Thanks again for all of your help with this! |
@gruehle finally rebased correctly.
This supersedes #3672.