PhotArk
  1. PhotArk
  2. PHOTARK-11

simple ui that allow you to create a new album and upload images to it

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: PhotArk M1
    • Fix Version/s: PhotArk M2
    • Component/s: PhotArk Admin Services
    • Labels:
      None
    1. simple_admin.patch
      47 kB
      Avdhesh Yadav

      Activity

      Hide
      Luciano Resende added a comment -

      Fixed. Simple ui for creating and uploading images is now available.

      Show
      Luciano Resende added a comment - Fixed. Simple ui for creating and uploading images is now available.
      Hide
      Luciano Resende added a comment -

      Initial patch from Avdhesh Yadav committed. Thanks.

      Show
      Luciano Resende added a comment - Initial patch from Avdhesh Yadav committed. Thanks.
      Hide
      Luciano Resende added a comment -

      Comments on the UI

      • Looks like we tried to make the interface a bit sophisticated, requiring multiple steps from the user to create/upload a image... after looking at how multiple photo sites are doing upload, I'd suggest we do a simple photo upload ui, where the user select the images (it would be good to have multi image upload enabled) and on the same page, select the album where the photos would be uploaded to (note that we could use one selection item as 'new album' which would enable a field for the user to type the album name)... Using this approach, we could probably get rid of some of the dojo navigation controls, and stick to the upload pieces only, and avoiding some of the dojo packages that got introduced (e.g digit, dojo/tests, dojox, etc)
      • Another minor comment, is that we could create all admin related pieces in a photark-ui-admin... but I don't have any strong feelings about this for now...

      Comments on the Backend

      Is ArchiveFileExtractor something specific to JCR ? Otherwise it could be moved to PhotArk module or if you think that's not the right place, a until module. Similar comment apply to FileUploader, PhotUploadServlet.... maybe a better place would be to have them on the "photark-ui-admin" module

      Could imageFilter be something more private or a inner class of the album...

      I think we could define some components for some of the upload pieces, like a FileCollection that would interact with the uploadControl... but I guess we could update that in the future...

      I'll start a thread on the dev-list to discuss what we should do next...

      Show
      Luciano Resende added a comment - Comments on the UI Looks like we tried to make the interface a bit sophisticated, requiring multiple steps from the user to create/upload a image... after looking at how multiple photo sites are doing upload, I'd suggest we do a simple photo upload ui, where the user select the images (it would be good to have multi image upload enabled) and on the same page, select the album where the photos would be uploaded to (note that we could use one selection item as 'new album' which would enable a field for the user to type the album name)... Using this approach, we could probably get rid of some of the dojo navigation controls, and stick to the upload pieces only, and avoiding some of the dojo packages that got introduced (e.g digit, dojo/tests, dojox, etc) Another minor comment, is that we could create all admin related pieces in a photark-ui-admin... but I don't have any strong feelings about this for now... Comments on the Backend Is ArchiveFileExtractor something specific to JCR ? Otherwise it could be moved to PhotArk module or if you think that's not the right place, a until module. Similar comment apply to FileUploader, PhotUploadServlet.... maybe a better place would be to have them on the "photark-ui-admin" module Could imageFilter be something more private or a inner class of the album... I think we could define some components for some of the upload pieces, like a FileCollection that would interact with the uploadControl... but I guess we could update that in the future... I'll start a thread on the dev-list to discuss what we should do next...
      Hide
      Avdhesh Yadav added a comment -

      This patch supports a very simple Admin UI.Now Users can created albums and upload images to created albums.archive file upload is also supported with this patch.Users can pack images in a archive(zip,tar etc)..and upload to server.
      Right now Many features are missing from the admin ui. that i will try to fix in comming days.
      Please review this patch and let me know for improvements..

      Show
      Avdhesh Yadav added a comment - This patch supports a very simple Admin UI.Now Users can created albums and upload images to created albums.archive file upload is also supported with this patch.Users can pack images in a archive(zip,tar etc)..and upload to server. Right now Many features are missing from the admin ui. that i will try to fix in comming days. Please review this patch and let me know for improvements..

        People

        • Assignee:
          Unassigned
          Reporter:
          Avdhesh Yadav
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development