Giter VIP home page Giter VIP logo

tweetduck's Issues

Suggestion: close to tray

Having the program active in the tray is what I value the most in a Twitter client. It would be nice if you could bring this feature back.

Plugin system

Plugins will be folders placed in the /plugins/user/ (with official plugins in /plugins/official/).

Each plugin consists of a .meta file which contains information about the plugin, and at least one of browser.js and notification.js files, which contain the actual script that is ran either in the browser or notification window.

Browser plugins have access to the full library set of TweetDeck (such as jQuery or TD's custom front-end functions), notification plugins can only use vanilla JS. All plugins have access to global variables, including $TD for communication with the C# end.

Here is a rough base of a plugin. All overridden functions except for constructor are empty and do not require a super call.

.meta

[name]
Example Plugin

[description]
This is an example plugin.
It does stuff.

[author]
chylex

[version]
1.0

[requires]
1.2.3

(only name tag is required; the value of requires defaults to wildcard (*) but the program will not load the plugin if an invalid version is provided)

browser.js

constructor(){
  super({
    requiresPageReload: true // reloads page when manually enabled or disabled
  });
}

enabled(){
  // prepare variables, modify global variables, update stylesheets
}

ready(){
  // modify the contents as the page has finished loading, add event listeners
}

disabled(){
  // remove event listeners and revert everything to original state
}

notification.js

constructor(){
  super({
    // currently no options
  });
}

run(){
  // setup everything, ran for every notification
}

This is a very basic plugin system that will be expanded in the future if there is any interest in it. Ideas and feedback appreciated.

Update notification doesn't (but should) use Notification Settings

When checking for TweetDuck updates, the 'Update available' dialog (notification window) is displayed (in my case) on Monitor 2, bottom-left corner, and never goes away, which is not the same as the settings configured in Notifications settings.

My current notification settings are:

  • Bottom-Right
  • Monitor 1 (Explicit)

As a user I expect all notifications to use these settings, unless there are separate settings for each (which seems unnecessary

Update notifications should:

  • Use/inherit Notification Location setting
  • Use/inherit Notification Duration setting
  • Use/inherit Distance From Edge setting
  • Use/Show Notification Timer if enabled in settings

Mute function

Add a Mute option to the program settings and tray context menu to temporarily disable pop-up and sound notifications. Requires the new notification system to be implemented first.

Settings - new options, UI/UX improvements

Post all suggestions for the new Settings menu here. I will be updating the main list over time.

New Options

  • Notification timer countdown toggle
  • Toggle for using the old notification loading system

Improvements

  • Add tooltips to everything
  • Better customization for notification delay
  • Move Export/Import/Defaults to Advanced and use that space for a tooltip tip
  • Add px units to Distance from edge
  • Fix labels

Not seeing that 'second tray icon' for notifying of new tweets/how to enable?

I don't see any mention of it in the settings. Do notifications need to be enabled in a feed for it to work?

Because I'm afraid of them getting in the way while I do a recording, I have alerts and sound notifications off, but I would like to be able to glance at the tray to know whether there have been new tweets since I last checked.

Copy Link Location by right-clicking without focusing a tweet

Right now if you right click the timestamp of a tweet after opening it you can copy link location to get a permalink to the tweet. It would be awesome if you could do this by right-clicking in the blank space of the tweet without focusing first

Custom CSS

Option to inject custom CSS to both the browser and notification window.

Extended tray icon functionality

TODO: Figure out if Microsoft has any documents on tray functionality design.

  • Add context menu to the tray icon (Restore, Close)
  • Either add multiple modes (Disabled, Minimize to Tray, Close to Tray) or find the official design guidelines and use those

Post video files

It's somewhat ironic that you can't upload video files through the TweetDeck webapp but you can via the Twitter web client. Is there any way you could add compatibility with mp4 videos?

Additionally, another feature I really like from the website client is that you can paste pictures directly from the clipboard. Could this be also possible to implement?

Thanks!

Hovering over URLs is impractical

I don't think lengthening URLs when you hover the cursor over links is really useful. The following messages change position all around and it's distracting. I think placing the cursor over the link for a second and showing the full URL in a fading message would be much more comfortable for user experience.

issue

proposal

Links in About TweetDuck

Links in the About TweetDuck pop-up do not do anything when clicked. Just thought you should know :)

Add a combined tray icon action

Minimize to tray and close to tray are nice, but a combination of both would even be better -> Go to tray either on minimize or close.

[Feature Request] Don't change default reply account based on the column

It used to be, if I have a column belonging to @A, and @b is currently my default selected "reply from" account, and I click "reply" from a tweet in @A's column, it replies from @b.

But now it assumes that because the feed is from @A, I want to reply from @A. Is it possible to make it not do this (as a toggleable option), i.e. so it will never change the default acc that I'm replying from based on column?

If it were a toggle per column that would be super awesome (ie have it be the old way for @A home but the new way for Mentions (all accounts) but mostly just the above is what I care about.

Add a process name check for .lock

If the program closes unsuccessfully, the lock file may contain the ID of a newly spawned process, so check the process name to make sure it is TweetD*ck.

Poll support

Add support for creating and viewing Twitter polls (unless Twitter implements the functionality first).

Plugin functionality

Adding a new object to call C# code.

JS functionality

  • $token variable in each plugin to allow plugin-specific method calls

C# functionality

  • string ReadFile(int token, string path, bool cache) opens a file inside the plugin folder* and reads the contents into a string (returns empty string on error of if the file does not exist); if cache is enabled and the file is present in it, the cached value is returned instead
  • bool WriteFile(int token, string path, string contents) opens a file in the plugin folder* and writes the contents into it, returns true on success
  • bool DeleteFile(int token, string path) deletes a file in the plugin folder*, returns true on success

* all paths are relative and children of the plugin content folder (where .meta etc are located; no absolute paths or going above using ..), created automatically if they don't exist

"Minimize to tray on close"

Tweetdeck had the possibility to minimize to tray when you hit the close button.
Is it possible to add this feature also in TweetDick?

When you put this code in code.js before the rule "var initializeTweetDick = function(){" you can see in settings/general the option "Minimize to tray on close".
window.minimizetotray = true; window.deck = { "inApp": function(){ return true; }, "osname": function(){ return "osx"; }, "getWrapperVersion":function(){ return "3.7.0"; }, "getMinimizeToTraySetting":function(){ return window.minimizetotray; }, "setMinimizeToTraySetting":function(){ return window.minimizetotray = !window.minimizetotray; } } TD.util.isWrapperApp.cache.set(undefined,true);
Off course it don't work at the moment .
Here some information about it. http://stackoverflow.com/questions/3737053/cancel-a-winform-minimize http://stackoverflow.com/questions/17681686/minimized-application-showing-above-the-task-bar

Shift + enter to submit tweet

It would be nice if you could use shift + enter (or an equivalent shortcut) to submit a tweet. Not exactly a very important feature, but it'd be nice.

Context menu improvements

  • Clicking on URLs should bring up "Open in browser" and "Copy link to clipboard" (alternatively "Copy link address")
  • Clicking on images should add "Save image as..." and "Copy image URL"

No alerts available

On my system (Win7/64), no notifications are shown and no sound is heard. But when restoring the TweetDuck window the message counter is increased.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.