Closed
Bug 70362
Opened 24 years ago
Closed 24 years ago
Convert PageInfo to tabbed panels
Categories
(SeaMonkey :: Page Info, enhancement)
SeaMonkey
Page Info
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: thayes0993, Assigned: thayes0993)
Details
Attachments
(6 files)
|
1.02 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.74 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.35 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.53 KB,
text/plain
|
Details | |
|
5.96 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.98 KB,
patch
|
Details | Diff | Splinter Review |
In order to allow other modules to add content to the pageinfo display, the
basic structure should be changed to provide tabs for accessing specific
information. Hooks should be provided to allow modules to add panels by
overlay and to call javascript in the overlay when the page info is displayed.
| Assignee | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
| Assignee | ||
Comment 3•24 years ago
|
||
+ if (window.arguments != null) {
use
if ("arguements" in window)
other comparisons (a != null) can be written as (a)
ps what's xcollapsed?
Assignee: asa → thayes
Component: Browser-General → XP Apps: GUI Features
QA Contact: doronr → sairuh
Comment 5•24 years ago
|
||
I haven't tried the patch, but what happens if a page doesn't have forms -- is
the forms tab disabled, removed, or left there? What should happen?
Comment 6•24 years ago
|
||
Ack there is a problem. Daniel Brooks is already working on the new page info
and has all of this working plus much more. The tracking bug is bug 52730, but
we haven't added anything in that bug yet. The latest snaphshot of the new Page
Info can be found at db48x.hypermart.net/pageinfo/
Comment 7•24 years ago
|
||
Oh..., that's cool. That'll let you show any tab to start out with. Not sure
exactly how you propose to go about lettign other modules add their own tabs,
but I'll have to look up how overlays work, seems like that's the key.
As for duplication of work, well, there isn't really much in the way of that
here. I can let you patch that part in as soon as everything else is done, or we
can combine the two, whichever. Easiest and cleanest for you to make your own
patch, as you've done here, but against whatever finally gets used elsewhere.
/me hurridly adds ids to all the tabs... :)
| Assignee | ||
Comment 8•24 years ago
|
||
| Assignee | ||
Comment 9•24 years ago
|
||
| Assignee | ||
Comment 10•24 years ago
|
||
I'd like to get review on these patches to enable the security work. I believe
that bug 52730 can build on these basic changes, which adds the following:
+ tabs
+ selection of tab at window open
+ overlay capability for other modules
+ registration of onLoad handler for other modules
Please review and approve. Who should super-review?
Updated•24 years ago
|
Comment 11•24 years ago
|
||
looks good. only one thing: it crashes patch on my machine. probably nothing,
I'm probably doing something wrong.
Comment 12•24 years ago
|
||
I'm curious. Can you give a couple of examples of modules, which would add tabs
other than those already specified in the spec for bug 52730?
Comment 13•24 years ago
|
||
Theses changes are for psm. The security tab will be done with an overlay.
That's the only module I know of at the moment, but any of them could add to it
if they like.
| Assignee | ||
Comment 14•24 years ago
|
||
I don't have any additions to the list. The reason for doing this work now is
to enable us to add the Security tab without depending on work for other
features in the pageinfo window. In addition, the code for providing
information about security is best placed in the security module itself, which
is why these changes are designed to provide the overlay capabilities.
I'd rather see a framework put in place sooner, rather than wait for a single
landing that provides everything in one (large) implementation file.
Comment 15•24 years ago
|
||
Well, just applied this to my mac tree. Looks ok. r=pchen
Comment 16•24 years ago
|
||
sr=alecf - looks cool!
Comment 17•24 years ago
|
||
This was fixed, right? Can we close this?
Comment 18•24 years ago
|
||
yep, page info now has the tabbed ui.
| Assignee | ||
Comment 19•24 years ago
|
||
| Assignee | ||
Comment 20•24 years ago
|
||
New patch (attached) to fix a merge error (within 1 hour of my previous
changes). Please ignore the XUL changes.
Request review (pchen) and super-review (alecf).
Status: NEW → ASSIGNED
Comment 21•24 years ago
|
||
What issue does this patch address?
Please don't check in the pageInfo.xul change - you don't need the .pageinfo
as for the window.arguments thing, care to explain why you need to change that?
| Assignee | ||
Comment 22•24 years ago
|
||
pageInfo.xul will not be checked in.
My original change to pageInfo.js added an optional argument to this dialog that
specified the id of the tab to select. The idea is to use this argument for
selecting the security tab when this window is opened from the lock icon. The
tab name was arguments[0] in the original code.
1 hour after my checkin, someone added a different use for arguments[0]. I'm
resolving this conflict by moving the tab name to arguments[1].
Comment 23•24 years ago
|
||
thanks for the explanation - good to have these things recorded somewhere :)
sr=alecf (and thanks for the clearer comment in the patch, as well!)
Comment 24•24 years ago
|
||
yea, this is needed for bug 70632. I was going to fix it a different way though.
At any rate, this is the most straitforward way to fix it now.
| Assignee | ||
Comment 25•24 years ago
|
||
Fix in last patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Apps: GUI Features → Page Info
QA Contact: sairuh → pmac
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•