Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.66 KB

File metadata and controls

71 lines (52 loc) · 1.66 KB

Approach:

Initial approach changed, new approach: try open file with rust pass it base 64 to js code ✅

Now: implement what is in useWindowListeners

  • next ✅ (still need to fix double call / strictmode?)
  • previous
  • first
  • last
  • save ✅
  • save (+path)
  • new
  • open ✅
  • open multiple

CURRENT ISSUES:

  • need to handle file already named like the file being saved
  • need to fix double call

To Add

  • Message when trying to do something else when one action is currently being executed

  • Display a message when an action finished executing (ex: copied file ...)

  • Drag & drop multiple files

  • Can we display name of file being viewed in the window?

Ideas for the future

  • Current path
  • All paths (list)
  • All medias

Commands:

  • Randomize

  • Sort

  • Multiple windows

    • Informations
    • Multiple images at once

Menu:

  • Pick file type to display: gif, png, jpeg etc

Something --> Select for later Command + D --> Delete Command + F --> Search Command + R --> Reverse Command + P --> Print Need to find a way to allow pop up windows in tauri Command + L --> Panel to visualize/scroll Command + G --> Global Command + something --> Local Command + I --> Display informations Need to find how to add sub windows

Other:

  • Replace Vector of types by an enum
  • instead of returning base64 data, return the whole gif with metadata, name & title etc;

selected paths: multiple: can return multiple paths?

Next:

  • put file encoding in a separate thread so when drag & dropping multiple files we get instant response from the backend
  • return full object multimedia instead of fields