Article upload

Issue #83 invalid
Peeter Tinits created an issue

I struggle to understand how article upload works. Particularly the menu items here... menu.articles.upload.enabled = Upload enabled (Upload automatically?) menu.articles.upload = Upload selected (Mark selected articles for upload?)

It uploads all articles that have been changed, and also marked for upload, yes? If this button just marks it, how can I unmark it afterwards if it has been selected for upload.

Or does upload selected, perform the action of upload? In this case, what is the upload enabled menu item for?

In short it seems that the menu item "Upload selected" does not seem to be working the same way as the upload toggle button on the screen. Should it be? Seems like a bug even...

Comments (7)

  1. Andrjus Frantskjavitsius repo owner

    The individual articles can be marked for upload (think "ready"). This does not guarantee upload. If upload is enabled, the application will pick up the articles and upload them.

    Menu item menu.articles.upload marks the selected article with all of its languages for upload. Assuming there was a change.

  2. Peeter Tinits reporter

    Btw, you can't actually select more then one article for marking? How do you mark more than one article (the button on GUI seems to say it's possible).

  3. Andrjus Frantskjavitsius repo owner

    Yes, its a toggle button and it can be used to unmark articles for upload.

    It's not possible to select multiple articles.

    The terminology is very messy here. How do you call a single selection (same quid but different languages)?

  4. Peeter Tinits reporter

    I don't thinkthe unmark works in the menu item, while it does work on the GUI. Neither does the ctrl+shif+u unmark, it only marks it.

    I would use: "Mark the active article for upload in all target languages."

    Or just "Mark the active article for upload" - as I think it will be really rare for anyone to translate into multiple languages at once... though maybe...

  5. Andrjus Frantskjavitsius repo owner

    Tooltip for Upload button: Mark active article(s) for upload (Ctrl+Shift+U).

    It works as expected. User presses Upload and the selected article gets uploaded.

    Works from both using the menu and clicking the button.

    If uploading is disabled, the aticle is marked for upload but not actually uploaded until upload is enabled again.

  6. Peeter Tinits reporter

    Ok, what I meant was, on GUI you can click on it again to unmark an article, but this does not work with keyboard or the menu item in my computer.

    But I'm not sure if it should (e.g. what to do if articles are selected, some of which are marked for upload, others not yet - only unmark them if all of them are already marked? - like "bold" in work or so).

  7. Log in to comment