Code Monkey home page Code Monkey logo

Comments (8)

alex-hhh avatar alex-hhh commented on June 15, 2024

I am confused -- "Import from directory..." works pretty much as you describe with the additional step that it shows the directory selector, but it saves the last import directory, so you can just click OK. It will scan the directory, skip files which were already imported and import new files. Is this not working as expected for you?

"Import activity..." uses the Racket get-file function which displays the system dialog box -- on Windows, this will remember the last open directory, but this may not be the case on Linux -- I will look into saving and restoring the last import directory explicitly.

from activitylog2.

misev avatar misev commented on June 15, 2024

Oh I didn't realize this is how "Import from directory..." works! Intuitively I thought it will try to import all files from the directory and overwrite previously imported ones. I guess some sort of manual or contextual help (tooltip on hover or so) would significantly improve getting used to ActivityLog2.

In this case I think it's not really important to save the last used directory for "Import activity...". Linux doesn't seem to remember it on its own, but I don't think it's worth implementing workarounds when "Import from directory..." works like this.

from activitylog2.

alex-hhh avatar alex-hhh commented on June 15, 2024

The Racket GUI library does not support adding tooltips to menu items, so the only option that I see is to rename "import from directory..." to a better name. Other options is to offer some tips at startup for new users and provide some tutorials, but these require considerably more effort...

I am thinking of renaming "Import Activity..." to "Import a Single Activity ..." and "Import from Directory..." to "Import New Activities...".

I would like to avoid the word "Sync", as I always find it confusing -- to me it would mean that the activities are updated to and from ActivityLog2 which is not the case...

from activitylog2.

misev avatar misev commented on June 15, 2024

I am thinking of renaming "Import Activity..." to "Import a Single Activity ..." and "Import from Directory..." to "Import New Activities...".

This sounds clearer to me.
I'd agree that "Sync" is not very suitable.

Does the GUI library support tooltips on other widgets, e.g. the header on the Activities table? There are many shortcuts that may be difficult to recognize for a new user, I could try to add some info on them.

from activitylog2.

alex-hhh avatar alex-hhh commented on June 15, 2024

You mean this header?

header

You can add tooltips to pretty much any widgets (e.g. text boxes and labels), but not to individual parts of the widget (e.g. you cannot add a tooltip for the activity line on which the mouse hovers). Although for the latter, I would need to look into more detail to see if something can be built...

Adding tooltips is relatively simple, but it has to be done in a lot of places (everywhere you want to tooltip to show up). What tooltip messages are you thinking about? I could add one of them as an example, and point you towards how to add the rest, if you want to.

from activitylog2.

misev avatar misev commented on June 15, 2024

No I meant this one, which has many shortened labels that may not be very obvious (e.g. A Decl):

Screenshot_20201110_085724

If you could illustrate how to add one tooltip then I could continue.

from activitylog2.

alex-hhh avatar alex-hhh commented on June 15, 2024

Unfortunately tooltips cannot be attached to the column headers in list views -- the current mechanism only allows attaching a tooltip to a widget not to its sub-parts. You could attach a tooltip to the entire list view, but that is not useful...

There might be a way to add this functionality on top of the list view, but this would be a complex task unfortunately. Still, I'll keep this in mind to investigate when I have some time...

from activitylog2.

alex-hhh avatar alex-hhh commented on June 15, 2024

I have updated the wording for the option to import new activities, and the import single activity will now remember the last directory where it imported from.

I will close this issue, as the tooltips are a separate issue, and the Racket GUI library does not support adding tooltips on the columns of a listview.

from activitylog2.

Related Issues (20)

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.