Skip to content

Introducing new menu checkbox to show/hide card short id#40

Open
anteldan wants to merge 3 commits into
danielchatfield:masterfrom
anteldan:anteldan-show-card-short-id
Open

Introducing new menu checkbox to show/hide card short id#40
anteldan wants to merge 3 commits into
danielchatfield:masterfrom
anteldan:anteldan-show-card-short-id

Conversation

@anteldan
Copy link
Copy Markdown

Introducing a new "View" menu and its checkbox item "Show card short id".
All trello cards have a "short id" in a span element, which is hidden. CSS class is ".card-short-id hide".
Checking/unchecking "Show card short id" will page.insertCSS a new class ".card-short-id.hide" definition "display: inline-flex; padding-right: .3em;" or "display: none;"
Checkbox state is saved in config.
I never developped with electron, so sorry if page.insertCSS is not the right way and please enhance the code !

Introducing a new "View" menu and its checkbox item "Show card short id".
All trello cards have a "short id" in a span element, which is hidden. CSS class is ".card-short-id hide".
Checking/unchecking "Show card short id" will page.insertCSS a new class ".card-short-id.hide" definition "display: inline-flex; padding-right: .3em;" or "display: none;" 
Checkbox state is saved in config.
I never developped with electron, so sorry if page.insertCSS is not the right way and please enhance the code !
@anteldan anteldan changed the title Introducing new menu checkbox to show/hide card short Introducing new menu checkbox to show/hide card short id Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant