Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a wizard for setting up tracking script + additional options #169

Open
chylex opened this issue Mar 21, 2022 · 4 comments
Open

Add a wizard for setting up tracking script + additional options #169

chylex opened this issue Mar 21, 2022 · 4 comments

Comments

@chylex
Copy link
Owner

chylex commented Mar 21, 2022

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.

@matr3p
Copy link

matr3p commented Jun 21, 2022

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

@chylex
Copy link
Owner Author

chylex commented Jun 21, 2022

That's not relevant to this thread.

@no-trick-pony
Copy link

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.

@chylex
Copy link
Owner Author

chylex commented Sep 26, 2022

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.

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

No branches or pull requests

3 participants