Powerpack 2

@Kevin_Murray & @Christian1

you can test 2.3.0

Thanks. Even better, @Piotr.

Thanks @Piotr. You are great. :slight_smile:

:innocent:

Hi @Piotr One issue I am having with Powerpack (2.3.0) is that I am no long able to drag/drop my bookmarks to reorder them. After dragging to reorder a bookmark, the tree view collapses and when I reopen it, the list reverts back to the same order. I tried disabling Agenda & Omni Panel, but no luck. Anyone else having a similar issue?

ā€œAttach bookmarks as filters to corresponding documentsā€ is the only feature that manipulate bookmarks and you canā€™t reorder them when itā€™s enabled.

Ok, thanks. Iā€™ll review my set up again and see if I can determine if this is the issue.

PP is working in Firefox on Android (can you install Firefox on iOS?) when wrapped as firefox extension. Sorting, agenda, highlighting etc is looking good, but it will be too hard for regular users to install it, Mozilla needs to accept it first as official extension.

1 Like

Btw, all this firefox extension does is running this code, there is no need for any other extension for it to work, maybe @Erica would agree to hide deeply in Dynalist settings option ā€œLoad Powerpack (experimental, not officialy supported)ā€ which when checked will load this greasyfork script on page load? This way we can have it on every device and browser. And maybe it can be cached so it will be available offline too?

let s = document.createElement('script'); s.type = 'text/javascript'; s.src = 'https://greasyfork.org/scripts/31392-dynalist-powerpack-2/code/Dynalist%20Powerpack%202.user.js'; document.body.appendChild(s);


edit: On mobile Firefox Nightly itā€™s also possible to inject css into websites with this extension https://addons.mozilla.org/pl/firefox/addon/styl-us/
maybe on stable Firefox version too, but at least for me stylus settings are not visible there

@Piotr thanks for the proposal.

@Shida what do you think of this? (Referring to the reply above)

I propose we add a textbox that users can insert a link to any js plugin. This way the system is generic and can be user-tweaked for anything they need, including powerpack.

7 Likes

That would be awesome :slight_smile:

1 Like

Piotr is there a way to override color-tagā€™s text-color using powerpack?

E.g. using #s|b:#333|c:white

I was hoping to get all white-colored font here

Itā€™s already styled to be white, but jQuery canā€™t use !important in .css() and PP style is overwritten by DL theme in this situation.

try this in stylish, maybe it will work
.Node-contentContainer.has-color { color: inherit; }

didnā€™t work unfortunately, the default color is black text on colored tags for me

so thereā€™s no way to apply higher CSS specificity using powerpack?

On my CSS file I didnā€™t use any color property on any color-tags

not in case of styling specific items with custom styles

well now that I think about it your powerpack is applying a style attribute on a node, I could just use a ancestor selector on those individual color tags

/*Make PowerPacks black background work on unique color tags*/
.Node[style] .Node-contentContainer.has-color.mod-color-label-1,
.Node[style] .Node-contentContainer.has-color.mod-color-label-2{
	color: white !important;
}

it worked out fine :slight_smile:

EDIT: oh wait I messed up all my other color tags now I gotta fix this

this is more specific

/*Make PowerPacks black background work on unique color tags*/
.Node[style^="background: rgb(51, 51, 51)"] .Node-contentContainer.has-color.mod-color-label-1,
.Node[style^="background: rgb(51, 51, 51)"] .Node-contentContainer.has-color.mod-color-label-2{
	color: white !important;
}

works fine now

by the way, do you know how to fix this in powerpack?

When I use #s|b:#333|c:white and add in more nodes it uses black text still

when i reload page it looks correct afterwards

You donā€™t need to reload, you can focus in and out the item with #s|...
I donā€™t have time now to think about it or experiment with it, but was it always working like that? Iā€™m pretty sure that when I released it, the styles were changing automatically on new items. If Iā€™m right then it should be possible to fix this.

Hi, my agenda is not showing anything.

I tried

  • restarting Chrome
  • adding new items with dates (do I have to use a special format?)
  • the console doesnā€™t show anything
  • network tab doesnā€™t show any transfer other than Mixpanel requests

What other info can I provide to help find the cause?

Hi,

do you see your view in powerpack settings after tab refresh? If so, do you see this view on the list in the agenda pane? If not then click this icon

after that you should see list of views, something like this below, click on one of them and it should load


if you still donā€™t see your items then you have problem with your settings, try something like that, the second group of filters (item content contains {dl_date}) will match every date in dynalist format


and remember that you need to reload tab after saving changes in your agenda views