Discord-History-Tracker icon indicating copy to clipboard operation
Discord-History-Tracker copied to clipboard

Add a wizard for setting up tracking script + additional options

Open chylex opened this issue 2 years ago • 4 comments

Now that the Tracking tab has more space, a wizard for configuring the tracking script could be a much more intuitive way to configure DHT.

I imagine that first time you create a database, the Tracking tab will require answering a few prompts before it shows the "Copy Tracking Script" button. Could look something like this:

  • I want to track incoming messages in a channel (no autoscroll)
  • I want to track messages in channel history (autoscroll)

If the user selects the autoscroll option, then it would ask "How far in history do you want to go":

  • Last tracked message
  • Start of channel
  • Date (+ calendar button to select the date)

Finally, a question "What to do when reaching the end":

  • Stop tracking
  • Go to next channel

After answering all prompts, the "Copy Tracking Script" will appear with final instructions. This tracking script would be pre-configured with the selected options, and would not have any "Settings" dialog on its own. Each database will remember the last configuration when you restart the app.

Removing settings from the tracking script itself might be a mild inconvenience for users who are used to it, but it would simplify the script and allow for new options to be added to the app (for ex. the already mentioned possibility to scroll up until a specific date).

Another improvement would be to allow pasting the tracking script multiple times without having to manually close it via the "X" button. Then you could change the options in the app, copy the tracking script, and paste it immediately with the new options.

chylex avatar Mar 21 '22 12:03 chylex

It doesn't track/save the call/video metadata though. Also pinned message metadata

matr3p avatar Jun 21 '22 15:06 matr3p

That's not relevant to this thread.

chylex avatar Jun 21 '22 18:06 chylex

Would be a great improvement - I am trying to back up some of my servers which have become quite huge - manually scrolling to every "starting message" in every channel and tracking that is very tedious - a general "back up starting from this date onwards" (maybe also with end date) as described here would be a great addition.

no-trick-pony avatar Sep 26 '22 12:09 no-trick-pony

I don't know what you mean by

manually scrolling to every "starting message" in every channel and tracking that is very tedious

DHT doesn't need to scroll to the beginning of the channel, it can stop when it reaches messages it already had in the archive. Everything except for scrolling to a set date is already supported, this issue is mainly about UI.

chylex avatar Sep 26 '22 19:09 chylex