Convert RB.UploadAttachmentView to TypeScript/spina/Ink.

Review Request #14161 — Created Sept. 12, 2024 and updated

Information

Review Board
master

Reviewers

This change ports the UploadAttachmentView to TypeScript, and changes it
so it now inherits from the new Ink.DialogView.

  • Ran js-tests.
  • Uploaded new file attachments.
  • Uploaded new versions of existing file attachments.
Summary ID
Convert RB.UploadAttachmentView to TypeScript/spina/Ink.
This change ports the UploadAttachmentView to TypeScript, and changes it so it now inherits from the new `Ink.DialogView`. Testing Done: - Ran js-tests. - Uploaded new file attachments. - Uploaded new versions of existing file attachments.
1a0b362020810215208a9c63eb89016dfc9cda49
Description From Last Updated

If we're doing an Ink release alongside 7.0.3, it would be nice to put this into 7.0.3. This'll fix some …

maubinmaubin

I think you meant to say "uploading" instead of "updating"? And maybe it's more apt to say "a file attachment" …

maubinmaubin

Same here.

maubinmaubin

Typo: "eceieved" -> "received"

maubinmaubin
maubin
  1. 
      
  2. Show all issues

    If we're doing an Ink release alongside 7.0.3, it would be nice to put this into 7.0.3. This'll fix some ugliness on mobile where the upload attachment dialog is too big for the screen and gets cut off.

    1. Hmmm, I'm not sure. We'll have to see what Christian wants to do there.

  3. Show all issues

    I think you meant to say "uploading" instead of "updating"? And maybe it's more apt to say "a file attachment" instead of "file attachments" since we can really only upload one attachment at a time from this dialog.

  4. Show all issues

    Same here.

  5. Show all issues

    Typo: "eceieved" -> "received"

  6. 
      
david
Review request changed
Commits:
Summary ID
Convert RB.UploadAttachmentView to TypeScript/spina/Ink.
This change ports the UploadAttachmentView to TypeScript, and changes it so it now inherits from the new `Ink.DialogView`. Testing Done: - Ran js-tests. - Uploaded new file attachments. - Uploaded new versions of existing file attachments.
af3ba609f3806923e93329498b4120946eac6951
Convert RB.UploadAttachmentView to TypeScript/spina/Ink.
This change ports the UploadAttachmentView to TypeScript, and changes it so it now inherits from the new `Ink.DialogView`. Testing Done: - Ran js-tests. - Uploaded new file attachments. - Uploaded new versions of existing file attachments.
1a0b362020810215208a9c63eb89016dfc9cda49

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
maubin
  1. Ship It!
  2.