Opened 14 years ago
Closed 4 years ago
#6621 closed enhancement (fixed)
Improve the Upload Window
Reported by: | Casiope | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 21.04 |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description (last modified by )
The Upload Window needs a rework. I rewrite some sentences but I'm unable to make the code. Someone need to help me for that! :)
/* If 1 new changeset & no comment & 1 request: */ "<strong>{0} object</strong> is uploaded to <strong>a new changeset</strong> using <strong>1 request</strong>." "<strong>{0} objects</strong> are uploaded to <strong>a new changeset</strong> using <strong>1 request</strong>." /* If 1 new changeset & comment & 1 request: */ "<strong>{0} object</strong> is uploaded to <strong>a new changeset</strong> with comment ''{2}'' using <strong>1 request</strong>." "<strong>{0} objects</strong> are uploaded to <strong>a new changeset</strong> with comment ''{2}'' using <strong>1 request</strong>." /* If 1 new changeset & no comment & many requests: */ "<strong>{0} objects</strong> are uploaded to <strong>a new changeset</strong> using <strong>{3} requests</strong>." /* If 1 new changeset & comment & many requests: */ "<strong>{0} objects</strong> are uploaded to <strong>a new changeset</strong> with comment ''{2}'' using <strong>{3} requests</strong>." /* If 1 old changeset & no comment & 1 request: */ "<strong>{0} object</strong> is uploaded to <strong>the open changeset {1}</strong> using <strong>1 request</strong>." "<strong>{0} objects</strong> are uploaded to <strong>the open changeset {1}</strong> using <strong>1 request</strong>." /* If 1 old changeset & comment & 1 request: */ "<strong>{0} object</strong> is uploaded to <strong>the open changeset {1}</strong> with comment ''{2}'' using <strong>1 request</strong>." "<strong>{0} objects</strong> are uploaded to <strong>the open changeset {1}</strong> with comment ''{2}'' using <strong>1 request</strong>." /* If 1 old changeset & no comment & many requests: */ "<strong>{0} objects</strong> are uploaded to <strong>the open changeset {1}</strong> using <strong>{3} requests</strong>." /* If 1 old changeset & comment & many requests: */ "<strong>{0} objects</strong> are uploaded to <strong>the open changeset {1}</strong> with comment ''{2}'' using <strong>{3} requests</strong>." /* If many changesets & no comment & many requests: */ "<strong>{0} objects</strong> are uploaded to <strong>multiple changesets</strong> using <strong>{3} requests</strong>." /* If many changesets & comment & many requests: */ "<strong>{0} objects</strong> are uploaded to <strong>multiple changesets</strong> with comment ''{2}'' using <strong>{3} requests</strong>." /* If no comment --> New window with warning about comment */ /* If many objects are uploaded --> show the ligne "advanced configuration" */ /* Either (1 object is uploaded) --> Hide the line "advanced configuration" */ /* If 1 changeset & changeset is closed after upload: */ "The changeset is going to be <strong>closed</strong> after this upload." /* If 1 changeset & changeset is open after upload: */ "The changeset is <strong>left open</strong> after this upload." /* If many changesets & changesets are closed after upload: */ "The changesets are going to be <strong>closed</strong> after this upload." /* If many changeset & changesets are open after upload: */ "The changesets are <strong>left open</strong> after this upload."
Attachments (1)
Change History (8)
comment:1 by , 14 years ago
Description: | modified (diff) |
---|
comment:2 by , 14 years ago
Description: | modified (diff) |
---|
comment:3 by , 14 years ago
If I see it correctly, your improvement boils down to the following (not easy to see that, though):
- echoing the comment
- combining the number and type (new/open) of changeset
- printing "The changesets are going to be [...]" in case of multiple changesets
Is that correct?
My thoughts:
- Number 1: I don't see the point in printing the comment as (a) the comment is in the text field above anyway, and (b) comments can be very long.
- Number 2: No strict opinion on that. Currently, one gets the some numbers in the first part and the information about what is happening to the changeset in the second part.
- Number 3 is more a cosmetic change, but is very easy to do.
comment:4 by , 7 years ago
Description: | modified (diff) |
---|
comment:5 by , 5 years ago
The Settings dialog was changed and reflect almost all suggestions. The "Advanced" tab still offers all options with only one object to upload. This tab should be completely disabled with only one object to upload.
comment:7 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I tried to format the description to increase readability.