First Last Prev Next    No search results available
Details
: "Tab-Specific Properties ..." Add Option to apply mail se...
Bug#: 26474
: QuickFolders
: General
Status: ASSIGNED
Resolution:
: All
: All
: unspecified
: P3
: enhancement
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: pgnd <pgnet.dev@gmail.com>
Assigned To: Axel Grude <axel.grude@gmail.com>
:

Attachments
4.7.2 prerelease 67 (714.93 KB, application/x-xpinstall)
2018-01-28 05:18, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2018-01-27 17:50
>
> So, for that ONE identity, as above, that's 8 tabs created, 7 of them hidden ...
>
> Perhaps an option in a given tab's PerTabSettings to propagate the From:/ReplyTo: address to ALL subfolders in the hierarchy below the Tab's folder?

QF's "Tab-Specific Properties ..." dialog enables setting a QF Tab's associated
account folder's "From:" header address from the account's default

        Default Email Fields
                From: Account Default Identity

to any existing/valid secondary account identity

        Default Email Fields
                From: Some.other.identity.for.this.account@example.com

For a use case where, for example one has a folder hierarchy

        MAIN_ACCOUNT_IDENTITY@mydomain.com
                Inbox     <======= QF Tab #1
                Sent
                Folder A1
                Folder A2
                ...
                IDENTITY_2@mydomain.com
                        Inbox      <===== QF Tab #2
                                Subfolder B1
                        Sent
                        Folder B2
                                Subfolder B21
                        Folder B3

with two tabs associated with the MAIN & 2nd-ary IDs' Inboxes, it's useful to
be able to extend the association of the 2nd-ary email to all other ID-related
folders.

So, here, checkboxes/functionality that allow selection of

        [x] also apply to subfolders
        [x] also apply to siblings/subfolders

would 'set' all of

                                Subfolder B1
                        Sent
                        Folder B2
                                Subfolder B21
                        Folder B3

in addition to the Tab-associated folder, Inbox.

One issue ... inheritance can get complicated.

It's not immediately clear to be how best to ensure that NEW sibling/child
folders inherit those properties.  Perhaps the immediate PARENT folder
"IDENTITY_2@mydomain.com" gets set as well ... Like I said, not sure yet.
------- Comment #1 From Axel Grude 2018-01-27 18:18:43 -------
(In reply to comment #0)
> >
> > So, for that ONE identity, as above, that's 8 tabs created, 7 of them hidden ...
> >
> > Perhaps an option in a given tab's PerTabSettings to propagate the From:/ReplyTo: address to ALL subfolders in the hierarchy below the Tab's folder?
> 
> So, here, checkboxes/functionality that allow selection of
> 
>         [x] also apply to subfolders
>         [x] also apply to siblings/subfolders

subfolders its pretty clear, but siblings is very unclear. you could
potentially set up 2 folders with contradicting "siblings" rules and wouldn't
even know which one was applicable. With a pareent / child relationship it is
pretty clear: the rule is inherited by child folders but can be overwritten.

So for the moment I propose only to implement the "apply to subfolders" rule.

As regards "root folders" (direct descendants from an account) you can already
set their default identity (in account settings) so it is not so important for
now. Clarity is sometimes more important than versatility.
------- Comment #2 From pgnd 2018-01-27 18:56:07 -------
(In reply to comment #1)
> subfolders its pretty clear, but siblings is very unclear. you could
> potentially set up 2 folders with contradicting "siblings" rules and wouldn't
> even know which one was applicable. With a pareent / child relationship it is
> pretty clear: the rule is inherited by child folders but can be overwritten.
> 
> So for the moment I propose only to implement the "apply to subfolders" rule.

Fair enuf

> As regards "root folders" (direct descendants from an account) you can already
> set their default identity (in account settings) so it is not so important for
> now. Clarity is sometimes more important than versatility.

I'm not seeing what you're referring to ...


If in the example above, I open ONE QF-Tab, for folder:

  IDENTITY_2@mydomain.com
>>  Inbox

and set THAT Inbox-tab's folder to use the 2nd-ary identity in its Tab
settings,
how & where does one set *its* parent folder "IDENTITY_2@mydomain.com" -- NOT
the account root folder, "MAIN_ACCOUNT_IDENTITY@mydomain.com" ! -- to the
2nd-ary ID as well?

Afaict, currently, the only option is to 
 (1) create an additional/separate TAB for folder == "IDENTITY_2@mydomain.com"
 (2) change its IDENTITY in tab settings,
 (3) add the tab to the "Hide ALways" group so it's no longer seen
------- Comment #3 From Axel Grude 2018-01-28 00:54:06 -------
(In reply to comment #2)
> (In reply to comment #1)
> > ...
> >  Clarity is sometimes more important than versatility.
> 
> I'm not seeing what you're referring to ...
> 
> 
> If in the example above, I open ONE QF-Tab, for folder:
> 
>   IDENTITY_2@mydomain.com
> >>  Inbox
> 
> and set THAT Inbox-tab's folder to use the 2nd-ary identity in its Tab
> settings,
> how & where does one set *its* parent folder "IDENTITY_2@mydomain.com" -- NOT
> the account root folder, "MAIN_ACCOUNT_IDENTITY@mydomain.com" ! -- to the
> 2nd-ary ID as well?
> 
> Afaict, currently, the only option is to 
>  (1) create an additional/separate TAB for folder == "IDENTITY_2@mydomain.com"
>  (2) change its IDENTITY in tab settings,
>  (3) add the tab to the "Hide ALways" group so it's no longer seen
> 
This I correct. Just to expand on the concept of "clarity":

Step  (3) is a great workaround if you don't want too many tabs but it's
optional, so let's assume we don't hide it. Imagine thus folder has 50
subfolders and you set one of them to use the "siblings" rule.

At a later stage you might forget which of the 50 child folders has the
siblings rule defined, and hem you might even be tempted to create another rule
on a different sibling to override the behavior (and this might not work as
there 8d no intuitive rule for "more important siblings", unless we invent that
as well). To look at the parent folders seems a lot more intuitive then
visiting all siblings. I am holding to the k.i.s.s. principle because the
siblings rule opens up these uncertainties and needs for the explanation in the
UI so it's too "cluttery".

There me also be a general advantage to creating the parent tab to see whether
any subfolder IDENTITY_2@mydomain.com has received new mail.
------- Comment #4 From Axel Grude 2018-01-28 01:06:21 -------
So just to summarise the algorithm for the new option "apply to subfolders":

Expand the existing code that checks for the identity / "override To: header"
to also go up to the folders parent and iterate the array of QF TABS to check 
for the same rule and then (if no such rule is found)  do this recursively for
the parent's parent folder.

The implementation of this looks relatively straightforward; the main work is
in designing the UI (trying to make the advanced properties tab as compact as
possible) and the usual work for my 17 translators.

(Unrelated to these requiremets) While I am there I might revisit the "To:"
rule: that currently overwrites the recipient even when I hit "reply" which may
not be helpful. In this case, I think of inserting a message box which asks:
do you want to override "to X" with "to Y" 
   [yes] [no] 
------- Comment #5 From Axel Grude 2018-01-28 05:18:31 -------
Created an attachment (id=8366) [details]
4.7.2 prerelease 67

Here is a test version, feature added (only English and German locales are
complete)

To test, you can enable QuickFolders Advanced Settings / Debug Mode and also
the special debug switch (right-click debug checkbox):

extensions.quickfolders.debug.composer = true

this will display additional information in the error console / browser toolbox
console.

Note that in the release I will probably define this feature as Premium content
only (you will need a QF Pro license to use recursive subfolders). Free (as in
beer) users can enable it on subfolders instead. Also note: non premium
versions can only define tab-specific properties on a maximum of 5 QF tabs.
Sorry, I have to live from something :)
------- Comment #6 From pgnd 2018-01-28 09:06:39 -------
(In reply to comment #5)
> Created an attachment (id=8366) [details] [details]
> 4.7.2 prerelease 67
> 
> Here is a test version, feature added (only English and German locales are
> complete)
> 
> To test, you can enable QuickFolders Advanced Settings / Debug Mode and also
> the special debug switch (right-click debug checkbox):
> 
> extensions.quickfolders.debug.composer = true
> 
> this will display additional information in the error console / browser toolbox
> console.

DL'd/installed WIP ext
unHID all HiddenTabs
reset all TabSpecificSettings to defaults
for

        ACCOUNT_FOLDER
                folder1
                folder2
                        inbox
                        test

created a Tab for ACCOUNT_FOLDER
set the From: identity to a 2nd-ary ID
checked [X] Apply to subfolders
hid the tab
selected in folder nav pane

        ACCOUNT_FOLDER>folder2>inbox

clicked-to-compose new message
        VERIFIED that From: == 2nd-ary ID

create a NEW folder

        ACCOUNT_FOLDER
                folder1
                folder2
                        inbox
                        test
                                testsub <=========

selected in folder nav pane

        ACCOUNT_FOLDER>folder2>test>testsub

clicked-to-compose new message
        VERIFIED that From: == 2nd-ary ID

so inheritance of new subs is working

looks good!

> Note that in the release I will probably define this feature as Premium content

+1 WORKSFORME, I've paid for years!
------- Comment #7 From pgnd 2018-01-28 10:47:57 -------
fyi, with the WIP xpi, a Categories pull down appears in my TBird toolbar,
displaying FULL text in the menubar:

https://imgur.com/a/FS3FQ

rather than a (preferred) icon, as with the other QF items next to it.
------- Comment #8 From Axel Grude 2018-01-28 12:11:13 -------
(In reply to comment #7)
> fyi, with the WIP xpi, a Categories pull down appears in my TBird toolbar,
> displaying FULL text in the menubar:
> 
> https://imgur.com/a/FS3FQ
> 
> rather than a (preferred) icon, as with the other QF items next to it.
> 

Go to Advanced Settings, Miscellaneus and check the box

"Collapse Categories"

As reward I'll give you some balloons!

First Last Prev Next    No search results available