Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Quicklinks in widget panel #15

Open
mattiagalati opened this issue Oct 9, 2017 · 8 comments
Open

Show Quicklinks in widget panel #15

mattiagalati opened this issue Oct 9, 2017 · 8 comments

Comments

@mattiagalati
Copy link

The old and deprecated Quick Links widget provided by Gmail Labs was placed in a dedicated panel and activated by clicking on the three-dot icon on the bottom of the left panel.
This was very useful if one had a large amount of labels, since the widget panel is indipendent from the label tree.
Unfortunately, your Quick Links widget show at the bottom of label tree so the tree should be manually adjusted in height in order to make your widget always visible.

@kevinwucodes
Copy link
Owner

I'll do some research on this. I think the Ellipsis menu comes from Gmail, so I would likely need to recreate that menu if the widget panel isn't enabled.

@hotmachiato
Copy link

I have a large label tree structure too and I always have to navigate on the pane above the fold to expose the Quick Links Widget. I found the Gmail label column resizer extension helps a bit in this respect, but it doesn't do exactly what I want

@fastcat
Copy link

fastcat commented Dec 7, 2017

Poking in my gmail view, the bar at the bottom with the various icons is a div with class="J-KU-Jg J-KU-Jg-Zc aj5". Within that there are the gmail-core items, but then there's another currently non-visible div with class="J-KU" and various other attrs labeling this as "Gadgets". Within it is a single empty div with class="aj4".

If I enable the Google Calendar lab, so that there's a Gadget to show, then the outer div gets an additional class J-KU-KO added and becomes visible, along with the inner aj4 div which is the "..." button.

The Google Calendar widget is:

  • div class="T0 pp saH2Ef aj3"
    • div class="ApVoH"
      • div class="r" -- this one contains the widget title and little "-" button to collapse it
      • div class="pt" -- this one contains the main calendar widget

There's a bunch of id="..." attrs on these. It looks like additional widgets would be placed before/after the Calendar widget inside the ApVoH div.

Does this help?

@kevinwucodes
Copy link
Owner

@fastcat yes, this does! I took another look and I think this is now doable

@kevinwucodes
Copy link
Owner

This should hit Chrome and Firefox shortly

@fastcat
Copy link

fastcat commented Dec 9, 2017

Whee :)

Slightly unfortunate it can't trigger the widgets panel to be visible on its own ... Turning on the Calendar widget just to relocate this widget is a little counter-intuitive ;)

@kevinwucodes
Copy link
Owner

I'll take another look

@kevinwucodes kevinwucodes reopened this Dec 9, 2017
@fastcat
Copy link

fastcat commented May 7, 2018

This is yet more relevant in the new GMail UI, IMO -- positioning the inserted quick links panel above the Inbox and whatnot is frustratingly disruptive to the UI layout, at least to my eye.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants