dreadnaut / bordercolors-d Goto Github PK
View Code? Open in Web Editor NEWA Thunderbird add-on to color-code the compose window based on the selected identity.
License: GNU General Public License v3.0
A Thunderbird add-on to color-code the compose window based on the selected identity.
License: GNU General Public License v3.0
Here's the French translation ;)
Updated translations for 'fr': French (français, langue française):
{
"__WET_GROUP__INFO": { "message": "Add-on information" },
"addonDescription": {
"message": "Affiche une bordure colorée autour de la fenêtre de nouveau message, pour mieux distinguer les différentes identités.",
"description": "Description of the add-on, as it appears in the Add-ons list.",
"hash": "0ac94e4f9e4880ca6f53cd3038a5f1ba"
},
"__WET_GROUP__OPTIONS": { "message": "Options page" },
"heading-color-selector": {
"message": "Assignez une couleur à vos identités",
"description": "The heading above the list of identities, in the options",
"hash": "57abd671dbc4c34f4bcf2a74d20a9b89"
},
"heading-style-selector": {
"message": "Choisissez un style",
"description": "The heading above the list of styles, in the options",
"hash": "a3899dbbe45549708debbeb5da964121"
},
"heading-size-selector": {
"message": "Choisissez la taille de l'effet",
"description": "The heading above the list of style sizes, in the options",
"hash": "c874118b5a422cd1da95d79668242a64"
},
"__WET_GROUP__SIZES": { "message": "Size labels" },
"size-small": {
"message": "Petit",
"description": "Label for the 'small' size option",
"hash": "d0d2f0a67e8380b6d56afd2c519065e8"
},
"size-medium": {
"message": "Moyen",
"description": "Label for the 'medium' size option",
"hash": "caec1707dd0f5d31df8494dfec47fa76"
},
"size-large": {
"message": "Grand",
"description": "Label for the 'large' size option",
"hash": "3c0dd80ba7f83df0abc7e0d65271cde3"
},
"__WET_GROUP__STYLES": { "message": "Style names" },
"style-all-sides": {
"message": "Bordure de chaque côté",
"description": "A border along all four sides of the composer",
"hash": "219934c1083136297b034e5734b405fc"
},
"style-top-and-bottom": {
"message": "Bordure en haut et en bas",
"description": "A border at the top and bottom of the composer",
"hash": "12ce9ee69b2df1897b97b5c1d8d764f1"
},
"style-top": {
"message": "Bordure en haut",
"description": "A border at the top of the composer",
"hash": "c3f37cff75df622003488734973c83c3"
},
"style-left-side-gradient": {
"message": "Dégradé du côté gauche",
"description": "A gradient on the left side of the composer",
"hash": "96d41d3d33d38e4e20cb5ee96135f79a"
},
"style-background-top-right-gradient": {
"message": "Dégradé dans le coin en haut à droite",
"description": "A gradient in the top-right corner of the composer",
"hash": "52d41670cd42d00ac6bc66d8f6f04ab6"
},
"style-background-four-corners-gradient": {
"message": "Dégradé aux quatre coins",
"description": "A gradient in each corner of the composer",
"hash": "6cb3f2506d915cd71d9dff5b3bb795e8"
},
"style-background-bottom-gradient": {
"message": "Dégradé en bas",
"description": "A gradient at the bottom of the composer",
"hash": "65198fbd589445302ecaf2755dfc4348"
},
"style-background": {
"message": "Couleur d'arrière plan",
"description": "The color is applied to the whole background of the composer",
"hash": "61a5d688fc22af610e2fc0636cbf7533"
},
"__WET_LOCALE__": { "message": "fr" }
}
Thundebird 78 introduces limitations to what can be customised in the Compose window. Because of this, I had to drop many of the styles that BorderColors has supported for years. At this point, the only area of the window that we can style is the text editor. However, modern CSS gives us a trove of options.
This issue is here to collect new ideas for styling the compose window based on the selected identity.
Currently supported by the add-on:
Bordercolors D requires changes to work on TB68 - including to replace the xul colorpicker which was removed in TB64.
I amended it locally to work on TB68a on Linux. I added a new manifest.json and made changes to options.xul and options.js Those 3 files are in the link.
I think the earliest version of TB this will work with is 64 (after bug 1489930 fixed) but I've only tested it on 68a, and only on Linux (bearing in mind #1).
Hope you find this useful and can update the ATN version for when 68 is released.
I've linked 1 file to this:
Dave
When I change the Highlight Style and/or the Size of Effect, the change(s) seem(s) to affect only one of my identities. The options window does not make it clear that that will happen. Moreover, how does one switch between accounts, when setting those attributes? Further: what does the little hand symbol mean? I am unsure whether here we have poor UI design or else a bug. Screenshot:
Border Colours 2021.4.1
Thunderbird 78.14 x64
Windows 10 Pro - 21H1 (2009: 19043)
I am using Thunderbird T19.9.1 on Linux MINT 20.3 and I cannot use "bordercolors" because the colors I choose for each email address are not saved. When I restart Thunderbird the colors have been reseted to their default value. I was thinking first it was because I use a the "main password" feature of thunderbird, but removing this password change nothing.
Hi,
With the new TB 91, I cannot send messages anymore while bordercolors-d is active. Simply nothings happens, and the compose window stays open. Disabling bordercolors-d solves the problem. My precise TB version is 91.0.3.
I like the add-on, and I hope there will be a solution. Peter
if I understand correctly, the height of gradient is derived from the "height of email", meaning: not the message window, but the message body itself. while I don't have any idea for the bottom gradient [and it's sometimes not visible, especially with long emails, and unfortunately I've got a lot of them at work - forward of the forward of the forward ... etc. ;)], is it possible to make the upper-right-corner gradient to stay not resized?
I mean - so it can be the very same size no matter how long the message is. that would be great for visibility. now - it sometimes goes way beyond the lower border of the window, and while I scroll the message, I'm revealing the rest of gradient.
The height of the 'Color selectors' window seems to depend on the the number of defined identities. The window apparently accommodates all the defined identities plus any UI elements like buttons. This causes the window to extend past the display border but there is no way to scroll. This makes it impossible to save the border colors.
This window should at least be scrollable, and preferably also resizable with a sticky size.
Hey guys,
Great Add-On! Became especially viable to me, since Identity Chooser Add-On out source their color functionality to this add-on. As Bob pointed out it would be great if the add-on would work under Thunberbird 78.5 and higher. The problem for me is that, the borders are all black. I have tried all forms of borders with no change. I use system colors and I tried both the dark and the light theme.
I use the Dark Theme, but have dark text on a light background set for both reading (General-> language & Appearance -> Colours) and composing (Composition -> HTML Style -> "Use reader's default colours" is UNSET).
The recent update (which includes, "Dark and custom themes support") has broken this, as it just puts the Dark Theme colours into place.
When I have more than one editor window open, switching the identity in one editor changes the style in all open editor windows.
Steps to reproduce:
Have more than one identity configured in Thunderbird with different colors
Open two editor windows
Choose different identity in editor 1
Expected behavior:
Actual behavior:
Hi,
I really like this add-on except that it doesn't quite work the way I need :-)
I (effectively) have only one Thunderbird account and one identity. The default identity within that account is, say, [email protected]. However, I only use the [email protected] address with my close friends. For any other emails (commercial, mailing lists, etc) I make use of catchAll delivery and use addresses like [email protected], [email protected], [email protected], etc. None of these are set up as actual thunderbird "identities". Instead, I use the "Reply from this identity when delivery headers match" feature (also known as the catchAllIdentity feature). [Note: I used to be a very heavy user of the Virtual Identity plugin].
This is fine for replying. However, when I create a new email, it defaults to sending from the default address: [email protected]. As I said, that is fine if I am sending email to my friends, but if I am sending it somewhere else I want to have a reminder that I need to manually change the From address.
BorderColors-D almost does exactly what I want. But I need it to choose the colour based on the From address instead of the thunderbird identity. Is that something you might consider adding?
I realise that it would be hard to manually add every address to the preferences list. In my use case that doesn't matter - I only need the warning colouring for when I use my default identity address [email protected].
Thanks for all your work on this great plugin! Any feedback on this suggestion would be great.
Thuderbird 60.3.3 (32-bit) [Windows 10 - Spanish]
Error de lectura XML: entidad no definida
Ubicación: chrome://bordercolors-d/content/options.xul
Número de línea 41, columna 7:
------^
Hello,
I installed bordercolors-d, the colors are not saved.
Since I installed this plugin, I can no more uninstall any extension!
macOS 12.5
MacBook Pro (13-inch, M1, 2020)
Frame style "Headers, top and bottom" on v1.1.0 in TB for macOS seems not to be working, as no borders are displayed. Tested with the same version in TB for Windows and it works.
Both TB versions are 60.3.1.
With Thunderbird 78.7.0 configured with 8 different butl addresses and different providers. I have the following problem, smtp + error message in sent and received messages they are visible several times. 2 or 3 times the same message sent or received.
If I disable this add-on, the problem disappears completely and everything works normally.
The error is not only with outlook smtp, but also with other providers.
Hello!
Currently, bordercolors-d needs "full, unrestricted access to Thunderbird, and your computer" (like many other useful and great TB extensions), Is it possible (mid-term) to change that?
Explanation from Mozilla:
The extension is using an older technology and has full access to Thunderbird’s internal APIs and does not need to request individual permissions. Up to Thunderbird 68 almost every add-on had this unrestricted access without specifically asking for it. Add-ons request this permission, as long as the new permission based API system does not yet offer the functionality they need. ...
So do I understand it correctly that as of now, the new permission based API system of TB does not offer the functionality needed by bordercolors-d?
Hi,
I installed this in TB 68.11 and I can see the add on. But how do I activate or configure it?
thanks for you time
Hello,
First, thanks for this usefull extension !
I'm planning to use it at work for many workstations, and I would like to know if there is a way to automatically configure it ?
I'm using the Mozilla policies's to install the extension, but I don't find any configuration file or similar that i can deploy into all Thunderbird profils.
Is there a way to do what I'm trying to do ?
Thanks !
I am using Thunderbird version 78.13.0 and the border colors doesn't seem to work. I set it up and restarted but see no changes at all to messages. Am I suppose to do something else to get it to work?
Windows 10 (64-bit)
Thunderbird 68.6.0 (32-bit) 78.6.0 (32-bit)
I just installed this add-on and I cannot assign colors by identity. The box labeled "Assogn colors to your identities" is about 1 line high and is empty.
What am I doing wrong?
Thanks,
Doug
I have several email accounts, and have allocated each with a different colour via the Bordercolors options menu in its Add-ons entry. The border position selected is top and bottom border.
However, when I compose an email from any one of my accounts, the border remains the same colour, at a dark blue, although it is in the correct position. More notably, the colour it shows is not anywhere near the colours I have allocated per email account.
Examples are attached.
I note that you mention elsewhere that there are some bugs needing resolution, but it is not clear whether this particular colour problem is among them.
TB 78.2.2 (64-bit) on SuSE Linux - xfce
Addon version 2020.9.1 (downloaded from here)
Setting the colour by clicking the colour wheel does not work.
Using the colour-picker does. So not serious - maybe only Linux.
Do the prefs have to be accessed from the 3-dot menu, btw? I thought they were missing at first.
On my addon 'Limit non-BCC recipients) they appear as a tab.
Your manifest:
"options_ui": {
"browser_style": true,
"open_in_tab": true,
"page": "pages/options.html"
},
Mine:
"options_ui": {
"page": "prefs.html",
"browser_style" : true,
"chrome_style": true
},
"BorderColors D" will not install as a local file (as bordercolors_d-1.2.0-tb.xpi). Error message is something like "cannot verify addon". Trying it a second time installs it successfully. Not everyone will try a second time.
The title says it all. This add on is excellent and just what I needed but I see that whilst the border shows up on new emails, it does not on replies. Perhaps others would find this optional feature useful as well.
I thought I'd push for some APIs to enable an MX version of this. See:
https://thunderbird.topicbox.com/groups/addons/T0ab9415ec873c186/bordercolors-addon-as-a-mx
The mailextension rewrite did not carry over localised resources. We should re-add them, at least for the Options page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.